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

Not able to access TFS Portal - TF400898: An Internal Error Occurred

$
0
0

Hello Friends,

I have installed TFS 2015 Update 3 in the month of September 2016, it was working fine all these days. now suddenly i am seeing abnormal behaviour, below are my findings.

1. TFS Scheduled Backup is getting Failed with below error message 

-------------------------------------------------------------------------------------------------------------

[20/12/2016 02:48:50] [Info] Starting transaction log backups
[20/12/2016 02:48:50] [Info] Database Tfs_DefaultCollection parent set is 9859549799213580231
[20/12/2016 02:48:50] [Info] Starting transaction log backup. Server:IRIZIDBLRFILSVR\MSSQLSERVER_TFS, Database:Tfs_DefaultCollection Filename:\\IRIZIDSVR\Team_Shared\Daily TFS Backup\20161208_TFS\Tfs_DefaultCollection_9859550026162818232L.trn
[20/12/2016 02:48:50] [Info] BACKUP LOG [Tfs_DefaultCollection] TO DISK = N'\\IRIZIDSVR\Team_Shared\Daily TFS Backup\20161208_TFS\Tfs_DefaultCollection_9859550026162818232L.trn' WITH NOFORMAT, NOINIT, NOSKIP, REWIND, NOUNLOAD, STATS = 10
[20/12/2016 02:48:50] [Error] 
Exception Message: BACKUP LOG cannot be performed because there is no current database backup.
BACKUP LOG is terminating abnormally. (type SqlException)
SQL Exception Class: 16
SQL Exception Number: 4214
SQL Exception Procedure: 
SQL Exception Line Number: 1
SQL Exception Server: IRIZIDBLRFILSVR\MSSQLSERVER_TFS
SQL Exception State: 1
SQL Error(s):
SQL Error[1]: System.Data.SqlClient.SqlError: BACKUP LOG is terminating abnormally.
    Class: 16
    Number: 3013
    Server: IRIZIDBLRFILSVR\MSSQLSERVER_TFS
    Source: .Net SqlClient Data Provider
    State: 1
    Procedure: 
    Line Number: 1

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


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

[20/12/2016 02:48:50] [Info] Database Tfs_Configuration parent set is 9859550026052300425
[20/12/2016 02:48:50] [Info] Starting transaction log backup. Server:IRIZIDBLRFILSVR\MSSQLSERVER_TFS, Database:Tfs_Configuration Filename:\\IRIZIDSVR\Team_Shared\Daily TFS Backup\20161208_TFS\Tfs_Configuration_9859550026162818232L.trn
[20/12/2016 02:48:50] [Info] BACKUP LOG [Tfs_Configuration] TO DISK = N'\\IRIZIDSVR\Team_Shared\Daily TFS Backup\20161208_TFS\Tfs_Configuration_9859550026162818232L.trn' WITH NOFORMAT, NOINIT, NOSKIP, REWIND, NOUNLOAD, STATS = 10
[20/12/2016 02:49:00] [Error] 
Exception Message: Read on "C:\Program Files (x86)\Microsoft SQL Server\MSSQL11.MSSQLSERVER_TFS\MSSQL\DATA\Tfs_Configuration_log.ldf" failed: 23(Data error (cyclic redundancy check).)
BACKUP LOG is terminating abnormally. (type SqlException)
SQL Exception Class: 16
SQL Exception Number: 3203
SQL Exception Procedure: 
SQL Exception Line Number: 1
SQL Exception Server: IRIZIDBLRFILSVR\MSSQLSERVER_TFS
SQL Exception State: 1
SQL Error(s):
SQL Error[1]: System.Data.SqlClient.SqlError: BACKUP LOG is terminating abnormally.
    Class: 16
    Number: 3013
    Server: IRIZIDBLRFILSVR\MSSQLSERVER_TFS
    Source: .Net SqlClient Data Provider
    State: 1
    Procedure: 
    Line Number: 1

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


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

