0

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. 
4

1 回答 1

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>
于 2013-04-23T09:54:47.710 回答