The system cannot find the file specified. (2147942402, 80070002)

by Iain Angus 25. March 2010 13:41

After updating the TFS 2010 client from Beta2 to RC on my SharePoint development machine I found that I couldn’t control IIS using IISRESET, with a message usually of the following format…

Attempting stop…

Stop attempt failed.

The system cannot find the file specified. (214794202, 80070002)

As anyone who does SharePoint development knows, not being able to restart IIS periodically is a bit of a annoyance and I didn’t want to keep going into IIS Manager to do this.

Turns out this is a problem with uninstalling Microsoft .NET 4.0 Beta 2 and the solution is to repair the Microsoft .NET Framework 4 Client Profile.

Tags: ,

Technical Tips | Visual Studio

Comments (3) -

Iain
Iain
3/26/2010 1:46:03 PM #

great..thanks

Iain
Iain
4/3/2010 9:40:55 PM #

this is great finding! i am keen to know how you connected dots?

Joseph Fluckiger
Joseph Fluckiger
6/15/2010 7:27:03 PM #

Thanks! great tip. That worked for me.

Pingbacks and trackbacks (1)+