index > Team Foundation Server - Setup > TF10216: Team Foundation services are currently unavailable

TF10216: Team Foundation services are currently unavailable


I finished the TFS install, with a lot of problems. I can connect to the server, however, if I go to "Team Foundation Server Settings | Security" I receive the following errors:

Failed to query the source control global permissions for [SERVER]\Service Accounts

Team Foundation Server foundation does not exist or is not accessible at this time.
Technical information (for administrator)
HTTP code 503: TF30059: Fatal error while initializing web service

I also get error TF30177: Team Project Creation Failed when attempting to create a new project.

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

Event Type: Error
Event Source: TFS Version Control
Event Category: None
Event ID: 3000
Date: 3/31/2006
Time: 11:21:30 AM
User: N/A
Computer: FOUNDATION
Description:
TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.
Technical Information (for the administrative staff):
Date (UTC): 3/31/2006 5:21:30 PM
Machine: FOUNDATION
Application Domain: /LM/W3SVC/3/Root/VersionControl-5-127882992833315790
Assembly: Microsoft.TeamFoundation.VersionControl.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Process Details:
Process Name: w3wp
Process Id: 3536
Thread Id: 4012
Account name: MRGDEV\tfsservice

Detailed Message: TF14000: A critical error occured while generating new download key. Shutting down the current AppDomain
Web Request Details
Url: http://192.6.6.40:8080/VersionControl/v1.0/Administration.asmx [method: GET]
User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Headers: Connection=Keep-Alive&Accept=image%2fgif%2c+image%2fx-xbitmap%2c+image%2fjpeg%2c+image%2fpjpeg%2c+*%2f*&Accept-Encoding=gzip%2c+deflate&Accept-Language=en-us&Authorization=NTLM+TlRMTVNTUAADAAAAGAAYAHwAAAAYABgAlAAAAAwADABIAAAAFAAUAFQAAAAUABQAaAAAAAAAAACsAAAABYKIogUCzg4AAAAPbQByAGcAZABlAHYAdABmAHMAcwBlAHIAdgBpAGMAZQBGAE8AVQBOAEQAQQBUAEkATwBOAJTTleq01W5BAAAAAAAAAAAAAAAAAAAAAAWz3tNjpE3e%2bIySHHE59qdTaXmsKCnQhw%3d%3d&Host=192.6.6.40%3a8080&User-Agent=Mozilla%2f4.0+(compatible%3b+MSIE+6.0%3b+Windows+NT+5.2%3b+SV1%3b+.NET+CLR+1.1.4322%3b+.NET+CLR+2.0.50727)&UA-CPU=x86
Path: /VersionControl/v1.0/Administration.asmx
Local Request: True
Host Address: 192.6.6.40
User: MRGDEV\tfsservice [authentication type: NTLM]

Exception Message: Keyset does not exist
(type CryptographicException)

Exception Stack Trace: at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr)
at System.Security.Cryptography.SafeProvHandle._FreeCSP(IntPtr pProvCtx)
at System.Security.Cryptography.SafeProvHandle.ReleaseHandle()
at System.Runtime.InteropServices.SafeHandle.InternalDispose()
at System.Runtime.InteropServices.SafeHandle.Dispose(Boolean disposing)
at System.Runtime.InteropServices.SafeHandle.Dispose()
at System.Security.Cryptography.RSACryptoServiceProvider.Dispose(Boolean disposing)
at System.Security.Cryptography.AsymmetricAlgorithm.System.IDisposable.Dispose()
at Microsoft.TeamFoundation.VersionControl.Server.Proxy.RequestSignatures.GenerateNewPrivateKey(Int32 keyLength)
at Microsoft.TeamFoundation.VersionControl.Server.AdministrationManager.GenerateRepositoryKey(Int32 keyLength)
at Microsoft.TeamFoundation.VersionControl.Server.Global.Initialize()

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
-----------------




MRG Document Technologies
Chris Lively

Further info:

The problem appears to be related to another issue. I am also getting the following event:

Event Type: Error
Event Source: TFS Version Control
Event Category: None
Event ID: 3000
Date: 3/31/2006
Time: 11:44:14 AM
User: N/A
Computer: FOUNDATION
Description:
TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.
Technical Information (for the administrative staff):
Date (UTC): 3/31/2006 5:44:14 PM
Machine: FOUNDATION
Application Domain: /LM/W3SVC/3/Root/VersionControl-1-127883006456025464
Assembly: Microsoft.TeamFoundation.VersionControl.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Process Details:
Process Name: w3wp
Process Id: 2124
Thread Id: 4044
Account name: MRGDEV\tfsservice

