title: TFS 2010: Service Unavailable 503
body: <p>I've been trying to solve this problem for about a week now.  I posted this question on Microsoft website and only received one reply, which did not solve my issue. The following is a combination of my posts on Microsoft website.</p>
  
  <p>I installed and configured TFS 2010 on Window 7 PC 64-bit. When I navigate to <a href="http://localhost:8080/tfs">http://localhost:8080/tfs</a> in my browser, I get</p>
  
  <blockquote>
    <p>Service Unavailable – HTTP Error 503. The service is unavailable.</p>
  </blockquote>
  
  <p>Any help to solve this problem would be greatly appreciated.</p>
  
  <p>Based on previous reading, I have done much work to figure this out.  Following are the steps I have gone through to solve this issues.  The list is fairly long, but I want to make sure all the information that may be pertinent to solving this problem is available.</p>
  
  <ul>
  <li>I have uninstalled and reinstalled TFS many times</li>
  <li>The application pool "Microsoft Team Foundation Server Application Pool" is running</li>
  <li>The application pool "Microsoft Team Foundation Server Web Access Application Pool" is running</li>
  <li>Other website in IIS that point to the "ASP.NET v4.0" app pool seem to run fine.</li>
  <li>If I point my other sites to "Microsoft Team Foundation Server Application Pool" they 
  seems to run fine</li>
  <li>The Windows user "TFS" is in the following rolls: Administrator, IIS_IUSRS, - TFS_APPTIER_SERVICE_WPG, Users</li>
  <li>I'm able to run SQL Server Management Studio (SSMS) as the user "TFS" and access the databases "Tfs_Configuration" and "Tfs_DefaultCollection"</li>
  <li>I have confirm the account for "TFS" is not disabled or expired</li>
  <li>For IIS application "Team Foundation Server", I Configured "Failed Request Tracing Rules" to log status codes 401.3-999</li>
  <li>After IIS Reset and browser refresh, no files in the "FailedReqLogFiles" directory</li>
  <li>No log information in IIS Logs</li>
  <li>In Team Foundation Server Administration Console, I can change account info(Update Password, Change Account, Reapply Account).</li>
  <li>In Team Foundation Server Administration Console, when I try to changing Group Membership or Administer Security I get the error "Team Foundation services are not available from server <a href="http://localhost:8080/tfs">http://localhost:8080/tfs</a>.  Technical information (for administrator): HTTP code 503: Service Unavailable"</li>
  <li>In Event Viewer, I do not see anything that may be of value
  In Sql Server Configuration Manager, confirmed "SQL Native Client 10.0 Configuration - (32bit)", "SQL Server Network Configuration", and "SQL Native Client 10 Configuration" all have the following protocols enabled (Shared Memory, TCP/IP, and Named Pipes"</li>
  <li>In IE confirmed that that Proxy server is not enable.</li>
  </ul>
  
  <p>I installed Team Foundation Server 2010 Power Tools.  The following are the Critical Issues returned by the tool</p>
  
  <ul>
  <li>Accessing "AuthorizationService" Web service at "/DefaultCollection/Services/v3.0/AuthorizationService3.asmx" failed. Error message: "The remote server returned an error: (503) Server Unavailable.".</li>
  <li>Accessing "BuildService" Web service at "/DefaultCollection/Build/v3.0/BuildService.asmx" failed. Error message: "The remote server returned an error: (503) Server Unavailable.".</li>
  <li>The Web service call "CommonStructureService.ListAllProjects" at "/Services/v1.0/CommonStructureService.asmx" failed. Error message: "The remote server returned an error: (503) Server Unavailable."</li>
  <li>Accessing "GroupSecurityService" Web service at "/DefaultCollection/Services/v1.0/GroupSecurityService.asmx" failed. Error message: "The remote server returned an error: (503) Server Unavailable.".</li>
  <li>Accessing "IdentityManagementService" Web service at "/DefaultCollection/Services/v3.0/IdentityManagementService.asmx" failed. Error message: "The remote server returned an error: (503) Server Unavailable.".</li>
  <li>The Web service call "Integration Services ProcessTemplate.GetTemplateName" at <a href="http://MyServer:8080/tfs/DefaultCollection/Services/v1.0/ProcessTemplate.asmx">http://MyServer:8080/tfs/DefaultCollection/Services/v1.0/ProcessTemplate.asmx</a> failed. Error message: "The remote server returned an error: (503) Server Unavailable.".</li>
  <li>Accessing "LabService" Web service at "/DefaultCollection/Lab/v3.0/LabService.asmx" failed. Error message: "The remote server returned an error: (503) Server Unavailable.".</li>
  <li>The Web service call "ProcessTemplate.TemplateHeaders" at "/Services/v1.0/ProcessTemplate.asmx" failed. Error message: "The remote server returned an error: (503) Server Unavailable."</li>
  <li>Accessing "Repository" Web service at "/DefaultCollection/VersionControl/v1.0/repository.asmx" failed. Error message: "The remote server returned an error: (503) Server Unavailable.".</li>
  <li>Accessing "SecurityService" Web service at "/DefaultCollection/Services/v3.0/SecurityService.asmx" failed. Error message: "The remote server returned an error: (503) Server Unavailable.".</li>
  <li>The Web service call "TeamProjectCollection.GetDefaultCollectionId" at <a href="http://MyServer:8080/tfs/TeamFoundation/Administration/v3.0/TeamProjectCollectionService.asmx">http://MyServer:8080/tfs/TeamFoundation/Administration/v3.0/TeamProjectCollectionService.asmx</a> failed. Error message: "The remote server returned an error: (503) Server Unavailable.".</li>
  <li>The Web service call "VersionControl.Administration.QueryRepositoryInformation" at <a href="http://MyServer:8080/tfs/DefaultCollection/VersionControl/v1.0/administration.asmx">http://MyServer:8080/tfs/DefaultCollection/VersionControl/v1.0/administration.asmx</a> failed. Error message: "The remote server returned an error: (503) Server Unavailable.". </li>
  <li>The Web service call "VersionControl.Administration.QueryRepositoryInformation" at <a href="http://MyServer:8080/tfs/DefaultCollection/VersionControl/v1.0/administration.asmx">http://MyServer:8080/tfs/DefaultCollection/VersionControl/v1.0/administration.asmx</a> failed. Error message: "The remote server returned an error: (503) Server Unavailable.". </li>
  <li>The Web service call "ConfigurationSettings.ServiceGetWorkitemTrackingVersion" at <a href="http://MyServer:8080/tfs/DefaultCollection/WorkItemTracking/v1.0/ConfigurationSettingsService.asmx">http://MyServer:8080/tfs/DefaultCollection/WorkItemTracking/v1.0/ConfigurationSettingsService.asmx</a> failed. Error message: "The remote server returned an error: (503) Server Unavailable.".</li>
  </ul>
  
  <p>The follow are additional issues that were not critical:</p>
  
  <ul>
  <li>SharePoint Products is not installed or integrated with Team Foundation Server.</li>
  <li>Team Foundation Server is not configured to use the data warehouse.</li>
  <li>Team Foundation Server is not configured to use Report Manager.</li>
  <li>Results for rules that require access to Team Foundation Build cannot be included in the report.</li>
  <li>Cannot validate the configuration of Visual Studio Lab Management. Results for rules that check the health of Visual Studio Lab Management will not be included in the report.</li>
  <li>Paged pool memory on MyServer is over the warning threshold of 180 MB. This may not be a problem if a backup is currently in progress. Current value: 490 MB.</li>
  </ul>
  
  <p>The follow are Information Items:</p>
  
  <ul>
  <li>Computer: MyServer. Manufacturer: System manufacturer. Model: System Product Name.</li>
  <li>The application tier connected to Team Foundation Server at 12/2/2010 9:09:49 PM.</li>
  <li>The connection string in config file c:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web ervices\Web.config on MyServer is: Data Source=MyServer;Initial Catalog=Tfs_Configuration;Integrated Security=True;.</li>
  <li>The connection string stored in the Team Foundation Server registry is: Data Source=MyServer;Initial atalog=Tfs_Configuration;Integrated Security=True.</li>
  <li>Logical disk C: on MyServer is 500 GB in size.</li>
  <li>No Sharepoint Site is configured for this Team Project Collection "DefaultCollection".</li>
  <li>No Sharepoint Site is configured for this Team Project Collection "DefaultCollection".</li>
  <li>The MyServer is running the 64-bit version of Windows.</li>
  <li>The SQL Server (MSSQLSERVER) service on MyServer is configured to run as user NT AUTHORITY\NETWORK SERVICE.</li>
  <li>The account Identity for the Team Foundation Server application pool on MyServer is MyServer\TFS. This is the same as the Team Foundation Server service account.
  The Team Foundation Server Product Version is 10.0.30319.317</li>
  <li>The Team Foundation Server Service Level is Tfs2010.RTM.KB2135068.P#3.</li>
  <li>The MyServer has 1 processor(s) installed.</li>
  <li>The MyServer has 6134 MB of memory installed.</li>
  <li>Volume C:\ on MyServer is a mount point.</li>
  </ul>
  
  <p>I started up a Virtual Machine with Windows 7.  Installed and configured TFS.  Everything seems to work fine on the Virtual Machine.  With an environment working, I started to compare differences between the two.  </p>
  
  <p>Here are some of the differences I found between the two environments:</p>
  
  <ul>
  <li>My primary computer is 64-bit and the Virtual Machine is 32-bit.</li>
  <li>On my primary computer, IIS "Team Foundation Server Website" has a "aspnet_client" directory.  On the virtual machine, this directory does not exist</li>
  <li>On my primary computer, in IIS Manager for "Team Foundation Server" the section ASP.NET are the same on both my primary computer and virtual machine.</li>
  <li>On my primary computer, IIS Manager IIS Section has these additional feature that the virtual machine does not include (ASP, Authorization Rules, CGI, IP Address and Domains, and WebDav Authorization)</li>
  <li>On my primary computer, IIS Application Pool setting has a property call "Enabled 32-Bit Application".  This was set to false and I changed it to true.  Understandably this feature is not available on the virtual machine.</li>
  </ul>
  
  <p>Thanks.</p>