拒绝访问。 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: 拒绝访问。请教各位上述问题如何解决?

解决方案 »

  1.   

    如果是NTFS格式的,你就点文件夹,属性,安全,点Everyone可以控制,然后在IIS权限里设置集成windows登录,去掉匿名登录
      

  2.   

    http://msdn2.microsoft.com/zh-cn/library/xh507fc5.aspx
      

  3.   

    要是改权限的话,你可以到控制面板--管理工具--电脑管理
    里去把 ASPNET 设成管理员
      

  4.   

    非常感谢 copico(一路向北) 问题解决,同时感谢回帖的各位朋友!
      

  5.   

    但有一问题,那就是
    集成windows登录,去掉匿名登录
    我的网站不就无法匿名访问了?