Labels

Flash (1)

Friday, October 15, 2004

Unable to start debugging on the web server.

If you get the message, "Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged." You might not have created a virtual directory in IIS for your project.

To do this, right-click on My Computer.
Select "Manage."
Expand Services and Applications
Expand Internet Information Services
Expand Web Sites
Expand Default Web Site (or wherever your application is hosted)
Go to your project folder (it should have the folder icon)
Right-click on your project folder
Select "Properties"
Click on the Create Button.
Your project folder will change from the folder icon to the package icon.

Also, you may not have ASPNET user set up on your project.
Try this:
Find your project folder in C:\inetpub\wwwroot
Right-click on it and select "Sharing and Security"
Select the Security tab
Is ASPNET there?
If not, click on "Add"
Click on "Location" and select your local computer
Type in the user name "ASPNET"
Click OK
It should have added that user to your list of users.
Now make sure ASPNET user had read/write/modify priviledges.



Microsoft also has some help on this: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/html/vxtbshttpservererrors.asp

No comments: