Has anyone else been able to debug a AJAX-enabled Web Application (not website) using IIS7 (in Vista Ultimate) instead of the built in web server? My project requires that I use both WAP (web application project) and debug against II7.
When I hit the start button in VS2005, I get the following message:
"Unable to start debugging on the web server. The web server is not configured correctly. See help for common configuration errors. Running the web page outside of the debugger may provider further information."
Clicking the help button further reduces the error message to simply:
"Error: The web server is not configured correctly"
Here's what I've done up to this point:
1) I've executed the VS2005 shortcut with "Run As Administrator" in Vista Ultimate
2) I have 'Windows Authentication' enabled in IIS7
3) I have the IIS6 compatibility metabase, etc installed
4) I've tried switching my application pool from integrated to classic.
5) Extra: I'm running VS2005 SP1 with the Vista performance hotfix installed.
Even with all those commonly recommended fixes, I still get the error message listed above. And it has specifically to do with the AJAX extensions and WAP (not websites). I'm able to debug a non-AJAX web application project just fine.
UPDATE: I had a friend replicate the problem on his own PC. It specifically has to do with AJAX related tags in the web.config for a Web Application Project (WAP). Remove those (which disables AJAX) and it works fine. We also confirmed that this is not a problem in VS2008 WAP with AJAX. So VS2005, IIS7, WAP, AJAX debugging specifically cause the problem. And just what I was needing (lucky me)! So this looks like a real issue for Microsoft to address.
Any ideas? Is this an issue that needs to be brought to Microsoft's attention?
Thanks in advance!
Chris