Could not load file or assembly 'vjscor, Version=2.0.0.0, Culture=neutral, 问题解决方法

未能加载文件或程序集 “System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes” 或它的某一个依赖项。给定程序集名称或基本代码无效。 (异常来自 HRESULT:0x80131047) 
说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

Could not load file or assembly 'System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.IO.FileLoadException: Could not load file or assembly 'System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
 
Make sure your .NET framework is patched.  Microsoft released patches to .NET to allow Portable Class Libraries to properly find the appropriate runtime ( KB2468871 ). If you are seeing the above exception (or something like it), it means you're missing the latest .NET framework patches.

该问题是由于没有更新.net4.0补丁导致,可到微软网站下载相关补丁

https://www.microsoft.com/zh-CN/download/details.aspx?id=3556

你可能感兴趣的:(ASP.net网站知识)