zoukankan      html  css  js  c++  java
  • Cannot read configuration file due to insufficient permissions

    HTTP Error 500.19 - Internal Server Error

    The requested page cannot be accessed because the related configuration data for the page is invalid.

    Detailed Error Information
    Module IIS Web Core
    Notification Unknown
    Handler Not yet determined
    Error Code 0x80070005
    Config Error Cannot read configuration file due to insufficient permissions
    Config File \?C:UsersEricSunDocumentsVisual Studio 2010WebSitesSSOAuthWebSite1web.config
    Requested URL http://10.2.5.153:10001/
    Physical Path  
    Logon Method Not yet determined
    Logon User Not yet determined
    Config Source
     -1:     0:  
    Links and More InformationThis error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.

    View more information  »

     

    Cause:1) 没有向iis中注册.net framework(引起的原因之一:先安装了.net framework,后安装的iis)

        2) 没有对IIS中所配置的site有足够的操作权限(Modify权限)

    Solution:

        1) 到C:WindowsMicrosoft.NETFramework64v2.0.50727下,

          用命令向iis中重新注册一下.net framework:aspnet_regiis -i

        2) IIS Manager --> Sites --> 相应的site --> 点击右键 --> Edit Permissions --> Security --> Group or user names --> Edit --> Add --> 添加赋予Full Control权限(实质上带有Modify的权限就可以)的Everyone用户

  • 相关阅读:
    【C++】对象模型之Function
    linux扩展磁盘
    swift文件操作
    WEEK丢人周
    swift upload
    桌面管理器
    linux 撤销软件卸载
    声明Complex类,成员变量包括实部和虚部,成员方法包括实现由字符串构造复数、复数加法、减法,字符串描述、比较相等等操作
    eclipse踩坑
    QQ语音消息提取 amr文件解密
  • 原文地址:https://www.cnblogs.com/Jian-Zhang/p/6054770.html
Copyright © 2011-2022 走看看