IIS: Cannot Write Configuration File due to Insufficient Permissions
来源:互联网 发布:淘宝联盟如何身份认证 编辑:程序博客网 时间:2024/04/30 23:14
http://jwcooney.com/2014/05/22/iis-cannot-write-configuration-file-due-to-insufficient-permissions/
I was setting up an ASP.NET application in IIS 8 when this error message all of a sudden popped up:
Error: Cannot Write Configuration File due to Insufficient Permissions
I wasn’t sure what was going on at first… why was IIS saying it didn’t have the right level of permissions to write to a file? I couldn’t continue with the site setup since I was unable to change the default document settings in IIS or the.NET Authorization rules. The error would just keep showing.
I started trying to adjust all sorts of permissions before I realized: wait a second… could the ReadOnly setting be toggled on the Web.config file?
And that was exactly the problem. The Web.config file had been set to read-only. As soon as I clicked the read-only toggle off on this file, I was able to continue changing the settings that I needed to get the site up and running in IIS.
It would be nice if some of these Microsoft error messages could be more exact as to what problem is happening. This error had me wondering about permissions settings in the Web site folder/files, while the actual issue was a simple read-only setting on the Web.config file. If you ask me, Microsoft should just set this error as:
Error: Cannot Write to Configuration File due to Read-Only being set to true
There, isn’t that much clearer? The problem and the actual solution in one simple error message
- IIS: Cannot Write Configuration File due to Insufficient Permissions
- ovirt python sdk query execution failed due to insufficient permissions
- AADSTS90093:Calling principal cannot consent due to lack of permissions
- Impala SQL: Unable to LOAD DATA from HDFS path due to WRITE permissions
- Jira plugin cannot startup due to "Error parsing class file"
- unix中的file permissions (read write execute)
- VS2005: cannot load the project due to a corrupt project file
- 【旧资料整理】cannot load the project due to a corrupt project file
- insufficient permissions for device
- C#http访问提示Insufficient permissions for setting the configuration section 'defaultProxy'
- cannot write file to virtual machine aborting the file copy operation.
- Linux学习之旅 (异常Cannot write file to virtual machine. Aborting the file copy operation)
- Run Configuration error:broken configuration due to unavailable
- 安装mysql出现write configuration file
- Wrong permissions on configuration file, should not be world writable!
- Wrong permissions on configuration file, should not be world writable!
- Wrong permissions on configuration file, should not be world writable!
- Magento Connector: Error: Please check for sufficient write file permissions
- [游戏运营期间开发]纪律性
- 黑马程序员_继承
- Trace Failed Requests <traceFailedRequests>
- How to Enable Failed Request Tracing for UNC Hosting
- debian-纯文本行下和图形下-分辨率设置
- IIS: Cannot Write Configuration File due to Insufficient Permissions
- codeforces 604B More Cowbell
- 黑马程序员_继承中子父类的实例化过程
- debian8-my-cmd-history.log
- MATLAB链接MinGW编译器
- c++游戏中接入lua脚本系统
- OpenGL ES 2.0渲染管线
- android中setClickable,setEnabled,setFocusable的含义及区别
- Get IIS Errors Into Elastic