[20/12/2016 02:49:00] [Info] Finished Transaction log backup set 9859550026162
[Info   @08:19:04.708] Completed TakeFullBackup: Error
[Info   @08:19:04.708] -----------------------------------------------------
[Info   @08:19:04.708] Execution results:
[Info   @08:19:04.709] Overall result: Failure
[Info   @08:19:04.709] Nodes completed: 3
[Info   @08:19:04.709] Nodes succeeded: 2
[Info   @08:19:04.709] Nodes skipped: 0
[Info   @08:19:04.709] Nodes with errors: 1
[Info   @08:19:04.709] Nodes with warnings: 0
[Info   @08:19:04.709] Number of error messages: 1
[Info   @08:19:04.709] Number of warning messages: 0
[Info   @08:19:04.709] Number of info messages: 0
[Error  @08:19:04.713] Activity failed.
[Info   @08:19:04.713] Activity failed and there is no handling of the failure such as rollback

-------------------------------------------------------------------------------------------------------------

2. Code Checkin and Checkout is working fine from dev tool Visual Studio

3. No able to access TFS Portal from browser, getting "TF400898: An Internal Error Occurred." if tried to open the portal

4. If tried to take DB Backup manually from SQL Server then getting "Backup 23(Data error (cyclic redundancy check).) (Microsoft.SqlServer.Smo)" Error for database Tfs_DefaultCollection.

Please help me in resolving these issues

Thanks and Regards


TFS 2017 Team Project with no Project Administrator (Upgraded from 2015 RTM)

$
0
0

hi!

I have a problem with a Team Project on TFS 2017.   Specifically, it has no members in its Project Administrators group.   Further, when I attempt to add a member under any account with any level of permissions, TFS says "You do not have the required permissions to perform this action."    (Displayed on the security web page:

https://<server>/tfs/<collection>/<project>/_admin/_security?_a=members)

My account is in the BUILDIN/Administrators group of the machine, and it is a TFS Administration Console user.   It is a Project Collection Administrator, and has also been placed in all of the TFS groups using TfsSecurity.

None of these permissions allow me to put a user into the project administrators group of that project.   Can you tell me how to work around this issue?   I have an older copy of this collection running under TFS 2015 RTM, and on that server I am allowed to put a user into the project administrators group of that project and remove him with no issues.

Nothing else that I can detect has changed.   Only the TFS version (2015 RTM versus 2017)

Is there a way around this situation?   How can I get a project administrator into that project on TFS 2017 when it currently has no Project Administrator?

Feature request: Use symbols in user story description

$
0
0

It would be nice to easily add symbols to the description of user story. 

In the following example I've used the symbol √  to indicate what is done. I copied the symbol from Word. 



Bug in TFS 2017 Collection Upgrade?

$
0
0

hi, we are doing a "practice upgrade" from TFS 2015 RTM to TFS 2017, (for the second time), and seem to be running into a bug that crashes a collection upgrade.   Bear in mind that there has only been time, so far to reproduce this issue twice, and I will describe what seems to be the steps to reproduce it.

In both run-throughs, (using different collections, but getting the same error in the log when the crash occurred), it only occurred on the _first_ collection upgrade, and I suspect that you have to follow a particular pattern of upgrading in order to get the crash.    Since we always follow this pattern it has happened to us twice now.

First, establish a TFS 2015 RTM server with a few collections.   When you upgrade to 2017, follow this pattern:

While on the old software detach all collections.  Remove the application tier.

Install TFS 2017.  

Configure the application Tier and let 2017 upgrade your configuration database.

Attach the first collection.   Around steps 22-30 it has crashed with the following error at the tail end of the log:

[13:13:45.863] +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[13:13:45.863] Executing step: Add the User Extension License for the attached collection
[13:13:45.863]   Executing step: 'Add the User Extension License for the attached collection' ExtensionLicensing.CopyUserExtensionLicenseToConfigDb (693 of 994)
[13:13:45.880]   Original Server Id: 1d9e3916-d1e4-4295-9bdd-2327b213e27b, Current Server Id : 1d9e3916-d1e4-4295-9bdd-2327b213e27b
[13:13:45.880]   Copy user extension license data back to configuration database from snapshot
[13:13:45.897]   Create temp user extension license table for attach
[13:13:46.100]   Target partition Id: 1, Collection Id: d69b9ea1-a591-44d2-adb9-c622ab8e2b2c
[13:13:46.113]   Getting tables. Table filter: tbl_UserExtensionLicense
[13:13:46.113]   Getting indexes. Table filter: tbl_UserExtensionLicense
[13:13:46.520]   Found 0 indexes. Table filter: tbl_UserExtensionLicense
[13:13:46.757]   Found 0 tables. Table filter: tbl_UserExtensionLicense
[13:13:46.757]   Getting tables. Table filter: tbl_TempUserExtensionLicense
[13:13:46.757]   Getting indexes. Table filter: tbl_TempUserExtensionLicense
[13:13:47.413]   Found 0 indexes. Table filter: tbl_TempUserExtensionLicense
[13:13:47.627]   Found 1 tables. Table filter: tbl_TempUserExtensionLicense
[13:13:47.643]   [Error] Object reference not set to an instance of an object.
[13:13:47.660]   System.NullReferenceException: Object reference not set to an instance of an object.
[13:13:47.660]      at Microsoft.VisualStudio.Services.Licensing.OnPremPlugins.ExtensionLicensingStepPerformer.BulkCopyUserExtensionLicense(ServicingContext servicingContext, IVssRequestContext sourceRequestContext, IVssRequestContext targetRequestContext, Int32 targetPartitionId, Guid collectionId, String targetTableName)
[13:13:47.660]      at Microsoft.VisualStudio.Services.Licensing.OnPremPlugins.ExtensionLicensingStepPerformer.CopyUserExtensionLicenseToConfigDb(IVssRequestContext targetRequestContext, ServicingContext servicingContext)
[13:13:47.660]      at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformHostStep(String servicingOperation, ServicingOperationTarget target, IServicingStep servicingStep, String stepData, ServicingContext servicingContext)
[13:13:47.660]      at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformStep(String servicingOperation, ServicingOperationTarget target, IServicingStep servicingStep, String stepType, String stepData, ServicingContext servicingContext)
[13:13:47.660]      at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformStep(String servicingOperation, ServicingOperationTarget target, String stepType, String stepData, ServicingContext servicingContext)
[13:13:47.660]      at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Int32 stepNumber, Int32 totalSteps)
[13:13:47.660] Step failed: Add the User Extension License for the attached collection. Execution time: 1797 milliseconds.
[13:13:47.660]   [StepDuration] 1.7979332
[13:13:47.673]   [GroupDuration] 40.3609754
[13:13:47.673]   [OperationDuration] 40.867523
[13:13:47.753]   Clearing dictionary, removing all items.

