Quantcast
Channel: Team Foundation Server - General forum
Viewing all 6687 articles
Browse latest View live

Could not load file or assembly 'Microsoft.TeamFoundation.Server.WebAccess.Requirements'

$
0
0

I recently started getting the above error while trying to access a local installation of TFS 2013; the full error is as follows:

Server Error in '/tfs' Application.

Could not load file or assembly 'Microsoft.TeamFoundation.Server.WebAccess.Requirements' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

Stack Trace: 

[FileLoadException: Could not load file or assembly 'Microsoft.TeamFoundation.Server.WebAccess.Requirements' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]

[FileLoadException: Could not load file or assembly 'Microsoft.TeamFoundation.Server.WebAccess.Requirements, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
   System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
   System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +467
   System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +108
   System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +25
   System.Reflection.Assembly.Load(String assemblyString) +34
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +49

[ConfigurationErrorsException: Could not load file or assembly 'Microsoft.TeamFoundation.Server.WebAccess.Requirements, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +772
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +259
   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +163
   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +227
   System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +76
   System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +331
   System.Web.Compilation.BuildManager.ExecutePreAppStart() +176
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +723

[HttpException (0x80004005): Could not load file or assembly 'Microsoft.TeamFoundation.Server.WebAccess.Requirements, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +557
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +107
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +690


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34248

As far as I'm aware, nothing has changed on the set-up.  Can anyone point me in the right direction for a fix / cause, please?


Work items have to be refreshed to see the changes updated by the server side handler (if it is already open)

$
0
0

I am doing some rollup efforts on work items save which I implemented using server side handlers. So when a child work item gets saved, I will be updating the effort fields in its parent work item. If the parent work item is already opened in the web access, I Need to reload the work item to see the saved changes done by the plugin. I had tried using workItem.syncToLatest() and store.refreshcache() but the work items are not refreshed if they are already opened. Is there any solution available for it?

TF53001: The database operation was canceled by an administrator.

$
0
0

What am I doing wrong? I get this message since today when i try to check in / get latest on my TFS 2013/ VS2013 Environment. I can't find any helpful thread about this message on the Internet.

Maybe someone here can help me?

thanks

Michael

Custom policy deployment problem

$
0
0

I've created a custom policy and deployed it through a VSIX that contains dpkgdef file with following contents:

 

[$RootKey$\TeamFoundation\SourceControl\Checkin Policies]"CommentsPolicy"="$PackageFolder$\CommentsPolicy.dll"

Everything works fine when check-ins are done from Visual Studio but checking-in from command line fails.

tf checkin file.cpp /comment:"comment" /noprompt

TF10139: The following check-in policies have not been satisfied:
Internal error in Comments Policy. Error loading the TeleTrader Comments Policy policy (The policy assembly
'CommentsPolicy, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not registered.).

 

 

TFS 2013 with Access 2007/2010 can't create a local TFS copy

$
0
0

I have been having trouble creating a local TFS version of an Access Database.  I continue to get the message:

"Cannot create a new Microsoft Access database from this source code control project.  It contains neither a Data and Misc. objects file nor a database name file."

I have installed the most recent MSSCCI file appropriate to the versions of software I am using (Visual Studio 2013, TFS 2013, Access 2007 (I tried 2010 and got the same thing as well)).

I have read that the issues might have something to do with the current version of MSSCCI (via microsoft) - and that the previous version of it will work (12.0.60923.0) - but I can't find it anywhere!  If I could get the previous version.. great!?! ...but I am hoping that there is another solution involving the most recent MSSCCI version!

see: https://visualstudiogallery.msdn.microsoft.com/06c8e056-7f77-4a5c-9b8b-49318c143df8/view/Discussions

HELP!!



Branching across projects

$
0
0

Hi,

Im currently working on a project where we will be migrating various source control systems to a single TFS 2013 instance.

One of the issues we have is, that we have a lot of systems in maintenance projects. They run on various process templates that suits the individual project.

Whenever we have a business project, they want to use their preferred process template and that might vary from the system template. Also the business projects typically work on more that one system.

So the idea is that we create a system project for each system with the process template they prefer. We then create a business project whenever that is needed using the process template that suits the project and then branch the code from each system project into the business project.

I have talked to different "experts" on tfs and they said this was not "Best Practice"... I haven't been able to verify that, but I cannot find anything that says differently. What is the best practice for running a project with different systems? Is there any best practices reagarding this?

Kind regards,

Kaj


MCSD

TFS Data Base Migration to New Server

$
0
0

Hi ,

we have requirement to change TFS Database server to other server. Application server remains the same.

Followed Following steps described in blog

http://blogs.msdn.com/b/tfssetup/archive/2014/05/15/migrating-team-foundation-server-databases.aspx#comments

we have completed migration using following steps but when trying to access TFS server URL it's not working all services are running properly.

1) Stopped Serives using below commands

  • IISRESET /stop
  •  TfsServiceControl quiesce

2) Taken DB Backup from OLD server and restored in New Server

3) Excuted RemaDBS command using below syntax and got success message.

TFSConfig RemapDBs /DatabaseName:ServerName;DatabaseName/SQLInstances:ServerName1,ServerName2
[/AnalysisInstance:ServerName] [/AnalysisDatabaseName:DatabaseName]

4) Executed ResetOwner Command and got success message