Detailed Message: TF14000: A critical error occured while generating new download key. Shutting down the current AppDomain
Web Request Details
Url: http://192.6.6.40:8080/VersionControl/v1.0/Repository.asmx [method: GET]
User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Headers: Connection=Keep-Alive&Accept=*%2f*&Accept-Encoding=gzip%2c+deflate&Accept-Language=en-us&Authorization=NTLM+TlRMTVNTUAADAAAAGAAYAIIAAAAYABgAmgAAAAwADABIAAAAGgAaAFQAAAAUABQAbgAAAAAAAACyAAAABYKIogUCzg4AAAAPbQByAGcAZABlAHYAYQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBGAE8AVQBOAEQAQQBUAEkATwBOAIjIdob8R%2f92AAAAAAAAAAAAAAAAAAAAADtrKxeZWJCDlPg30xLaLL5bTz9odslS5A%3d%3d&Host=192.6.6.40%3a8080&User-Agent=Mozilla%2f4.0+(compatible%3b+MSIE+6.0%3b+Windows+NT+5.2%3b+SV1%3b+.NET+CLR+1.1.4322%3b+.NET+CLR+2.0.50727)&UA-CPU=x86
Path: /VersionControl/v1.0/Repository.asmx
Local Request: True
Host Address: 192.6.6.40
User: MRGDEV\Administrator [authentication type: NTLM]

Exception Message: Keyset does not exist
(type CryptographicException)

Exception Stack Trace: at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr)
at System.Security.Cryptography.SafeProvHandle._FreeCSP(IntPtr pProvCtx)
at System.Security.Cryptography.SafeProvHandle.ReleaseHandle()
at System.Runtime.InteropServices.SafeHandle.InternalDispose()
at System.Runtime.InteropServices.SafeHandle.Dispose(Boolean disposing)
at System.Runtime.InteropServices.SafeHandle.Dispose()
at System.Security.Cryptography.RSACryptoServiceProvider.Dispose(Boolean disposing)
at System.Security.Cryptography.AsymmetricAlgorithm.System.IDisposable.Dispose()
at Microsoft.TeamFoundation.VersionControl.Server.Proxy.RequestSignatures.GenerateNewPrivateKey(Int32 keyLength)
at Microsoft.TeamFoundation.VersionControl.Server.AdministrationManager.GenerateRepositoryKey(Int32 keyLength)
at Microsoft.TeamFoundation.VersionControl.Server.Global.Initialize()

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.




MRG Document Technologies
Chris Lively

Yet more...

It appears that a MachineKey is being generated in the /all users/application data/microsoft/Crypto/RSA/MachineKeys directory; however, permissions are only enabled for SYSTEM.

(I had to take ownership of one of the files just to see this).

Shouldn't Everyone have rights to read / see it? If so, how would I set that up.




MRG Document Technologies
Chris Lively

Problem solved.

You have to add the TFSService account to the /all users/application data/microsoft/Crypto/RSA/ directory. Be sure to go to the advanced tab and check "allow inheritable permissions from the parent to propagate to this object and all child objects"




MRG Document Technologies
Chris Lively

Hi!

I also have TF10216 error and no idea how to solve it. I already tried everything i knew.

Chris solution doesnt solve my problem.

Thank you

mina_mina

I have the same issue...

I have checked persmissions:

Here is my output from an attempt at creating a project:

---begin Exception entry---
Time: 2006-04-11 09:22:29Z
Module: Engine
Event Description: TF30162: Task "Populate Reports" from Group "Reporting" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: TF30225: Error uploading report : Work Items
Exception Details: The Project Creation Wizard encountered a problem while
creating reports on the SQL Server Reporting Services on basf-sql-02.
The reason for the failure cannot be determined at this time.
Because the operation failed, the wizard was not able to finish
creating the SQL Server Reporting Services site.
Stack Trace:
   at Microsoft.VisualStudio.TeamFoundation.RosettaReportUploader.UploadReport(ProjectCreationContext context, XmlNode report)
   at Microsoft.VisualStudio.TeamFoundation.RosettaReportUploader.HandleCreateReports(ProjectCreationContext context, XmlNode node)
   at Microsoft.VisualStudio.TeamFoundation.RosettaReportUploader.Execute(ProjectCreationContext context, XmlNode taskXml)
   at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
   at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)
