Monday, January 28, 2008

Unable to start debugging on the server. You do not have permission to debug the server.

废话少说。
我的机子操作系统是server2003,.NET环境是1.1的。这几天机子出现以下问题:
在调试WEB项目时,CTRL + F5 能运行。但是F5 的时候,会在编译完成后,提示一下信息:
Unable to start debugging on the server. You do not have permission to debug the server.
Verify that you are a member of the The ‘Debugger Users’ group on the server.

在网上google一下,会找到很有用的信息,不过不一定就是需要的。我就找了,也做了,也看了帮助,但是就是没有能够解决,郁闷。

不过今天我有重新做了一下,居然解决了,呵呵!
下面给出具体的办法,系统能解决你的问题,是英文的,不过简单,不用我翻译了吧,呵呵。其实,我懒 ^-^ :P)

* Cause 1: Make sure that “Integrated Windows Authentication” is enabled. Probably, you enabled only “Basic authentication” for Directory security of IIS.

* Cause 2: If you are using “Integrated Windows authentication”, you need to make sure that your user account has full control on the directory of the IIS.

*

Cause 3: If you created the web project with a full machine name (like “machinename.domainname.something”), the web site is recognized as “Internet” site. So the default setting of IE will impact on the behavior of log on. In this case, you need to enable logging on with your current user account in “Internet” area with IE setting.

But it is not the default setting of IE, so you’d be better off if you create project with only the machine name.
*

这个是我需要的。如果还没有解决你的问题,你可能要看看是不是你的IE设置有问题了。大家知道Server2003的IE的安全级默认是高,所以用IE的时候,是需要权限的。恩,问题就出在这里。打开IE,CTRL + T ,Ctrl + O,之后出来Internet选项。
选择安全,在 请为不同区域的Web内容指定安全设置下的图标中,选择本地Intranet,自定义级别中,找到用户验证节,选择自动使用当前用户名和密码登录(最后一项)。




最后,最好是重启一下你的机子。好了问题解决了。祝你愉快!如果你还有什么问题,可以联系我:richabstract@gmail.com


Related Posts



0 Comments:

 

gf

rgdfgfdg

gf

gf

gf