Uncategorized

Corrupt installation? Do not repair Visual Studio

(Unable to start debugging on the web server. An error occurred that usually indicates a corrupt installation. If the problem persists, repair Visual Studio installation via ‘Add or Remove Programs’ in Control Panel)

I saw this happening on a Vista x64 while trying to debug an ASP.NET application and needless to say (☹️), repairing Visual Studio does not help.

This is a misleading error message which might appear when you try to debug an ASP.NET application on a 64 bit OS and you configured your application pool to run a 32 bit worker process; I know it will be changed to a more meaningful message, but I’m not sure about the timeframe (I can’t repro so I’m not able to check how Visual Studio 2008 behaves).

What to do then? Check the advanced settings for your application pool and set “Enable 32-bit applications” to “False”

enable 32 bit application
enable 32 bit application

By the way, I was this error in conjunction with this one so pay attention if you’re hitting one of the two…

Carlo

Quote of the Day:
Sincerity is the highest compliment you can pay.
–Ralph Waldo Emerson

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.