I am moving an ASP.NET project from .NET 3.5 to .NET 4.
Everything works beautifully if I am debugging under web.dev (ie in Visual Studio [2010]), but as soon as I try to run it under IIS7 [.5], the debugger cannot connect. Running the project directly under IIS just makes it drop 403s (without a subcode, so it doesn't help much).
I set up the site by taking the current (and working!) .NET 3.5 site and changing AppPool to one with .NET.NET 4. I have confirmed that all file permissions are kosher (at least from the point of view of .NET 3.5). It seems to me that I missed some configuration step here ...
The error message when you try to connect the debugger is simply "Unable to start debugging on the web server." Not the most useful error message in the world.
Direct attachment to the w3wp related process strongly indicates that the application is never deployed successfully.
The main question: how to influence this change from .NET 3.5 to .NET 4 for a project running under IIS?
Kevin montrose
source share