question

AnilKunjunny-6427 avatar image
0 Votes"
AnilKunjunny-6427 asked LimitlessTechnology-2700 answered

HTTP Error 500 Internal Server Error - Error Code 0x80040153

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:



Module
AspNetInitClrHostFailureModule

Notification
BeginRequest

Handler
ExtensionlessUrlHandler-Integrated-4.0

Error Code
0x80040153



Requested URL
http://localhost:80/**

Physical Path
C:\Inetpub\wwwroot*

Logon Method
Not yet determined

Logon User
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.
Failed!

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

windows-serverwindows-server-iisdotnet-aspnet-general
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AnilKunjunny-6427

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.

It is difficult to reproduce your problem based on your description, you need more detailed error information to analyze and solve the problem, as the error message says, you need to check at the application event log, and you can also try to use failed request tracing to see details about 500 error.

0 Votes 0 ·

1 Answer

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello

Thank you for your question and reaching out.
I can understand you are having some issues related to IIS.

  1. Please enable verbose logging and check Third party or CRM application logs from Logs folders

  2. Disable any Antivirus program or Windows firewall you may have for temporary purpose.

  3. Please try to re-install dependency applications required for this like runtime or dot net framework.
    4 . Please try to set IIS pool to 32-Bit instead of x64 .




--If the reply is helpful, please Upvote and Accept as answer--

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.