Syntax:TFSConfig Accounts /ResetOwner /SQLInstance:ServerName/DatabaseName:DatabaseName

5) Executed RegisterDB Command and got success

Syntax:TFSConfig RegisterDB /SQLInstance:ServerName/databaseName: DatabaseName

Not executed following command to update service account :

Not sure which service "account name" to use actually (Application Tier summary its showing NT Authority\Network service)

TfsConfig Accounts /add /AccountType:ApplicationTier/account:AccountName
/SQLInstance:
ServerName /DatabaseName:DatabaseName

Please let me know how I need to execute this command using Network service.

All completing 5 steps described above tried accessing TFS server from IE and Visual Studio it's not working.

Able to open "Team Foundation Administration Console" Application Tier it showing all the details and in Project Collection able to see New SQL Server Instance name.

Why not able to access TFS from IE & Visual Studio is it problem with Service Account which I have not executed? Please help me on this ..

if it is problem with TFS service account how to execute above command to update service account with Network service?

TFS Web Services

$
0
0

Hi everyone,

I need to develop an SSIS package to integrate our TFS server to other legacy systems. To do it, I have to use the ClientService3SoapClient web service. Unfortunately, I cannot find any documentation about this web service and I'm writing code by trial and error. 

I wrote the following piece of code as example, but the problem is that I cannot even define the variables that  I have to pass to WS. Defining variables that just compile my code, a lot of exception occurs (such as "metadata" definition or TF51313: The request ID is incorrect or not recognized).

Anyone has an idea about this WS(documentation should be the best)?

Plus, the query that I wrote in the code is in this format 

 query = GetElement(@"<Group GroupOperator='And'><Expression Column='System.WorkItemType' FieldType='16' Operator='equals'><String>Bug</String></Expression></Group>");


, but I would like to use the wiql format 

<?xml version="1.0" encoding="utf-8"?><WorkItemQuery Version="1"><TeamFoundationServer>http://[serveraddress]:8080/tfs/defaultcollection</TeamFoundationServer><TeamProject>Project_1</TeamProject><Wiql>SELECT [System.Id], [System.WorkItemType], [System.Title] FROM WorkItems WHERE [System.WorkItemType] = 'Bug' ORDER BY [System.Id] </Wiql></WorkItemQuery>

Does it possible?

using System;
using System.Data;
using System.Text;
using System.Net;
using MyDemoWebService.WebReference4;
using System.Xml;
//using Microsoft.Teamfoundation.Client;

namespace MyDemoWebService
{
    class Program
    {
        static void Main(string[] args)
        {
            WCFCall(args);
            // ASMXCall(args);
        }

        public static void ASMXCall(string[] args)
        {
            ClientService3 service = new ClientService3();
            DateTime d = new DateTime();
            string dbStamp = "";
            DataSet ds = new DataSet();
            service.QueryWorkitems(null, null, false, null, out d, out dbStamp, out ds);
        }
        static void WCFCall(string[] args)
        {


            ServiceReference.ClientService3SoapClient client = new ServiceReference.ClientService3SoapClient();

            client.ClientCredentials.Windows.ClientCredential = CredentialCache.DefaultNetworkCredentials;

            Guid guid = new Guid();
            ServiceReference.RequestHeader ReqHeader = new ServiceReference.RequestHeader();
            System.Xml.XmlElement  query ; //= new System.Xml.XmlElement();
            ServiceReference.QuerySortOrderEntry singlesort = new ServiceReference.QuerySortOrderEntry();
            ServiceReference.QuerySortOrderEntry[] sort = new ServiceReference.QuerySortOrderEntry[1];

            bool useMaster = false ;
            ServiceReference.MetadataTableHaveEntry singlemetadataHave = new ServiceReference.MetadataTableHaveEntry();
            ServiceReference.MetadataTableHaveEntry[] metadataHave = new ServiceReference.MetadataTableHaveEntry[1];
            DateTime data = new DateTime();
            String dbStamp; // new String();
            System.Data.DataSet metadata = new System.Data.DataSet();

            //sort[0].Ascending = true;
            System.Xml.XmlDocument myquery = new System.Xml.XmlDocument();
            // myquery.Load("<TeamFoundationServer>http://[serveraddress]:8080/tfs/defaultcollection</TeamFoundationServer><TeamProject>ALM</TeamProject>	<Wiql>SELECT [System.Id] FROM WorkItems WHERE [System.WorkItemType] = 'Bug' </Wiql>");
            string xml = "";
            ReqHeader.Id = "1";
            singlesort.ColumnName = "Id";
            sort[0] = singlesort;

            query = GetElement(@"<Group GroupOperator='And'><Expression Column='System.WorkItemType' FieldType='16' Operator='equals'><String>Bug</String></Expression></Group>");

            singlemetadataHave.TableName = "WorkItems";
            metadataHave[0] = singlemetadataHave;


            client.QueryWorkitems(ReqHeader, query, sort, useMaster, metadataHave, out data, out dbStamp, out metadata);


        }

        private static XmlElement GetElement(string xml)
        {
            XmlDocument doc = new XmlDocument();
            doc.LoadXml(xml);
            return doc.DocumentElement;
        }
    }
}

Thanks in advance for any suggestion that you can provide me.

Regards,

Paolo




How to reduce line-feeds in a column of an SSRS Report

$
0
0

Hi ,

I am having tabular format of an SSRS Report  , but for description column it is including extra line feeds to every line of an description (which is not in Work item description ) .

Please let me know how to remove extra line feeds which i am getting in SSRS Report . 

Thanks & Regards

Visual Studio running slow, previous app-tier server configured

$
0
0
A team member who has used TFS over the course of three upgrades and server migrations and a Windows account change of her own is having Visual Studio slowness and TFS configuration issues.  A previous app-tier server keeps appearing in her LocationServiceData.config file, even after clearing the cache and AppData directories and running devenv /resetuserdata.

Any way to stop the renaming of a Team?

$
0
0

We have implemented the use of the Team field versus having it joined with the AreaPath. We use this Team field for a number of things, queries, reports, etc. Is there any way we could prevent a Team Admin from renaming their team? Our team names are assigned and renaming them can end up causing us a bunch of problems on the reporting side.

Do we really need JOB extension to execute server plugin?

$
0
0

