Home » Visual StudioRSS

TFS 2010 host cannot be started error

I have installed TFS 2010 and sql 2008 with SP1 on a single VM. I am able to create a collection but the state of the collection stays in offline mode and when I try to start the collection I get the following error :

"The host cannot be started. The host is in the process of being serviced. The servicing may have failed and needs to be restarted and completed before the host can be started."

I do not see any errors in the event log.

 

 

 

4 Answers Found

 

Answer 1

Did you open the TFS Admin Console to see if everything is configured correctly?

You could also run the Best Practice Analyzer: http://visualstudiogallery.msdn.microsoft.com/en-us/3e8c9b68-6e39-4577-b9b7-78489b5cb1da

 

Answer 2

Hi,

As Ewald mentioned, you can refer to http://msdn.microsoft.com/en-us/library/dd312131.aspx to configure your server.


If you have any concern, please feel free to let me know!

Best Regards,

Cathy Kong

 

Answer 3

 

Did you figure this out from the URL's provided?  I've got the same issue and going over the creation of the collection again doesn't resolve the problem.  Guess I'll try the power tools as suggested, but it would be nice to know how you figured it out if possible!

Thanks

 

Answer 4

I hit the same error  at end of installing single-machine TFS2010 on Windows 2008 R2 (with SQL 2008 R2 installed, SharePoint Services 3.0 installed by TFS2010). Here's what I've figured out so far, followed by tons of mucky details :-).

WORKAROUND: Open TFS Admin Console, then create a new TPC (Team Project Collection) and use wizard "advanced" options to not configure SharePoint or Reporting or Lab management. Once TPC is created successfully use the tabs to configure SharePoint and Reporting separately.

CAUSE: Not sure yet. I think it was SharePoint being required to support HTTPS by Reporting Server ORSharePoint Services install required a restart.
To configure RS to allow basic auth open C:\Program Files\Microsoft SQL Server\MSRS10_50.SQLSERVER2008R2\Reporting Services\ReportServer\rsreportserver.config - Change Security setting value='2' to value='0' (Sorry, I didn't copy the URL where I found this fix).
After second TPC creation failure I rebooted the server hoping to clear mystery "Setup in progress" type error.

 

Detailed Repro & steps tried: (Steps are close but order might be slighly off or missing small details.)

TFS Install failed to create the default collection at end of setup. Here's a snapshot of the warning list:

Warning        

TF255124: Internet Information Services (IIS) could not be reset. You will need to manually restart IIS using iisreset.exe or restart your computer.

Warning        

[2010-07-08 23:15:55Z] Servicing step Configure SharePoint Settings failed. (ServicingOperation: Install; Step group: Install.TfsSharePoint)

Warning        

TF255271: The team project collection could not be created. The number of steps before the completion of project creation is: 120. The number of steps completed before the failure was 0.

I opened the TFS Admin Console (under Start->Programs->TFS2010)

I checked the Configuration Log (easy to find in Admin Console tree) and found following key excerpts:
[Warning@22:35:06.212] IISReset Failed with exit code: 1062
[Error  @22:44:23.673] IISReset has failed {0} times.  No further attempts will be made.  Configuration may fail if IIS is not functioning properly.
[Info   @23:15:59.859] [2010-07-08 23:15:55Z][Error] TF252031: A SharePoint site could not be created for the team project collection. The following error occurred: Server was unable to process request. ---> Exception from HRESULT: 0x80040E09 ---> Exception from HRESULT: 0x80040E09 (0 of 120)
[Error  @23:16:00.554] Exception Message: The collection with id 'dc9e0a2b-e14e-4102-bc03-99349d4665c8' does not exist. (type CollectionDoesNotExistException)

I went through steps to create a new TPC (Team Project Collection).
Create TPC failed at last stage (SharePoint Products failed)

Funny thing is the Core Framework step initially showed completed during processing all steps, then flipped to Cancelled when error encountered with SharePoint Products.
[2010-07-10 00:28:25Z][Error] TF252031: A SharePoint site could not be created for the team project collection. The following error occurred: Server was unable to process request. ---> Exception from HRESULT: 0x80040E09 ---> Exception from HRESULT: 0x80040E09

Error text:
The host  'DefaultCollection' cannot be started. The host is in the process of being serviced. The servicing may have failed and needs to be restarted and completed before the host can be started.
(Where 'DefaultCollecion' is the Team Project Collection name TFS tried to create.)

Clicked Status tab, found the step Create Collection failed.

Double-clicked event line to open logfile. One error found:
[Error  @01:14:50.673] [2010-07-10 00:28:25Z][Error] TF252031: A SharePoint site could not be created for the team project collection. The following error occurred: Server was unable to process request. ---> Exception from HRESULT: 0x80040E09 ---> Exception from HRESULT: 0x80040E09

FIX#1: Search for TF252031 0x80040E09 found answer: Enable TCP/IP in SQL Server Network Configuration, restart SQL. See this entry in GreggBoer blog for details.

Tried re-running failed stage in DefaultCollection. It still thinks a setup is unfinished, so I rebooted the server. Tried again but no change, so time to give up on fixing broken TPC and try creating new one from scratch.

WORKAROUND: Created new TPC using Admin Console wizard, used wizard to NOT set up SharePoint or Reporting. YEAH! TPC successfully created.
Click SharePoint tab, click Edit link, Select host as SharePoint server, click OK. Configuration successful. YEAH!
Click Reporting tab, click Edit link, select only server/instance in dropdown, click OK. Config successful. YEAH!

Done for now. I've paid as much forward as I can for this issue. Hopefully someone will solve the root cause or at least how to revive a partially created TPC. (there is no admin console link to delete a TPC... and I don't have time to dig into this immediately.

 
 
 

<< Previous      Next >>


Microsoft   |   Windows   |   Visual Studio   |   Follow us on Twitter