The World’s Leading Microsoft .NET Magazine
   
 
The .NET Addict's Blog

My Top Tags

                                                           

My RSS Feeds








I heart FeedBurner

Latest Diggs - Programming

Computers Blogs - Blog Top Sites

Site Hits

Total: 2,821,584
since: 19 Jan 2005

Unable to start debugging : strong name validation failed

posted Fri 31 Aug 07

When you go to debug anything that runs underneath IIS7 through Visual Studio 2008, if you're using Windows Vista, then you have probably run into the error message "Unable to start debugging : strong name validation failed." This is an extremely annoying message and obviously you need to debug your ASP.NET/WCF apps in VS2008. Thankfully I found a pretty easy fix on Dan Wahlin's blog.

If you've got sn.exe, which comes with all previous versions of the .NET Framework, then you can simply shell into your command prompt (I force my command prompt to run in administrator mode all the time) and issue this command:

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

or if you're on a 64-bit computer:

sn -Vr "%ProgramFiles(x86)%\Microsoft Visual Studio 9.0\Common7\IDE\iisresolver.dll"

You'll get a quick message indicating that a verification entry has been added and then you should be good to go. Make sure that VS2008 Orcas is not running when you do this.

It might seem pretty trivial, but every single time I set up a new Orcas VM, I have to go through this routine so I figured I would post it here.

tags:            

links: digg this    del.icio.us    technorati    reddit




1. chris left...
Sat 01 Sep 07 3:27 pm :: http://www.thethompsonpride.com

thanks very much...the trick was not having VS open while running the command.


2. johnnyturpin left...

Is this of interest to you?

http://www.idevapps.com/forum/showthread.php?t=6179

It is a thread I started asking for help developing cocoa apps from the point of view of a WPF developer. You seem pretty well versed in both worlds and, well, would love some advice on how to get serious about cocoa development.


Tag Related Posts

C# 3.0 - Are Object Initializers Evil, Useful, or Both?

Fri 26 Oct 07 10:53 A GMT-05
tags:    

Continuous LINQ - Can I write games with it?

Mon 13 Aug 07 3:09 P GMT-05
tags:        

Silverlight 1.1 Alpha Refresh

Fri 10 Aug 07 2:09 P GMT-05
tags:    

Orcas Beta 2 - might as well be a CTP

Tue 07 Aug 07 1:15 A GMT-05
tags:  

Dynamic, Observable LINQ Views

Tue 31 Jul 07 1:21 A GMT-05
tags:        

Acropolis or Acrapolis?

Thu 05 Jul 07 12:34 P GMT-05
tags:      

My first "Acropolis" Application

Mon 04 Jun 07 1:40 P GMT-05
tags:      

Orcas' Hidden Gem - The managed PNRP stack

Fri 11 May 07 6:45 P GMT-05
tags:        

Orcas EDM Wizard Patched

Fri 27 Apr 07 11:56 A GMT-05
tags:      

Installing Orcas Beta 1 - VMware Style

Mon 23 Apr 07 12:16 P GMT-05

Orcas Beta 1 Released

Fri 20 Apr 07 7:09 P GMT-05

Will Silverlight be DOA?

Mon 16 Apr 07 8:02 P GMT-05

Exploring the MVC Pattern in WPF

Tue 10 Apr 07 12:51 P GMT-05
tags:                      

WPF Bindings == WTF Bindings?

Mon 12 Mar 07 6:31 P GMT-05

Visual Studio "Orcas" - March CTP is Available

Wed 28 Feb 07 12:28 P GMT-05
tags:            

Objective-C Categories vs C# 3.5 Language Extensions

Mon 26 Feb 07 1:05 P GMT-05
tags:                

Cocoa Bindings vs. WPF Binding

Thu 15 Feb 07 5:41 P GMT-05
tags:                

Is the continuous beta the new model for Vista?

Tue 21 Nov 06 8:51 P GMT-05
tags:              

Ulysses Agenda : First Cut Networking Design

Thu 14 Sep 06 12:46 A GMT-05
tags:                  

First Impressions of Windows Vista RC1

Thu 07 Sep 06 1:30 P GMT-05
tags:                      

Localizing a WPF Application

Tue 22 Aug 06 11:39 A GMT-05
tags:            

WPF Slide Show and Photo Album

Fri 18 Aug 06 6:48 P GMT-05

Is Windows Workflow Foundation Too Complex?

Fri 18 Aug 06 12:15 P GMT-05

ADO.NET Entity Framework Announced Today!

Wed 16 Aug 06 11:08 A GMT-05

.NET Framework 3.0 June CTP is out!

Fri 23 Jun 06 6:23 P GMT-05
tags:                

Tech-Ed 2006 - Session Reviews

Tue 13 Jun 06 6:22 P GMT-05
tags:                    

WPF/XAML and LINQ - A match made in heaven

Tue 06 Jun 06 11:32 A GMT-05
tags:                  

Windows Vista Beta 2 - Redeeming Qualities

Tue 30 May 06 2:29 P GMT-05
tags:        

Windows Vista Beta 2 - Day 2

Fri 26 May 06 11:50 A GMT-05
tags:            

Windows Vista Beta 2 - Day 1

Thu 25 May 06 1:01 P GMT-05
tags: