Unofficial Content
  • This documentation is valid for:

The requested page cannot be accessed because the related configuration data for the page is invalid.
Cannot read configuration file due to insufficient permissions.

Reasons/Solutions:
This error occurs in IIS 7.0 or higher (that is, Win7 or Win2003). It happens because there are no permissions for the user who ran the application. 
To solve you, can try the following:
  1. Make sure IIS has .NET Framework enabled. You can access the default website properties and check if there is an ASP.NET entry there. If there is not, you need to register the .NET framework, which you can do by running C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_Regiis -i

    If you use Framework 4.5, you need to register with: ​dism /online /enable-feature /featurename:IIS-ASPNET45 /all
     
  2. Change the user of the Application POOL configured in this virtual directory;  
  3. Through Windows Explorer, increase the default user's permissions (such as ASPNet, Everyone, or Authenticated User). Take into account the risk of giving more permissions to predefined system users;
  4. It could happen in IIS 8.5 running on Windows 8.1. In this case, make sure there aren't any duplicate MIME type definitions in IIS and the web.config file;
  5. Also, HTTP Activation of WCF service may not be installed. Install it via Windows Features;
  6. Check URLRewrite or here
  7. Enable a configuration section in config files. More information here or here;
Other solutions: https://docs.microsoft.com/en-us/troubleshoot/developer/webapps/iis/health-diagnostic-performance/http-error-500-19-webpage
 
 FaqNetError500.19

 

 

 

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant