Reputation: 24396
Is it possible to debug an Asp.Net website running on iis? I am able to debug an Asp.Net web application project, but not a web site, and wanted to know if this is by design or am I missing something.
Upvotes: 11
Views: 22465
Reputation: 3355
Had this same problem. The key is to not open the project using the visual studio project file.
Upvotes: 17
Reputation: 24078
This should work:
Upvotes: 3
Reputation: 10681
you can attached the asp_wp into your Visual Studio debuggar to debug it.
Upvotes: 4
Reputation: 7412
It works fine for me. You just copy the files over to the IIS folder, set IIS up and go. (If on the same machine). Make sure your project properties specify "Custom web server" and "http://localhost" (or whatever).
On Vista you need to be running Visual Studio as an Administrator.
If you're running your IIS on a different machine, you'll need to install the Remote Debugger which is on your Visual Studio disks and connect to hat by using Debug|Attach To Process in Visual Studio.
Upvotes: 1