部署asp.net项目后抛出错误

时间:2015-04-10 13:01:05

标签: c# asp.net web-deployment

我正在使用webforms,它在本地机器上工作正常,但是我在其上部署项目服务器的时候会引发以下错误。我没有得到它的来源。

我在项目中使用以下包:

  1. Captcha.3.0.16.0
  2. jQuery.2.1.3
  3. jQuery.UI.Combined.1.11.4
  4. 这是我得到的错误屏幕:

    错误说明:

    Server Error in '/CabeePortal' Application.
    Parser Error
    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
    
    Parser Error Message: Reference.svcmap: Could not load file or assembly 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
    
    Source Error:
    
    
    [No relevant source lines]
    
    
    Source File: /CabeePortal/App_WebReferences/CabPortalWS/    Line: 1
    
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.
    
    
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    
    
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929
    

    enter image description here

0 个答案:

没有答案