In the first run-through, I restored the collection from backup, and created a new TFS_Configuration database.   Then when I attached, the collection upgraded with no issue.

I  have just discovered that all of my collections are crashing with this same error no matter how many times I restore the databases and attempt the upgrade.   We are in trouble.   At present I know of no way to get around this anymore other than possibly to recreate the TFS_Configuration database.

I'll have to try that to see if it works.   However, it leaves me unsure about possible permissions issues that might become unset as a result of doing this.

Any help would be appreciated.

Can you give me any insights or work-arounds on this issue?

Regards,

Steve Sims

TFS Work Item - ValidUser and ProhibitedValues

$
0
0

I want to create a work item on a project, but only allow one of these items for an individual user.  I have a background process that maintains a global list of users who have a record on the project and I want to use that global list to prevent users from creating a duplicate record.  Here is the xml:

<FieldDefinition name="Person" refname="My.Person" type="String">
  <FROZEN />
  <VALIDUSER  />
  <PROHIBITEDVALUES expanditems="true">
    <GLOBALLIST name="ProjectA Users" />
  </PROHIBITEDVALUES>
</FieldDefinition>

When I have the validuser rule it doesn't work.  If I use an allowedvalues with another (larger) global list it works, but it doesn't act like an identity field (TFS-2015), so the searching and moniker don't show up like a person field should.  My goal is to have the field also handle name changes if possible, therefore I would like to use validuser to help with the identitysync.  I have tried to change the order of the rules in the xml, but this doesn't seem to make a difference.

I have also tried a whenchanged/copy/prohibitedvalues on another hidden field, but that didn't seem to work either.

Any suggestions would be very much appreciated.

Thanks,

Jim

Restore a deleted project in TFS 2015

$
0
0
Can we restore a deleted project in TFS 2015?

TFS web dashboard for multiple projects

$
0
0

Hi,

1)Would anyone provide guidance about how to build a web dashboard for multiple projects at one place

