I cant debug a Web Application on VS2012 running on Windows 8.
I just start a new ASP.Net Web Forms Application using .Net 4.0, and after creating the project and press F5, i receive that message:
"Unable to start debugging on the web server. Could not start ASP.NET debugging. More information may be available by starting the project without debugging."
Also, that error only happens when using my local IIS Web Server. When using VS Development Server that same error doesnt happens.
IT appears to be you don't have anonymous auth or necessary authentication mode not enabled. Also some other permission issue or wrong runtime app pool you are using.
You have to set necessary authentication settings for your IIS Virtual directory or Application.
Please go to "inetmgr.exe" -> go to your application -> Authentication and check necessary auth enabled.
Also please confirm with what Application Pool your application is configured in the IIS.
Hope that helps!
Cheers,
Nithin Mohan T K | Technology Specialist | http://www.nitrix-reloaded.com
Try These Steps may one of this will solve your issue...
Re-Register ASP.NET From a command prompt window, run the following command: systemroot\Microsoft.NET\Framework\versionNumber\aspnet_regiis -i
Make sure that IIS is configured to use Integrated Windows Authentication. Look for the checkbox on the Authentication Method dialog launched from the Directory Security tab of the site properties.
Make sure that HTTP Keep Alives are enabled. You'll find that checkbox on the Web Site tab of the properties dialog, in the connections section.
This one is strange, but it seemed to do the trick for many out there, add http://localhost to the trusted sites in Internet Explorer. To tell the truth, this seems to be a fix for the symtoms, not actually fixing the problem itself, but if it works
it works. BTW, you'll have to uncheck the “Require server verification (https:) for all sites in this zone“ checkbox to add it as a trusted site.
My VS2012 is debugging perfectly right now. Like i remember, try to run the VS2012 as an Administrator. But if you have the VS2012 shortcut on the taskbar, don't try to open a recent project shortcut, this won't work. If this solution works for you, please
mark it as answered.
lommez
0 Points
5 Posts
Unable to start debugging on the web server on VS2012 / Windows 8
Sep 06, 2012 09:10 PM|LINK
I cant debug a Web Application on VS2012 running on Windows 8.
I just start a new ASP.Net Web Forms Application using .Net 4.0, and after creating the project and press F5, i receive that message:
"Unable to start debugging on the web server. Could not start ASP.NET debugging. More information may be available by starting the project without debugging."
Also, that error only happens when using my local IIS Web Server. When using VS Development Server that same error doesnt happens.
Anyone knows what can be that?
Thanks
nithinmohant...
Member
17 Points
8 Posts
Re: Unable to start debugging on the web server on VS2012 / Windows 8
Sep 07, 2012 01:13 AM|LINK
IT appears to be you don't have anonymous auth or necessary authentication mode not enabled. Also some other permission issue or wrong runtime app pool you are using.
You have to set necessary authentication settings for your IIS Virtual directory or Application.
Please go to "inetmgr.exe" -> go to your application -> Authentication and check necessary auth enabled.
Also please confirm with what Application Pool your application is configured in the IIS.
Cheers,
Nithin Mohan T K | Technology Specialist | http://www.nitrix-reloaded.com
MahadTECH
Star
8976 Points
1659 Posts
Re: Unable to start debugging on the web server on VS2012 / Windows 8
Sep 07, 2012 01:38 AM|LINK
Try These Steps may one of this will solve your issue...
Good Luck`
Mahad Bin Mukhtar
Remember to Mark the replies as Answers
The easiest day was 'yesterday'.
MCP, MCSD
For .NET TECH Blog
lommez
0 Points
5 Posts
Re: Unable to start debugging on the web server on VS2012 / Windows 8
Sep 10, 2012 09:56 PM|LINK
Hi, are you using IIS 8/ Windows 8/ Visual Studio 2012?
I've tried all those options that you sent me.
But still not working.
Best regards,
Marcos
henrikdahl
Member
2 Points
1 Post
Re: Unable to start debugging on the web server on VS2012 / Windows 8
Nov 06, 2012 02:57 PM|LINK
Marcos,
Did you make it to work because I've got the same problem so I would appreciate to read about your solution, please?
Best regards,
Henrik Dahl
lommez
0 Points
5 Posts
Re: Unable to start debugging on the web server on VS2012 / Windows 8
Nov 06, 2012 03:28 PM|LINK
My VS2012 is debugging perfectly right now. Like i remember, try to run the VS2012 as an Administrator. But if you have the VS2012 shortcut on the taskbar, don't try to open a recent project shortcut, this won't work. If this solution works for you, please mark it as answered.
Best regards,
Marcos Lommez