ERRMSG: Application Configuration is Incorrect on 64-bit IIS server


Error example:

This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)

-----

An issue that can cause this is when the user's MSVCx80.DLL has different file version numbers than what we use, and SxS assemblies being a slightly different version (we expect version 2.0.50727.762).

The following package from Microsoft is recommended:

SxS assemblies (SP1) -- Microsoft Visual C++ 2005 SP1 Redistributable Package (x64)

Original Article:
Q10223 - ERRMSG: Application Configuration is Incorrect on 64-bit IIS server