locked
Error contacting server - HTTP code 500

    Question

  • I installed TFS 2010 and VS2010. From the TFS Admin console, if I try to Admin security, I get an error HTTP code 500: Internal Server error. From vs2010, I get the same error if I try to find the server.

    Can someone tell me what is causing this and some ideas on how to fix it?

    Tuesday, May 04, 2010 7:00 PM

All replies

  • Hi Sring,

    Code500 means that there are some issues of the server. Could you check the detail error message in the App Tier Event Viewer? 


    Best regards,
    Ruiz
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg @ microsoft.com
    Wednesday, May 05, 2010 2:39 AM
    Moderator
  • I couldn't find any particular errors in the Application logs. Just things like

    TF200030: Team Foundation Server completed group synchronization for the following group: Sync Tree.

    Incremental sync (current cycle start time (UTC) 5/4/2010 5:00:20 PM, cycle duration 1.00:00:00, number of syncs per cycle 24).

    Application Domain: TfsJobAgent.exe
    Service Host:       e4f21cb1-1583-4a4b-bf0d-e150a80f6bdf (TEAM FOUNDATION)

     

    If I open the IIS manager and try to go to http://localhost:8080/tfs/web, I get the following


    HTTP Error 500.19 - Internal Server Error
    The requested page cannot be accessed because the related configuration data for the page is invalid.

    Module CustomErrorModule
    Notification SendResponse
    Handler StaticFile
    Error Code 0x80070021
    Config Error This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
    Config File \\?\C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Access\Web\web.config
    Requested URL http://localhost:8080/tfs/web
    Physical Path C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Access\Web
    Logon Method Not yet determined
    Logon User Not yet determined
    Wednesday, May 05, 2010 4:08 PM
  • So, is any of this of any use, and does anyone have an answer to this?
    Tuesday, May 11, 2010 8:53 PM
  • I just located

        <staticContent>
          <clientCache cacheControlMode="NoControl" cacheControlMaxAge="1.00:00:00" />
        </staticContent>

     

    and commented it out. Now I just get a blank page and still no luck getting TFS to do much.

    Wednesday, May 12, 2010 3:02 PM
  • I have the exact same issue and got as far as commenting out <staticContent> as well. I got the same blank page and reverted the change.

    I am really eager to hear any good ideas on the issue.

    Friday, May 14, 2010 8:33 PM
  • To me it seems IIS lost part of the security configuration for some of the internal accounts.

    Give this a look  ... http://forums.asp.net/t/1115232.aspx

    regards,


    Enrique Lima Solutions Architect Apparatus, Inc. http://geekswithblogs.com/enriquelima
    Saturday, May 15, 2010 1:13 AM
  • To me it seems IIS lost part of the security configuration for some of the internal accounts.

    Give this a look  ... http://forums.asp.net/t/1115232.aspx

    regards,


    Enrique Lima Solutions Architect Apparatus, Inc. http://geekswithblogs.com/enriquelima

     

    Im a developer running visual studio 2010 using visual sourcesafe 2005 on Vista enterprise.

    I decided to try Team Foundation as it's being pushed and I can get it as part of my msdn subscription. I just want to get a test version of Team Foundation Server set up and working on my development machine prior to attempting installation on our main office server.

    I'm getting error HTTP code 500: Internal Server Error  when I attempt to "Connect to Team Project"  from the Team menu item in visual studio, or if I go to my test collection and click "group membership" or "administer security", or I attempt to access via web browser.

    I've been to look at the link above. Is there a simple set of instructions on how to change the right set of permissions for us ignorant souls who don't "do" IIS?

    I managed to run IIS manager (with help from google) to be confronted by a mass of tree nodes. One subnode on the Sites branch is Team Foundation Server, with another subnode called tfs (containing several further subnodes). Selecting any of these offers an option to Edit Permissions. Which ones do you check? The answers on the link seem to be aimed at people comfortable with IIS?

     

    Monday, May 17, 2010 12:02 PM
  • What type of TFS 2010 Installation did you do? 

    And did you install it on Windows Vista?

    What options did you install for IIS?  Are you comfortable discussing the options you selected?

    I recently blogged about installing the Basic Configuration (yes, I have another one coming with other options) here http://geekswithblogs.net/enriquelima/archive/2010/05/17/configuring-team-foundation-server-basic-on-home-server.aspx

    best regards,

     


    Enrique Lima Solutions Architect Apparatus, Inc. http://geekswithblogs.com/enriquelima
    Monday, May 17, 2010 11:35 PM