As part of rebuilding our dev CRM environment on Win2K16, and configuring the application I had to go through and install almost everything under the WebServer>Application Development branch of roles/features.
The CRM Application works fine, but when I try to configure other applications including a third party webservice and a bespoke Asp.net application, i encounter the Internal Server Error 500
HTTP Error 500.0 - Internal Server Error
An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
Most likely causes:
•IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.
•IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
•IIS was not able to process configuration for the Web site or application.
•The authenticated user does not have permission to use this DLL.
•The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.
Things you can try:
•Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.
•Check the event logs to see if any additional information was logged.
•Verify the permissions for the DLL.
•Install the .NET Extensibility feature if the request is mapped to a managed handler.
•Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.
Detailed Error Information:
Not yet determined
Not yet determined
Steps I have taken include doing the v4.0 install again using aspnet_regiis -i both Framework & Framework64
Checking permissions on the application folders
The other notable change is that when I attempt to run the aspnet_regiis -pdf to decrypt the web.config it comes up with the error.
Microsoft (R) ASP.NET RegIIS version 4.0.30319.0
Administration utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation. All rights reserved.
Decrypting configuration section...
Failed to decrypt using provider 'RsaProtectedConfigurationProvider'. Error message from the provider: The RSA key container could not be opened. (C:\Program Files (x86)*****line 131)
The RSA key container could not be opened.
This is something that started happening after I figured out that the DotNet configuration is having some kind of issues.
Any help to resolve this would be deeply appreciated