If I try to start debugging an ASP.Net MVC (3 or 4, doesn't matter) using a local IIS 8 it says (just clicking play button):
Unable to start debugging on the web server. Visual Studio has insufficient privileges to debug this process. To debug this process, Visual Studio must be run as an administrator.
If I try to attach manually with DEBUG -> Attach To Process -> Show Process From all Users -> w3wp.exe I get a simmilar message.
Unable to attach to the process. Visual Studio has insufficient privileges to debug this process. To debug this process, Visual Studio must be run as an administrator.
Using IIS Express it works, just the full IIS 8 is stopping me from debugging.
I've enabled Debugging on IIS -> Default Web Site -> .Net Compilation -> Debug = True
I've also tried changing the DefaultAppPool to use ApplicationPoolIdentity / Network Service / My own Account.
And, of couse, I've tried to run VS2012 as administrator.
VinnyG was right. Is a VSCommands problem. Checking Medium Trust on VSCommands disables IIS debug.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With