tech·nic·al·ly agile

Team Foundation Server Error TF30177 : Team Project Creation Failed

Explains how to resolve Team Foundation Server TF30177 errors by updating server URLs to use the FQDN, addressing proxy and DNS issues during project creation.

Published on
2 minute read
Image
https://nkdagility.com/resources/ovERk0hj1XD

When you create your first project, you may get an error during the creation process. When you look at the log file and see a “proxy error” message detail it may be to do with the way that TFS installs.

I  many large networks you can’t connect to the server in the browser if you use the server name. This is because the proxy server is checking DNS for the name and unless you get every server in your company added to the proxy PAC file, you will get an error. To see if this is the issue try putting the server name into the browser:

http://myServerName.

If you get the error then you should try the FQDN:

http://myServerName.myInternalDomain.com

If this work then you need to change the URL’s within TFS that it uses to define these calls. You can check what the current settings are by:

  1. Open http://tfs01.uk.company.com:8080/Services/v1.0/Registration.asmx  in your browser.
  2. Click on GetRegistrationEntries.
  3. Then click on Invoke.

Save (or just view) the resultant XML so you can have a look at it. There are two section of importance here. One is the Reports section which will look like:

 1<RegistrationEntry>
 2  <Type>Reports</Type>
 3  <ServiceInterfaces>
 4    <ServiceInterface>
 5      <Name>BaseReportsUrl</Name>
 6      <Url>http://[serverName]/Reports</Url>
 7    </ServiceInterface>
 8    <ServiceInterface>
 9      <Name>DataSourceServer</Name>
10      <Url>[serverName]</Url>
11    </ServiceInterface>
12    <ServiceInterface>
13      <Name>ReportsService</Name>
14      <Url>http://[serverName]/ReportServer/ReportService.asmx</Url>
15    </ServiceInterface>
16  </ServiceInterfaces>
17  <Databases />
18  <EventTypes />
19  <ArtifactTypes />
20  <RegistrationExtendedAttributes />
21</RegistrationEntry>

The second is the is the WSS section that is in the same format.

Now, we have established that [serverName] will not work so we will have to update TFS with the new details. To do this you need to:

  1. Create an XML file called RSRegister.xml with just the xml above.
  2. Modify the server name from [serverName] to the FQDN of the server and save it.
  3. on the TFS server you need to open a command prompt and execute the following:
    1. iisreset /stop
    2. cd "%programfiles% Microsoft Visual Studio 2005 Team Foundation ServerTools"
    3. TFSReg.exe RSRegister.xml [yourDataTierServerName]
    4. iisreset /start
  4. Then call the web service above to make sure that the settings are correct.

You can repeat this for the WSS (Windows Sharepoint Services) section.

All done and TFS should work. Although it is worth noting that in my company environment I could then no longer create projects from the TFS App server itself as [serverName] works but the FQDN did not. Typical…

Technorati Tags: ALM   TFS   VS 2005

Troubleshooting Install and Configuration System Configuration

Related blog posts

No related videos found.

Connect with Martin Hinshelwood

If you've made it this far, it's worth connecting with our principal consultant and coach, Martin Hinshelwood, for a 30-minute 'ask me anything' call.

Our Happy Clients​

We partner with businesses across diverse industries, including finance, insurance, healthcare, pharmaceuticals, technology, engineering, transportation, hospitality, entertainment, legal, government, and military sectors.​

YearUp.org Logo
Big Data for Humans Logo
Hubtel Ghana Logo
ProgramUtvikling Logo
Flowmaster (a Mentor Graphics Company) Logo
Slicedbread Logo
Illumina Logo
Xceptor - Process and Data Automation Logo
Alignment Healthcare Logo

NIT A/S

Lockheed Martin Logo

CR2

Higher Education Statistics Agency Logo
Cognizant Microsoft Business Group (MBG) Logo
Slaughter and May Logo
Epic Games Logo
DFDS Logo
Ericson Logo
Washington Department of Enterprise Services Logo
Ghana Police Service Logo
New Hampshire Supreme Court Logo
Nottingham County Council Logo
Washington Department of Transport Logo
Department of Work and Pensions (UK) Logo
Bistech Logo
ALS Life Sciences Logo
Milliman Logo
Alignment Healthcare Logo
Jack Links Logo
Healthgrades Logo