This one comes from Vimal: You may notice an error message (given below) appearing in the version control, work item, work item templates. This result in Warehouse not processing, and errors occur while using source control

TF30045: The instance information has not been configured or is not available for this Team foundation server. Please contact your team foundation server administrator

You may also notice the following error in the event log whenever the TFS task scheduler is restarted

Event Type: Error
Event Source: TFS Scheduler
Event Category: None
Event ID: 3059
Date:  10/10/2008
Time:  5:38:12 PM
User:  N/A
Computer: AGCTFS01
Description:
TF53010: The following error has occurred in a Team Foundation component or extension:
Date (UTC): 10/10/2008 9:38:12 PM
Machine: AGCTFS01
Application Domain: TFSServerScheduler.exe
Assembly: Microsoft.TeamFoundation.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Process Details:
  Process Name: TFSServerScheduler
  Process Id: 5108
  Thread Id: 2640
  Account name: AGC01\SVA_TFSService

Detailed Message: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
--
<HTML dir="ltr">
<HEAD><meta name="GENERATOR" content="Microsoft SharePoint" /><meta name="progid" content="SharePoint.WebPartPage.Document" /><meta HTTP-EQUIV="Content- Type" content="text/html; charset=utf-8" /><meta HTTP-EQUIV="Expires" content="0" /><meta name="ROBOTS" content="NOHTMLINDEX" /><title>
Error

</title><link rel="stylesheet" type="text/css" href="http://blogs.msdn.com/_layouts/1033/styles/core.css?rev=5msmprmeONfN6lJ3wtbAlA%3D%3D"/>
..................................

...................................

Cause

This happens if the TFSServerScheduler.exe.config and Web.config (under the webservices directory) has an incorrect value for “TFSNameUrl”.

Resolution

The value for “TFSNameUrl” should be in the format ‘http://servername:portnumber’. The port number is important.

Steps:

1) On the application tier server, browse to the Web.config file under ‘<drive>:\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Web Services’

2) Open the file on a notepad

3) Search for TFSNameUrl

4) Modify the value section

E.g.: <add key="TFSNameUrl" value="http://servername:8080/" />

5) Save and close the file

6) Do the same steps (2 till 5) for the file TFSServerScheduler.exe.config under ‘<drive>:\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\TFSServerScheduler’ folder.

Content by: Vimalt

Reviewed by: Lucky