--   Inner Exception   --
Exception Type: System.Web.Services.Protocols.SoapException
Exception Message: An internal error occurred on the report server. See the error log for more details. ---> An internal error occurred on the report server. See the error log for more details. ---> EXECUTE permission denied on object 'xp_sqlagent_notify', database 'mssqlsystemresource', schema 'sys'.
SoapException Details: <detail><ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsInternalError</ErrorCode><HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message xmlns="http://www.microsoft.com/sql/reportingservices">An internal error occurred on the report server. See the error log for more details.</Message><HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsInternalError&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=9.00.1399.00</HelpLink><ProductName xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">9.00.1399.00</ProductVersion><ProductLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation xmlns="http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message msrs:ErrorCode="rsInternalError" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsInternalError&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=9.00.1399.00" xmlns:msrs="http://www.microsoft.com/sql/reportingservices">An internal error occurred on the report server. See the error log for more details.</Message><MoreInformation><Source></Source><Message>For more information about this error navigate to the report server on the local server machine, or enable remote errors</Message></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices" /></detail>
Stack Trace:
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.TeamFoundation.Proxy.Reporting.ReportingService.SetCacheOptions(String Report, Boolean CacheReport, ExpirationDefinition Item)
   at Microsoft.VisualStudio.TeamFoundation.RosettaReportUploader.UploadReport(ProjectCreationContext context, XmlNode report)
-- end Inner Exception --
--- end Exception entry ---

 

Any help would be appreciated

David Sloan
Well I can now add a project but am still getting the TF10216: Team Foundation services are currently unavailable when I try to browse to the server:8080 site. It seems that the warehouse DB is having a problem. I have tried several suggestions and still do not have the abilty to connect.
David Sloan

I know have the ability to create a project and everything seems fine until I browse to the http://localhost:8080/Warehouse/v1.0/warehousecontroller.asmx

I then receive the The XML page cannot be displayed

Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.


Invalid at the top level of the document. Error processing resource 'http://localhost:8080/Warehouse/v1.0/warehousecontroll...

TF10216: Team Foundation services are currently unavailable. Try again later. If the problem persists, contact your Team Fou...
How do I get the service to be avaiable?
David Sloan
David,
Have you looked at the Event logs on your foundation server to see what TFS is reporting?



MRG Document Technologies
Chris Lively

Yes:

TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.

Technical Information (for the administrative staff):

Date (UTC): 4/13/2006 6:09:10 AM

Machine: BASF-SQL-02

Application Domain: /LM/W3SVC/3/Root/services-1-127893749426718750

Assembly: Microsoft.TeamFoundation.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727

Process Details:

Process Name: w3wp

Process Id: 3568

Thread Id: 3680

Account name: XXXXXXXXXX

Detailed Message: TF50280: Could not connect to the service at: 'http://basf-sql-02:8080/Warehouse/v1.0/warehousecontroller.asmx'. Check the service configuration.

Full Exception:

The request failed with HTTP status 503: TF30059: Fatal error while initializing web service.

Exception Message: The request failed with HTTP status 503: TF30059: Fatal error while initializing web service. (type WebException)

Exception Stack Trace: at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

at Microsoft.TeamFoundation.Server.NotificationClient.Notify(String eventXml, String tfsIdentityXml, SubscriptionInfo SubscriptionInfo)

TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.

Technical Information (for the administrative staff):

Date (UTC): 4/13/2006 6:09:10 AM

Machine: BASF-SQL-02

Application Domain: /LM/W3SVC/3/Root/services-1-127893749426718750

Assembly: Microsoft.TeamFoundation.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727

Process Details:

Process Name: w3wp

Process Id: 3568

Thread Id: 2120

Account name: xxxxxxxxx

Detailed Message: TF50280: Could not connect to the service at: 'http://basf-sql-02:8080/Warehouse/v1.0/warehousecontroller.asmx'. Check the service configuration.

Full Exception:

The request failed with HTTP status 503: TF30059: Fatal error while initializing web service.

Exception Message: The request failed with HTTP status 503: TF30059: Fatal error while initializing web service. (type WebException)

Exception Stack Trace: at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

at Microsoft.TeamFoundation.Server.NotificationClient.Notify(String eventXml, String tfsIdentityXml, SubscriptionInfo SubscriptionInfo)

David Sloan

Here is what I get when I try to process TFSWarehouse

