locked
Cannot connect to TFS 2010: Error TF246066: Team Foundation Server is offline. Servicing RRS feed

  • Question

  • It began after i installed VS10-kb983504.exe. Now All my collections are gone. I cannot connect to TFS 2010. Whenever i try to connect i get TF246066 error saying that tfs services are unavailable. Whenever i try to create new collection i get Error Servicing. Also i am not able to start BuildServiceHost service. 
    Any help greatly appreciated.
    Regards,
    Chandan
    Thursday, December 29, 2011 3:47 PM

All replies

  • Please share the Log file so that i can figure out what is causing the problem

    Thanks,

    Chandra

    Thursday, December 29, 2011 4:44 PM
  • Here is the content of log file:

     

     [Info   @14:55:24.424] ====================================================================

    [Info   @14:55:24.429] Team Foundation Server Administration Log

    [Info   @14:55:24.429] Version  : 10.0.30319.341

    [Info   @14:55:24.429] DateTime : 12/29/2011 20:25:24

    [Info   @14:55:24.429] Type     : Configuration

    [Info   @14:55:24.429] Activity : Servicing

    [Info   @14:55:24.429] Area     : Unknown

    [Info   @14:55:24.429] User     : chandan

    [Info   @14:55:24.429] Machine  : CHANDAN

    [Info   @14:55:24.429] System   : Microsoft Windows NT 6.1.7600.0 (x86)

    [Info   @14:55:24.429] ====================================================================

    [Info   @14:55:24.432] Starting application pool: ApplicationTier

    [Info   @14:55:24.434] ApplicationPoolHelper::GetApplicationPoolName

    [Info   @14:55:24.435] Application pool name: Microsoft Team Foundation Server Application Pool

    [Info   @14:55:24.439] Invoking operation Start on application pool: Microsoft Team Foundation Server Application Pool

    [Info   @14:55:24.629] Operation Start invoked on application pool Microsoft Team Foundation Server Application Pool successfully.

    [Info   @14:55:24.630] Starting application pool: WebAccess

    [Info   @14:55:24.630] ApplicationPoolHelper::GetApplicationPoolName

    [Info   @14:55:24.630] Application pool name: Microsoft Team Foundation Server Web Access Application Pool

    [Info   @14:55:24.630] Invoking operation Start on application pool: Microsoft Team Foundation Server Web Access Application Pool

    [Info   @14:55:24.781] Operation Start invoked on application pool Microsoft Team Foundation Server Web Access Application Pool successfully.

    [Info   @14:55:24.796] StartWindowsService TfsJobAgent on In4-L38

    [Info   @14:55:24.797] Current State Stopped

    [Info   @14:55:24.801] Starting service TfsJobAgent...

    [Info   @14:55:24.801] Attempt=0

    [Info   @14:55:25.465] Attempt=0

    [Info   @14:55:25.730] Success

    [Info   @14:55:25.730] StartWindowsService TFSBuildServiceHost on In4-L38

    [Info   @14:55:25.730] Current State Stopped

    [Info   @14:55:25.730] Starting service TFSBuildServiceHost...

    [Info   @14:55:25.730] Attempt=0

    [Info   @14:55:26.310] Attempt=0

    [Warning@14:56:26.338] 

    Exception Message: Time out has expired and the operation has not been completed. (type TimeoutException)

     

    Exception Stack Trace:    at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)

       at Microsoft.TeamFoundation.Admin.RealAdminExternals.WaitOnControlMessage(ServiceController serviceController, ControlMessageType msgType)

     

    [Info   @14:56:26.338] Attempt=1

    [Warning@14:57:26.480] 

    Exception Message: Time out has expired and the operation has not been completed. (type TimeoutException)

     

    Exception Stack Trace:    at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)

       at Microsoft.TeamFoundation.Admin.RealAdminExternals.WaitOnControlMessage(ServiceController serviceController, ControlMessageType msgType)

     

    [Info   @14:57:26.481] Attempt=2

    [Warning@14:58:26.666] 

    Exception Message: Time out has expired and the operation has not been completed. (type TimeoutException)

     

    Exception Stack Trace:    at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)

       at Microsoft.TeamFoundation.Admin.RealAdminExternals.WaitOnControlMessage(ServiceController serviceController, ControlMessageType msgType)

     

    Thursday, December 29, 2011 6:10 PM
  • Nothing much in the log file. Do one thing, under Team Foundation Administration Console, select the team project collection and under status Tab rerun the jobs. send me the error you are getting there.

     

    Chandra

    Friday, December 30, 2011 2:17 PM
  • As i said before, i am not able to access anything. As soon as i start console, i get an error saying "Servicing".  No collections, nothing.
    Saturday, December 31, 2011 3:30 AM
  • Hi Chandan,

     

    Thanks for your post.

     

    You said that after you installed the KB983504, then you can’t connect to all your collections.  This issue may be caused by that KB, please try to uninstall it, then test again.

     

    According the Import Note of KB983504:

    Please be aware this Hotfix has not gone through full Microsoft product regression testing nor has it been tested in combination with other Hotfixes.

    Please carefully review the associated Hotfix KB article to verify the fix is the one needed and there are no known compatibility or installation issues. You may also want to contact a Microsoft Support Professional at
    http://support.microsoft.com

     

    So, I also suggest you contact Microsoft Support Professional to confirm that: Do there have some known compatibility or installation issues with that KB.   


    John Qiao [MSFT]
    MSDN Community Support | Feedback to us
    Monday, January 2, 2012 3:26 AM
    Moderator
  • We are getting the same error in the Team Foundation Server Admin Console and the web interface is giving us the:

    "TF31002: Unable to connect to this Team Foundation Server: http://servername:8080/tfs. Team Foundation Server Url: http://servernames:8080/tfs. Possible reasons for failure include: - The name, port number, or protocol for the Team Foundation Server is incorrect. - The Team Foundation Server is offline. - The password has expired or is incorrect. Technical information (for administrator): The request failed with HTTP status 404: Not Found."

    I do not see the above KB installed on the server and this just started happening this morning. do you have a solutution to this?

    Thanks,

    Dave

    Monday, January 2, 2012 5:38 PM
  • Hi Dave, 

     

    Thanks for your reply.

     

    For this scenario, I suggest you to  create a new post which have the detailed description and information about this issue in the forum, our engineers and members will handle it ASAP.


    John Qiao [MSFT]
    MSDN Community Support | Feedback to us
    Tuesday, January 3, 2012 2:59 AM
    Moderator
  • Check with IIS server, if the site is down for some reason. 

    Or

    Check with log inside tfs console

    Or

    Check with Control Panel/Event viewer to find out exact reason

    Tuesday, January 3, 2012 12:55 PM
  • Also, check if the password for TFS Service account was expired or not. IIS logs will be helpful for this error.
    Tuesday, January 3, 2012 3:18 PM
  • This worked for me.

    Start a command prompt as administrator and run

    tfsconfig updates /reapply

    Wednesday, September 21, 2016 4:04 PM