Hi I have created a server plugin to implement some rollup efforts and have installed in production server in a dead team project (not used by all - just for testing). I came across the post for asynchronous execution of this plugin as a separate thread using TFS JOB Extensions.

http://blogs.microsoft.co.il/assafstone/2011/07/29/how-to-write-a-robust-tfs-server-plugin-with-job-extensions/

We are using only one server plugin which handles the rollup of efforts automation from child to parent for different work items. I rather had a doubt after seeing this post do we really need to implement this job extension for good performance. If yes, please provide the link for the detailed documentation to proceed on like step by step procedure to create the job extension for this plugin and where the rollup automation code need to be placed in plugin or job extension? How to test and install the both? Experienced guys, please comment on it.

Thanks

Divya

Build Agents arbitrarily fail

$
0
0
I haven't had any updates other than Windows 2008 R2 patches updated on my TFS server. I am running TFS2012 Update4 when I try to perform a build it's failing most of the time. Then when I try it several times it will eventually work. Attached is a screen shot can anyone assist? PLEASE this is getting my developers pretty upset!

Russ Penman

TF400893: Team Foundation Server services are not available.

$
0
0

Hi Gang

Am getting

TF400893: Team Foundation Server services are not available. This is most likely caused by a network error. Please check your connection and try again.

consistently when trying to access TFS2012 Web Access.  I'm on the same domain as the server and able to login however as soon as I try and access a query it asks me to log in again and then presents me with the above message.

Any thoughts am trying to get as many ports open as possible however security's pretty tight here.

Regards

TFS Power Tool 2013 Process Editor won't launch

$
0
0

I installed VSTF 2013 (Team Explorer for Visual Studio 2013) and also TFS Power Tool (12.0).  I rebooted after installing and then launched VSTF successfully and connected to my Team Project successfully.  I then go to ""Tools>Process Editor>Work Item Types>Open WIT from Server" and nothing happens.  Tried uninstalling/reinstalling both VSTF and Power Tool and still same behavior.  TFS Process Template Editor is also installed.  Running on Windows 8.1.  Can anyone help me?



TFS DB Server Migration

$
0
0

Hi ,

we have requirement to change TFS Database server to other server. Application server remains the same.

Followed Following steps described in blog

http://blogs.msdn.com/b/tfssetup/archive/2014/05/15/migrating-team-foundation-server-databases.aspx#comments

we have completed migration using following steps but when trying to access TFS server URL/ accessing TFS from Visual Studio it's not working( showingHTTP Error 403.14 - Forbidden) all services are running properly.

Steps I followed

1) Stopped Serives using below commands

  • IISRESET /stop
  •  TfsServiceControl quiesce

2) Taken DB Backup from OLD server and restored in New Server

3) Executed RemapDBS command using below syntax and got success message.

TFSConfig RemapDBs /DatabaseName:ServerName;DatabaseName/SQLInstances:ServerName1,ServerName2
[/AnalysisInstance:ServerName] [/AnalysisDatabaseName:DatabaseName]

4) Executed ResetOwner Command and got success message

Syntax:TFSConfig Accounts /ResetOwner /SQLInstance:ServerName/DatabaseName:DatabaseName

5) Executed RegisterDB Command and got success

Syntax:TFSConfig RegisterDB /SQLInstance:ServerName/databaseName: DatabaseName

6)Updated Service account using below command and got success

TfsConfig Accounts /add /AccountType:ApplicationTier /account:"NT Authority\Network Service"

/SQLInstance:<SQLInstancename> \FE01DEV /DatabaseName:Tfs_Configuration

7) Restarted IIS and TFS Services

  • TFSServiceControl unquiesce

All completing6steps described above tried accessing TFS server from IE and Visual Studio it's not working.

Able to open "Team Foundation Administration Console" Application Tier it showing all the details and in Project Collection able to see New SQL Server Instance name.

Why not able to access TFS from IE & Visual Studiowhat will be the problem?

Please help me on this ..It's very important ..