2) Lets say we have a feature to be developed in a project and we have multiple teams to do their own piece to get the feature implemented. How do we get the effective status of that feature? ( Eg : A feature is in Active Status and there are 5 user stories which need to be done by 5 teams independent of each other. One team has the story closed and other four active. Is there a way to extract the status ?Any pointers?)

Thank you in anticipation.


Ka

Unable to connect to TFS using VS.Net

$
0
0

Hello,

I've an active MSDN susbscription. I'm trying to connect to Team Foundation Server using VS.Net 2013 Professional edition but I've been unable to do so using my existing credentials.

When I click on Forgot password, inspite of typing in the correct userId and CAPTCHA content, the login page keeps displaying the following message:

"The user ID you entered does not exist. Please check that you have typed your user ID correctly. "

What am I missing here please?

Please advise asap.

Thanks.

Custom build process template files with git as source control.

$
0
0

Hey!

I'm trying to migrate an old tfvc project into a git project. Moving all the code with the history to git was easy enough and I allready got the development setups working.

The problem I'm having is that we have a lot of custom xaml build process template files that I would want to migrate over to the git process. When I try to save a build definition it's giving me the error:

TF401203: You cannot use a custom template stored in a Git repository for MyBuild. To use a custom template stored in a Git repository, you must first upgrade the build controller SD-build1 and it's build agents to Team Foundation Server 2013 or newer.

What would be my best approach from here? Would it be possible to keep the buildprocess template files in the TFVC project and use them from there or is the only solution to update the build controllers? Also if I have to update the build controllers how destructive of a process is it? I'm doing this side by side with the TFVC development so if upgrading the controller for example breaks the TFVC integration or any of the builds it's just not a possibility.

Automated test case Traceability

$
0
0

Dear Concern,

Currently Am using TFS 2015 .

I Have written Manual test case, and automated the same separately using selenium.

There is a tab name 'Associated Automation' in test case development.

Questions:

1. The tab 'Associated Automation' is disabled by default . WHY?

2. Is there a way i can add the automated test case path and details in TFS , to the corresponding manual test case.

3. How to trace Manual and automated test case .

4. Is there a way , i can choose the run type as Manual or automated.?

regards,

DD

 

tfs- change signin account

$
0
0

hi there,

we are using tfs, to sign-in there i use MyName@abc.com now i want to change it into MyName@xyz.com

may i know how to achieve this?

thanks in advance

TFS 2017 + Sharepoint 2013 + Work Item = Form element cannot contain an element of type Unknown

$
0
0

Hello everyone,

I'm having some problems when i try to add a "New work item" or when i try to "Open a work item" using the sharepoint team site. It doesn't matter the template that i use(Agile, scrum and etc), everytime i get the error 'Form' element cannot contain an element of type 'Unknown' when creating or opening a work item! It's just on the sharepoint team site, if i use the tfs web portal, then everything works, I can create and open work items and the work items created using the tfs web portal appear on the sharepoint team portal as they should, but like i said above i can't open them because of the error.

Image of the problem: http://image.prntscr.com/image/34e6b27d613d4a529cfe2c1c85b0f268.png

The environment:


Machine 1 - TFS 2017 on Windows Server 2012 R2, with MS SQL Server 2014 SP2 + Cumulative update 2(Build 12.0.5522);
Machine 2 - SharePoint 2013 SP1 (with November, 2016, cumulative update) on Windows Server 2012 R2 + TFS 2017 Sharepoint Extension Tools;
Machine 3 - MS SQL Server 2014 SP2 + Cumulative update 2(Build 12.0.5522) on Windows Server 2012 R2 (Used by SharePoint);

/\ this is an upgrade that i did a few days ago from our tfs 2015 update 3 environment, that was also an upgrade from our older tfs 2010 environment, the older tfs 2010 environment didn't have sharepoint! I installed sharepoint after i did the upgrade from TFS 2010 SP1 to TFS 2015 update 3 to test the sharepoint portal because we need to start using it! I did not have any problem with the upgrade from TFS 2010 SP1 to TFS 2015 update 3 and after to TFS 2017(no errors at all during the upgrade)!

Another small problem, is that i don't remember if this issue('Form' element cannot contain an element of type 'Unknown') was happening when i was using the sharepoint team site with TFS 2015 update 3.


Error Loading Saved Query in MS Project 2013

$
0
0

