试试在iis配置中,取消匿名访问选项

解决方案 »

  1.   

    感谢您使用微软产品。
    据我所知,有以下几个原因:
    1.你的IIS的virtual directory的Integrated Windows Authentication这个选项没有选中,你只使用了basic authentication2. 如果你使用了Integrated Windows Authentication,你应该保证你的ASP.NET的账户对该virutal directory有完全的访问权限3.如果你的ASP.NET项目创建在一个完全的机器名上,比如(www.yourcompany.com),那么该网站将被视为internet site. IE的default setting会影响登陆验证。 IE -> Tools -> Internet options -> Security -> internet -> custom level -> user authentication,选中automatic logon with current username and password.希望对你有所帮助!- 微软全球技术中心 VC技术支持
     
    本贴子以“现状”提供且没有任何担保,同时也没有授予任何权利。具体事项可参见使用条款
    (http://support.microsoft.com/directory/worldwide/zh-cn/community/terms_chs.asp)。
    为了为您创建更好的讨论环境,请参加我们的用户满意度调查
    (http://support.microsoft.com/directory/worldwide/zh-cn/community/survey.asp?key=(S,49854782))。