Asp.net mvc 3 无法加载文件或程序集“System.Web.Mvc,版本=3.0.0.0,区域性=中性,PublicKeyToken=31bf3856ad364e35”
您好,我已经使用VS2010开发了一个ASP.NETMVC3.0应用程序,并在使用IIS的服务器上托管了该应用程序。我在尝试使用托管url访问应用程序时遇到以下错误Asp.net mvc 3 无法加载文件或程序集“System.Web.Mvc,版本=3.0.0.0,区域性=中性,PublicKeyToken=31bf3856ad364e35”,asp.net-mvc-3,iis,web-hosting,Asp.net Mvc 3,Iis,Web Hosting,您好,我已经使用VS2010开发了一个ASP.NETMVC3.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
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)
在服务器上安装MVC或将MVC DLL添加到应用程序的bin文件夹中。。。成功了。我添加到bin文件夹的dll版本不同。我用正确的版本进行了更新,它成功了。谢谢