【问题标题】:Could not load file or assembly 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'无法加载文件或程序集“System.Web.Mvc,版本=3.0.0.0,文化=中性,PublicKeyToken=31bf3856ad364e35”
【发布时间】:2014-10-26 07:50:06
【问题描述】:

您好,我已经使用 VS 2010 开发了一个 ASP.Net MVC 3.0 应用程序,并将其托管在使用 IIS 的服务器中。我在尝试使用托管 url 访问应用程序时遇到以下错误。

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)

【问题讨论】:

标签: asp.net-mvc-3 iis web-hosting


【解决方案1】:

在服务器上安装 MVC 或将 MVC DLL 添加到应用程序的 bin 文件夹中

【讨论】:

  • 是的……它奏效了。我添加到 bin 文件夹中的 dll 是不同的版本。我用正确的版本更新,它工作。谢谢。
猜你喜欢
  • 1970-01-01
  • 2020-03-08
  • 2018-03-05
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-07-07
  • 2014-02-09
相关资源
最近更新 更多