相关疑难解决方法(0)

无法加载文件或程序集'System.Web.Mvc,Version = 3.0.0.0,Elmah.MVC问题

本地 - 我的MVC 4,asp.net,c#app在IIS 8/Windows 8上正常运行.

部署到Windows Server 2008时,我收到此错误:

Could not load file or assembly 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Run Code Online (Sandbox Code Playgroud)

[FileLoadException: Could not load file or assembly 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
   Elmah.Mvc.Bootstrap.Initialize() +0

[InvalidOperationException: The pre-application start initialization method Initialize …
Run Code Online (Sandbox Code Playgroud)

asp.net asp.net-mvc assemblies asp.net-mvc-4 elmah.mvc

33
推荐指数
1
解决办法
6万
查看次数