machine.config'被拒绝
问题描述:
我的应用程序在windows server 2000
和IIS 6
上运行。 直到今天上午,应用程序工作正常。但现在我得到下面的错误:machine.config'被拒绝
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: An error occurred loading a configuration file: Access to the path 'C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Config\machine.config' is denied.
Source Error:
[No relevant source lines]
Source File: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Config\machine.config Line: 0
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
有谁知道发生了什么事?
答
检查应用程序池在其下运行该帐户可以访问
'C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Config\machine.config'
如果用户帐户被更新或.NET进行了更新
+0
如何检查它...? – 2015-09-21 05:49:36
+0
查看文件和文件夹的有效权限。打开Windows资源管理器,然后找到要查看其有效权限的文件或文件夹。用鼠标右键单击该文件或文件夹,单击属性,然后再单击安全选项卡。单击高级,单击有效权限选项卡,然后单击选择。 https://technet.microsoft.com/en-gb/library/cc771586.aspx – 2015-09-21 10:55:23
是启用了自动更新的权限可能已经改变服务器?服务器或服务器所在网络的任何更改?联系您的托管公司... – 2012-02-16 06:30:49
Windows 2000发布IIS 5,所以我不知道你使用的是什么平台。除了Windows 2000(IIS 5)和Windows Server 2003(IIS 6)之外,所有这些都已结束。您现在必须迁移到更新的Windows版本(即使在2016年)。 – 2017-03-16 01:36:09