我在加载网站的site.master
页面时收到以下错误
错误:
Could not load file or assembly 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. C:\TravelRequest_old\App_Themes\Aqua\MVCxPivotGrid.skin
我已在
上传 syetem.web.mvc第3版的新 dll 文件 C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 3
并且还添加了来自解决方案资源管理器的引用。然后我收到以下错误
错误:
Could not load file or assembly 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key.
答案 0 :(得分:0)
您是否已在Web中配置此程序集.Config:
<system.web>
<compilation targetFramework="4.0">
<assemblies>
<add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</assemblies>
</compilation>
</system.web>