Unable to start debugging on the web server

  出错环境:Window XP SP2、Vistual Studio 2003、IE 7

  出错信息:Error while trying to run project: Unable to strart debugging on the web server. You do net have permission to debug the application. The URL for this project is in the Internet zone. 

  解决方法:
    First I found a solution from internet:
     1. In the Internet Explorer, "Tools" Menu, select "Internet Options".

     2. Switch to "Security" Tab.

     3. Click on "Internet" (The Globe Icon. Its actually the default selected).

     4. Click on "Custom Level" in the bottom.

     5. Scroll down to find the "User Authentication" section.

     6. Select "Automatic logon with current username and password".

     7. Click "Ok" twice to exit.

    But this did not work for me. So I found another solution:
    In ISS
    Goto Web Sites -> Default web site -> ***Select the virtual directory***
    Right click & get Properties
    Select 'Directory Security' tag
    Under 'Anonymous access and authentication control' Press 'Edit' button
    Make sure that 'Integrated Windows authentication' check box is "CHECKED"
 
So it works!!!
posted @ 2007-06-26 17:30  Jailu  阅读(3337)  评论(2编辑  收藏  举报