Administration Console Images:



BACKUP detected corruption in the database log

$
0
0

Hi,

I'm using TFS 2013.upadte4 Express and  recently I tried to take a full backup and I get the following error message: Exception Message: BACKUP detected corruption in the database log. Check the errorlog for more information.

I don't understand help please !!!

[13/04/2015 08:30:00] [Info] Requested Backup Job: Full
[13/04/2015 08:30:00] [Info] -------------------------------------------------------------------
[13/04/2015 08:30:00] [Info] Jobs Requested: Full. Completed:None. To Run:Full.
[13/04/2015 08:30:00] [Info] RunFullBackupJob
[13/04/2015 08:30:00] [Info] Scanning configuration for new DBs
[13/04/2015 08:30:00] [Info] BackupSettings changed ? False
[13/04/2015 08:30:00] [Info] starting full backups
[13/04/2015 08:30:00] [Info] Taking Full Backup server:NAME-SERVER\SqlExpress database:Tfs_Configuration filename:\\NAME-SERVER\BackUp\Tfs_Configuration_9859017142862378099F.bak
[13/04/2015 08:30:00] [Info] BACKUP DATABASE [Tfs_Configuration] TO DISK = N'\\NAME-SERVER\BackUp\Tfs_Configuration_9859017142862378099F.bak' WITH NOFORMAT, NOINIT, NOSKIP, REWIND, NOUNLOAD, STATS = 10
[13/04/2015 08:30:06] [Info] Backup Complete for database Tfs_Configuration
[13/04/2015 08:30:06] [Info] Finished Full Backup server:NAME-SERVER\SqlExpress database:Tfs_Configuration filename:\\NAME-SERVER\BackUp\Tfs_Configuration_9859017142862378099F.bak
[13/04/2015 08:30:06] [Info] Taking Full Backup server:NAME-SERVER\SqlExpress database:Tfs_DefaultCollection filename:\\NAME_SERVER\BackUp\Tfs_DefaultCollection_9859017142862378099F.bak
[13/04/2015 08:30:06] [Info] BACKUP DATABASE [Tfs_DefaultCollection] TO DISK = N'\\NAME-SERVER\BackUp\Tfs_DefaultCollection_9859017142862378099F.bak' WITH NOFORMAT, NOINIT, NOSKIP, REWIND, NOUNLOAD, STATS = 10
[13/04/2015 08:30:21] [Info] Backup Complete for database Tfs_DefaultCollection
[13/04/2015 08:30:21] [Info] Finished Full Backup server:NAME-SERVER\SqlExpress database:Tfs_DefaultCollection filename:\\NAME-SERVER\BackUp\Tfs_DefaultCollection_9859017142862378099F.bak
[13/04/2015 08:30:21] [Info] Taking Full Backup server:NAME-SERVER\SqlExpress database:Tfs_DelphiCollection filename:\\NAME-SERVER\BackUp\Tfs_DelphiCollection_9859017142862378099F.bak
[13/04/2015 08:30:21] [Info] BACKUP DATABASE [Tfs_DelphiCollection] TO DISK = N'\\NAME-SERVER\BackUp\Tfs_DelphiCollection_9859017142862378099F.bak' WITH NOFORMAT, NOINIT, NOSKIP, REWIND, NOUNLOAD, STATS = 10
[13/04/2015 08:30:29] [Info] Backup Complete for database Tfs_DelphiCollection
[13/04/2015 08:30:29] [Info] Finished Full Backup server:NAME-SERVER\SqlExpress database:Tfs_DelphiCollection filename:\\NAME-SERVER\BackUp\Tfs_DelphiCollection_9859017142862378099F.bak
[13/04/2015 08:30:29] [Info] Finished Full backup set 9859017142862378099
[13/04/2015 08:30:29] [Info] Marking TFS databases
[13/04/2015 08:30:29] [Info] Executing on Tfs_DefaultCollection: EXEC prc_SetTransactionMark TfsMarkTfpt

[13/04/2015 08:30:29] [Info] Executing on Tfs_DelphiCollection: EXEC prc_SetTransactionMark TfsMarkTfpt

[13/04/2015 08:30:29] [Info] Executing on Tfs_Configuration: EXEC prc_SetTransactionMark TfsMarkTfpt

[13/04/2015 08:30:29] [Info] Starting transactional backups
[13/04/2015 08:30:29] [Info] Database Tfs_DefaultCollection parent set is 9859017142862378099
[13/04/2015 08:30:29] [Info] Starting Transactional backup server:NAME-SERVER\SqlExpress database:Tfs_DefaultCollection filename:\\NAME-SERVER\BackUp\Tfs_DefaultCollection_9859017143145586417L.trn
[13/04/2015 08:30:29] [Info] BACKUP LOG [Tfs_DefaultCollection] TO DISK = N'\\NAME-SERVER\BackUp\Tfs_DefaultCollection_9859017143145586417L.trn' WITH NOFORMAT, NOINIT, NOSKIP, REWIND, NOUNLOAD, STATS = 10
[13/04/2015 08:30:29] [Error] 
Exception Message: BACKUP detected corruption in the database log. Check the errorlog for more information.
BACKUP LOG is terminating abnormally. (type SqlException)
SQL Exception Class: 16
SQL Exception Number: 3049
SQL Exception Procedure: 
SQL Exception Line Number: 1
SQL Exception Server: NAME-SERVER\SqlExpress
SQL Exception State: 1
SQL Error(s):
SQL Error[1]: System.Data.SqlClient.SqlError: BACKUP LOG is terminating abnormally.
    Class: 16
    Number: 3013
    Server: NAME-SERVER\SqlExpress
    Source: .Net SqlClient Data Provider
    State: 1
    Procedure: 
    Line Number: 1

Exception Data Dictionary:
HelpLink.ProdName = Microsoft SQL Server
HelpLink.EvtSrc = MSSQLServer
HelpLink.EvtID = 3049
HelpLink.BaseHelpUrl = http://go.microsoft.com/fwlink
HelpLink.LinkId = 20476


Exception Stack Trace:    at Microsoft.VisualStudio.Services.Configuration.SqlDatabaseBackup.Backup(ISqlConnectionInfo connectionInfo)
   at Microsoft.TeamFoundation.Admin.Jobs.DatabaseBackupJob.TakeTransactionalBackupOfSingleDatabase(TeamFoundationRequestContext requestContext, String dataSource, String databaseName, String logFileName, ITFLogger logger)
   at Microsoft.TeamFoundation.Admin.Jobs.DatabaseBackupJob.TakeTransactionalBackups(TeamFoundationRequestContext requestContext, BackupSettings settings, ITFLogger logger)

