5

My application is running on windows server 2000 and IIS 6. Up until this morning the application was working fine. But now I'm getting the error below:

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

Does anyone know what's going on?

Kurtis Nusbaum
  • 30,445
  • 13
  • 78
  • 102
slash shogdhe
  • 3,943
  • 6
  • 27
  • 46
  • are the automatic updates enabled on the server? Any changes in server or the network on which the server lies? contact your hosting company... – Naveed Butt Feb 16 '12 at 06:30
  • Windows 2000 ships IIS 5, so I wonder what exactly is the platform you use. Besides Windows 2000 (IIS 5) and Windows Server 2003 (IIS 6) are all end of life. You must migrate to a newer Windows release right now (even in 2016). – Lex Li Mar 16 '17 at 01:36

1 Answers1

0

Check that the account which the application pool is running under has access to

'C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Config\machine.config'

The permissions may have changed if the user account was updated or .NET was updated

benni_mac_b
  • 8,803
  • 5
  • 39
  • 59
  • To view effective permissions on files and folders. Open Windows Explorer, and then locate the file or folder for which you want to view effective permissions. Right-click the file or folder, click Properties, and then click the Security tab. Click Advanced, click the Effective Permissions tab, and then click Select. https://technet.microsoft.com/en-gb/library/cc771586.aspx – benni_mac_b Sep 21 '15 at 10:55