"TFSServerScheduler" Service does not start automatically at system startup

Recently I have been working on a case about Visual Studio Team Foundation Server Task Scheduler service. A customer reported that in a single server TFS 2008 deployment,  when TFS server is rebooted, TFSServerScheduler doesn’t start automatically. Instead, there’s an error message in Windows Event Log:

Source: "TFS Scheduler"

TF53010: The following error has occurred in a Team Foundation component or
extension:
Date (UTC): 20.05.2009 08:16:35
Machine: xxx
Application Domain: TFSServerScheduler.exe
Assembly: Microsoft.TeamFoundation.Common, Version=9.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Process Details: 
Process Name: TFSServerScheduler 
Process Id: 2920 
Thread Id: 3092 
Account name: domain\user

Detailed Message: Unable to connect to the remote server

The interesting thing is that when you try to start TFSServerScheduler service manually, it starts successfully and everything works fine!

After some digging, we eventually came to Fun with the TFSServerScheduler service. In that post, it says TFSServerScheduler depends on SQL Server service in a single server TFS deployment. If SQL Server starts slower than TFSServerScheduler, then TFSServerScheduler will crash and exit.

In my case however, it is a bit different. it turns out TFSServerScheduler also depends on World Wide Web Publishing Service (W3SVC). You can verify this by stopping W3SVC, then restart TFSServerScheduler. TFSServerScheduler can be started but will exit after several seconds. The same error message as I posted will be added to Windows Event Log.

You might have already figured out the workaround. We can configure TFSServerScheduler to depend on W3SVC. One approach is to run command: sc config TFSServerScheduler depend= W3SVC. Please note that there’s a space between the equal sign and W3SVC. Then open the property dialog for TFSServerScheduler and check if its dependency is configured correctly.

I can’t say for sure which services are actually dependent by TFSServerScheduler. But I believe we can find them out if we meet similar issues in the future.

7 comments:

Anonymous September 23, 2009 at 7:04 AM

Thanks for your post. It fixed my problem.

guangming April 25, 2010 at 7:12 PM

Discount Handbags On Sale-Beautycasa Online : Official online destination for all things Louis Vuitton Handbags and purses including Luxury Handbags trends, designer reviews, handbag deals, and more.Hot sale Cheap cell phonesand cell phone china on our site! Fashion look and powerful functions for these mobile phones even discount cell phones! Wholesale HiPhone, 3G cell phones, PDA/Smart Phone now.China Cell PhonesDon't miss these cellphone!toy wholesale

TheCric May 4, 2010 at 4:25 PM

Thanks

I have tried the Virtual PC Image named "Visual Studio® Team System 2008 Team Foundation Server SP1 VPC Image (Trial)" and I got exactly this error.

Your method fixed it

Web Application Development July 29, 2011 at 5:53 AM

Hello There. I searched your blog using msn. This is a really well written article. I will make sure to bookmark it and return to read more of your useful info. Thanks for the post. I’ll definitely return.

fdhty April 23, 2013 at 6:43 PM

Life is not measured by the number of breaths we take Runescape Gold, but by the moments that take our breath away rs gold. I have a simple philosophy: Fill what's empty Runescape Gold.

The past is gone and static. Nothing we can do will change it.scarlet blade gold, the future is before us and dynamic. Everything we do will affect it rs gold, You laugh at mescarlet blade gold for being different , but I laugh at you for being the same.

Adobe Acrobat 9 Download June 16, 2013 at 8:01 AM

Microsoft Project 2010 Download introduces a major shift in how projects are scheduled. Changes to factors such as task dependencies and the project calendar no longer automatically adjust task dates when a task is manually scheduled.
Microsoft Visio 2010 advanced diagramming tools help you simplify complexity with dynamic, data-driven visuals and new ways to share on the Web in real time. Whether you’re creating an organizational chart, a network diagram, or a business process, the new tools and more intuitive interface in Microsoft Visio 2010 Download make it easier to bring your diagrams to life.
Acrobat 9 Download is a platform for viewing, creating, manipulating and managing files in Adobe's PDF format.

Situs Poker Idn Play October 30, 2019 at 10:40 PM

Artikel yang sangat bagus menarik dan bermanfaat

Bergabunglah dan rasakan sensasi bermain Situs Poker, Domino99, Pokerqq, QQ Online, Domino Qiu, Qiu Qiu Online, Poker Qiu Qiu yang memberikan kemenangan besar hanya di

http://Maxbetqq.net/ Agen Poker IDN terpercaya yang memberikan kemananga besar jackpot besar bersama Situs Poker Idn Play.

Dengan didukung server yang berkulitas dan permainan yang sangat fair 100% Player vs Player dan tidak ada campur tangan ROBOT di dalam Situs Poker Online Terpercaya

MaxbetQQ.

Promo HOT Di Poker Online Terpercaya Maxbetqq :
– Bonus Bulanan Megajackpot
– Bonus New Member 20% (Minimal Deposit Rp25.000 | Maksimal Bonus Rp.50.000)
– Bonus Rollingan 0,5%
– Bonus Deposit Rp. 5000 Setiap Hari
– Bonus Refferal 10% Up To 60%

7 Games Dalam 1 User ID :

✔️ Texas Poker
✔️ Domino QQ
✔️ Capsa Susun
✔️ Bandar Ceme
✔️ Ceme Keliling
✔️ Super Ten
✔️ Pot OMAHA

Info Maxbetqq Anda Bisa Langsung Menghubungi Lewat :

Livechat : http://Maxbetqq.net/
Whatsapp : +66613295868
WeChat : MaxbetQQ
Line : MaxbetQQ


QQ NET
QQ.NET
QQ PAGCOR
ONLINE QQ
DAFTAR QQ
QQ ONLEN
POKERQQ
POKERQQIDN
QQ ONLINE
DOMINO QIU
POKER ONLINE
MAXBETQQ.NET
SITUS POKER
AGEN POKERQQ
AGEN DOMINO99
POKER QIU QIU
QIU QIU ONLINE
Idn Poker
Idn Poker Apk
Agen Poker Idn
Idn Poker Play
Poker Idn Play
Situs Judi Poker
Idn Poker Terbaru
Game Poker Online
Situs Judi Poker Terbaik
Situs Poker Idn Play
Agen Poker Idn Terpercaya
Agen Poker Idn Terbaik
Situs Poker Idn Uang Asli
Bandar Poker Idn Indonesia
Situs Judi Poker Terpercaya
AGEN POKER UANG ASLI
AGEN POKER TERPERCAYA