<Batch xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
<Parallel>
<Process xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Object>
<DatabaseID>TfsWarehouse</DatabaseID>
</Object>
<Type>ProcessFull</Type>
<WriteBackTableCreation>UseExisting</WriteBackTableCreation>
</Process>
</Parallel>
</Batch>
Processing Database 'TfsWarehouse' completed successfully.
Start time: 4/13/2006 1:08:18 PM; End time: 4/13/2006 1:08:18 PM; Duration: 0:00:00
Processing Dimension 'Run Result' completed successfully.
Start time: 4/13/2006 1:08:18 PM; End time: 4/13/2006 1:08:18 PM; Duration: 0:00:00
Processing Dimension Attribute '(All)' completed successfully.
Start time: 4/13/2006 1:08:18 PM; End time: 4/13/2006 1:08:18 PM; Duration: 0:00:00
Processing Dimension Attribute 'Run Result Message' completed successfully.
Start time: 4/13/2006 1:08:18 PM; End time: 4/13/2006 1:08:18 PM; Duration: 0:00:00
SQL queries 1
SELECT
DISTINCT
[Run_x0020_Result].[Run Result Message] AS [Run_x0020_ResultRun_x0020_Result_x0020_Message0_0]
FROM [dbo].[Run Result] AS [Run_x0020_Result]
Processing Dimension Attribute 'Run Result' completed successfully.
Start time: 4/13/2006 1:08:18 PM; End time: 4/13/2006 1:08:18 PM; Duration: 0:00:00
Errors and Warnings from Response
Errors in the high-level relational engine. The data source view does not contain a definition for the '__ID' column in the 'Run_x0020_Result' table or view.
Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'Run Result', Name of 'Run Result' was being processed.
Errors in the OLAP storage engine: An error occurred while the 'Run Result' attribute of the 'Run Result' dimension from the 'TfsWarehouse' database was being processed.

David Sloan

For reference, in case others face a similar issue:

After working directly with David, we were able to solve his problem. An IIS reset resolved the issue around http://localhost:8080/Warehouse/v1.0/warehousecontroller.asmx ; As for the errors around the cube processing, they are due to the warehouse still being defined with an old schema as only SetupWarehouse -o was used during the upgrade from Beta3 to RTM which only rebuilds the Analysis Services database: using SetupWarehouse -Rebuild and running the adapters should be used instead.

Thanks,
Othmane

Othmane Rahmouni-MSFT

I also have this error and I tried an iis reset but it didn't help.

This is the error message:

The XML page cannot be displayed

Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.


Invalid at the top level of the document. Error processing resource 'http://foundation:8080/WorkItemTracking/v1.0/ClientSer...

TF10216: Team Foundation services are currently unavailable. Try again later. If the problem persists, contact your Team Fou...
Any insight would be greatly appreciated :)
Bob Hanson



BobH
BobH

Just to identify what I did try:

Problem solved.

You have to add the TFSService account to the /all users/application data/microsoft/Crypto/RSA/ directory. Be sure to go to the advanced tab and check "allow inheritable permissions from the parent to propagate to this object and all child objects"

No effect

I also tried the suggested iis reset adn it had no effect.

Any help would be greatly appreciated :)

Bob Hanson

BobH

Update on our restore.

I followed the restore to a different system document and it worked great.

I didn't realize that our support staff had not followed that document as I did give them the link.

All is well. Sorry for the false alarm :)

Bob Hanson




BobH
BobH
reply 15

You can use google to search for other answers

 

More Articles

has anybody created a conversion tool that can import bug and tes...
Install error -2130246
Best Possible Business scenario for source control?
Problems with Sql server
Do not have all services for MS SQL to run setup...
Error when accessing Reports / No WareHouse update
Which CTP?
TFS on WS2003 complete configuration tutorial
Best Hard Drive configuration for Single Server Team Foundation S...
Package Load Failure Error every time starting VS2005
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

TFS finding domain users
Project portal on separate tier
Remote Users - How ?
ERROR 26403 but i'm using single server
More on 26204...
Team Foundation Server installation error
Build Failed - When drop location is on …
Error 401 when accessing project portal
Still having problems moving TFS to a ne…
Team Foundation Virtual Server (TFS VPC)
Administrator gets 403 - access denied
26201 Error
TF31002 within Team Explorer
TFs Proxy fails to connect to the team f…
Connecting to Team foundation server

Hot Articles

tf30005 and tf30217
TF30177: Team Project Creation Failed
Upgrade from Beta3 refresh to RTM
Adding files to system path at deployment
Can't access TFS through proxy server
Error 32000 and Error 28100
Problems installing TFS Beta 3 Refresh
TF30177 Error -
Team Foundation Virtual Server (TFS VPC)
Sharepoint Portal Error 2003 Urgent!!!!!
Help cannot connect to http://server:808…
Question concerning TFSSecurity.exe and …
TF30162. Beta 3 refresh installs without…
How to upgrade from expired TFS RC to RTM?
Missing KB912838

Recommend Articles

TF53011 - Not a licensed user
Team Project Creation Faild- not able to…
Beta3 and SSL problem at Report Server a…
Beta 3 Install
TFS and SQL 2005?
I cannot create a team project
TFS Rc installation : "error 28002.…
TFS on WS2003 complete configuration tut…
Sharepoint can't see ReportServer
SQL 2005 Stored Procedures under Team Fo…
Adding files to system path at deployment
Failed to connect the Team Foundation Se…
TFS Beta 3 client issue
windows sharepoint services error
N