I have created a mvc4 web application. It works on my dev environment but when I deploy it to my production environment (WinHost) it generates following error.
I have already changed copy Local to true
Could not load file or assembly 'System.Web.Mvc' or one of its dependencies. Index not found. (Exception from HRESULT: 0x80131124)
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.BadImageFormatException: Could not load file or assembly 'System.Web.Mvc' or one of its dependencies. Index not found. (Exception from HRESULT: 0x80131124)
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Mvc' could not be loaded.
WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Stack Trace:
User contributions licensed under CC BY-SA 3.0