由于IIS 8.5与server 2012 R2的权限不足,无法读取配置文件 [英] Cannot read configuration file due to insufficient permissions in IIS 8.5 with server 2012 R2

查看:542
本文介绍了由于IIS 8.5与server 2012 R2的权限不足,无法读取配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,



我现在有MVC 5应用程序我想在Server 2012 R2上安装他的应用程序,然后我收到错误无法读取配置文件由于IIS 8.5中的权限不足



我搜索很多但从未得到正确答案。



相同的应用程序在Windows 2010和2007上运行。



请帮我讲一下。



问候,

Sandip Patil



我的尝试:



由于IIS 8.5中的权限不足而无法读取配置文件

解决方案

将该错误消息放入Google会使用该解决方案返回数千次点击。本页右侧还有一系列相同的问题。

  1. 登录服务器;
  2. 打开Windows资源管理器,找到您已部署应用程序的文件夹;
  3. 右键单击该文件夹并选择属性;
  4. 选择安全选项卡,然后单击编辑... ;
  5. 点击添加...;
  6. 输入IIS_IUSRS(不带引号),然后点击检查姓名;
  7. 组名解析后,单击确定三次;



您现在应该能够浏览到您的应用程序。


Dear All,

I Have MVC 5 Application now i would like to install his Application on Server 2012 R2, then i got the Error "Cannot read configuration file due to insufficient permissions in IIS 8.5"

I serach lot but never get the proper Answer.

same application Run on Windows 2010 and 2007.

Please help me about the Same.

Regards,
Sandip Patil

What I have tried:

Cannot read configuration file due to insufficient permissions in IIS 8.5

解决方案

Putting that error message into Google returns thousands of hits with the solution. There are also a list of identical questions on the right-hand side of this page.

  1. Log in to the server;
  2. Open Windows Explorer, and locate the folder where you have deployed your application;
  3. Right-click on the folder and select "Properties";
  4. Select the "Security" tab, and click "Edit...";
  5. Click "Add...";
  6. Enter "IIS_IUSRS" (without the quotes), and click "Check Names";
  7. Once the group name has resolved, click "OK" three times";


You should now be able to browse to your application.


这篇关于由于IIS 8.5与server 2012 R2的权限不足,无法读取配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