VS2008 Web Debugging on IIS7 Fix

If you're using Vista and Visual Studio 2008 Beta 2, then you will encounter this annoying dialog box everytime you try debugging something on IIS7 (debug virtual directory on IIS, debug WCF project hosted on IIS, etc):

"Unable to start debugging : strong name validation failed..."

I encountered this while running Community Server SDK on VS2008 (btw, folks, you don't need WAP model when opening this SDK in VS2008) and testing WCF hosting on IIS7.

The Fix is to open Start | Programs | Microsoft Visual Studio 2008 Beta 2 | Visual Studio Tools | Visual Studio 2008 Beta 2 Command Prompt. Right-click, choose Run as Administrator.

Then type this:

sn -Vr D:\ProgramFiles\Microsoft Visual Studio 9.0\Common7\IDE\iisresolver.dll"

Restart VS2008 and voila, now you can debug anything on IIS7 in Vista Big Smile

Share this post: | | | |
Published Saturday, October 27, 2007 7:02 PM by zeddy
Filed under:

Comments

# re: VS2008 Web Debugging on IIS7 Fix

Friday, December 28, 2007 12:18 PM by Azalea

Thanks for your share. It helped me a lot.

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above:
Powered by Community Server (Commercial Edition), by Telligent Systems