[13/04/2015 08:30:29] [Info] Database Tfs_DelphiCollection parent set is 9859017142862378099
[13/04/2015 08:30:29] [Info] Starting Transactional backup server:NAME-SERVER\SqlExpress database:Tfs_DelphiCollection filename:\\NAME-SERVER\BackUp\Tfs_DelphiCollection_9859017143145586417L.trn
[13/04/2015 08:30:29] [Info] BACKUP LOG [Tfs_DelphiCollection] TO DISK = N'\\NAME-SERVER\BackUp\Tfs_DelphiCollection_9859017143145586417L.trn' WITH NOFORMAT, NOINIT, NOSKIP, REWIND, NOUNLOAD, STATS = 10
[13/04/2015 08:30:29] [Info] Backup Complete for database Tfs_DelphiCollection
[13/04/2015 08:30:29] [Info] Completed Transactional backup server:NAME-SERVER\SqlExpress database:Tfs_DelphiCollection filename:\\NAME-SERVER\BackUp\Tfs_DelphiCollection_9859017143145586417L.trn
[13/04/2015 08:30:29] [Info] Database Tfs_Configuration parent set is 9859017142862378099
[13/04/2015 08:30:29] [Info] Starting Transactional backup server:NAME-SERVER\SqlExpress database:Tfs_Configuration filename:\\NAME-SERVER\BackUp\Tfs_Configuration_9859017143145586417L.trn
[13/04/2015 08:30:29] [Info] BACKUP LOG [Tfs_Configuration] TO DISK = N'\\NAME-SERVER\BackUp\Tfs_Configuration_9859017143145586417L.trn' WITH NOFORMAT, NOINIT, NOSKIP, REWIND, NOUNLOAD, STATS = 10
[13/04/2015 08:30:29] [Error] 
Exception Message: BACKUP detected corruption in the database log. Check the errorlog for more information.
BACKUP LOG is terminating abnormally. (type SqlException)
SQL Exception Class: 16
SQL Exception Number: 3049
SQL Exception Procedure: 
SQL Exception Line Number: 1
SQL Exception Server: NAME-SERVER\SqlExpress
SQL Exception State: 1
SQL Error(s):
SQL Error[1]: System.Data.SqlClient.SqlError: BACKUP LOG is terminating abnormally.
    Class: 16
    Number: 3013
    Server:NAME-SERVER\SqlExpress
    Source: .Net SqlClient Data Provider
    State: 1
    Procedure: 
    Line Number: 1

Exception Data Dictionary:
HelpLink.ProdName = Microsoft SQL Server
HelpLink.EvtSrc = MSSQLServer
HelpLink.EvtID = 3049
HelpLink.BaseHelpUrl = http://go.microsoft.com/fwlink
HelpLink.LinkId = 20476


Exception Stack Trace:    at Microsoft.VisualStudio.Services.Configuration.SqlDatabaseBackup.Backup(ISqlConnectionInfo connectionInfo)
   at Microsoft.TeamFoundation.Admin.Jobs.DatabaseBackupJob.TakeTransactionalBackupOfSingleDatabase(TeamFoundationRequestContext requestContext, String dataSource, String databaseName, String logFileName, ITFLogger logger)
   at Microsoft.TeamFoundation.Admin.Jobs.DatabaseBackupJob.TakeTransactionalBackups(TeamFoundationRequestContext requestContext, BackupSettings settings, ITFLogger logger)

[13/04/2015 08:30:29] [Info] Finished Transactional backup set 9859017143145586417
[13/04/2015 08:30:29] [Info] -------------------------------------------------------------------
[13/04/2015 08:30:29] [Info] Jobs Requested: None. Completed:Full, Transactional. To Run:None.
[13/04/2015 08:30:29] [Info] Backup Job Finished. Completed: Full, Transactional. Result = Failed



TFS not returning search results

$
0
0

Hi,

We are trying to use the search function in TFS to find work items based on certain key words, however TFS never returns any results for some team project even if we know for sure that the search words appear in Work Item titles eg.

Please help to resolve the issue.

TFS Data Bases to New Server

$
0
0

Hi ,

we are having TFS 2013 version ..we need to migrate only TFS database server to new server. Please let me know the steps for doing this ..need to restore databases from existing server to new server and Need to point TFS application to Point to New Data Base Server (we don't use Share Point) where to chance the connection string to point to new server..

Regards,

Naveen M

Prevent work item change alert for stack rank field change

$
0
0

I have a work item change alert set up to alert me any time a work item assigned to or created by me is changed, but this is causing me to get alerts when the Stack Rank field is changed.  See the note below from our sys admin team.

"Any new item in TFS is assigned a number (globally unique to all items in TFS).  When we sort our backlog to prioritize deployments based on date, it changes that global number.  Since this satisfies the email alert condition that an item has ‘changed,’ it sends an email."

Is it possible to prevent alerts from being sent if only the Stack Rank field is changed?  Is there something else I'm missing here?

Thanks.

Viewing all 6687 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>