I am trying to set up an integration with MS Project 2013 with TFS 2017 I have not tried this before. so i am not sure if there is a problem with my pc setup or the addin configuration.This is the error i get when trying to open saved query:

Error Converting Value "System.Security.Principal.WindowsIdentity;xxx" to type 'Microsoft.VisualStudio.Identity.Services.IdentityDiscriptor'.Path 'authenticatedUser.descriptor'. line 1 postion 168


I am able to load it from Visual Studio 2015 in the workitems load the Query and then click "Open in Microsoft Office" then choose MS Project. this loads successfully

Change tasks grouping on task backlog and iteration board

$
0
0
I want to change tasks grouping on task backlog and iteration board of the CMMI process template from per requirement to per feature. I tried to follow somehow the steps from this page https://www.visualstudio.com/en-us/docs/work/reference/process-configuration-xml-element, changing the line <TaskBacklog category="Microsoft.TaskCategory" parent="Microsoft.RequirementCategory" pluralName="Tasks" singularName="Task"> to <TaskBacklog category="Microsoft.TaskCategory" parent="Microsoft.FeatureCategory" pluralName="Tasks" singularName="Task">, but both task backlog and iteration board still group tasks by requirement and not by feature, as configured.

Oauth 2.0 and Eclise not working to connect to a Team Foundation.

$
0
0
When I'm adding existing project in Eclipse  TEE plugin my Oauth authorization taking me to my school account, so I put my credentials , school verifies it and then it goes back to original form. Finish button is not highlighted. What am I suppose to do now?

Package Management (nuget feed) extention licensing

$
0
0

Hi!

We have installed Package Management extension in our  on premises TFS 2017 server. On extension install page there was the extension's price - $4/user. On extension's settings page there is another prices table, starting from $10/month for 10 users and so on.  

Cloud Building - Download finished project?

$
0
0
So I am extremely new to using Team Foundation so please inform me if my wording or even my question is not valid. So tonight I installed Visual Studio and Team Foundation Server onto a fresh install of Windows Server 2012 R2. I can successfully write code in my visual studio, publish it, and have it build within the team foundation server. However after that I don't understand the point because I want to download my completed build. For example I built a console application simply to test the building. Now that it has successfully build where do I go to download the finished product. I see parts on there for publishing like web sites and so on but that doesn't help me. From the screenshot posted below how do I do something like download a zip folder of the completed application?

Branch renaming - Binding Error

$
0
0

Hello,

We've created 3 branches for DEV, TEST, and PROD and placed the same source code in each. The branch has the same name as the solution. However when we rename the branch (suffixing with -DEV -TEST -PROD), the build in VS-TFS2015 not only fails saying the folder doesn't exist, but we receive binding errors in Visual Studio when trying to open the project.

The only solution we've found is to hack the .sln file in notepad and rename the project and directory to match the branch name.

What is the suggested approach to promoting source code up through a tiered environment without hacking the .sln file?

Thanks,

Adam Turner


Try to look ahead so you're not forced to look behind.


TFS2017 locale issue

$
0
0

Hi,

we have the following issue with our new TFS2017 Installation:

1. German Windows Installation

2. German Installation of Internet Explorer 11

3. In IE: "Extras/Internet Options/General/Languages: English(USA) on top of the list, second entry is "German"

4. Visual Studio and TFS are all installed in english language (e. g. "tfsserver2017_enu.iso")

5. In our company software developers decided to work in english language, our TFS Profile ("My Profile") is set to locale "English(United States)"


In TFS 2015 everything works fine.


In TFS 2017: selecting "board" on "address/collection/project" leads to the following error:
------------------------------------------------------------------------------------
"Error
The page you are looking for is currently unavailable.
TF20036: The macro  "@heute - 7" is not recognized. Available macros include @Me, @Project, @Today and @CurrentIteration"
------------------------------------------------------------------------------------
("Heute" means "today")

Switching to german language in TFS 2017 profile makes TFS to display the board in german language without error message.
Thats not the same behaviour as TFS2015.
Is there a way to make TFS2017 behave as TFS2015, or is this an issue in TFS2017?


Regards

Lothar

Blocked items on the board...they are no longer clearly visible with traffic sign one-way

$
0
0

How do I get back this visible signal ?!

(TFS 2015)

thx

Viewing all 6687 articles
Browse latest View live