小编are*_*ami的帖子

无法加载文件或程序集"EntityFramework"或其依赖项之一

我的ASP.NET MVC3 Web应用程序运行正常.但当我重新启动我的电脑然后尝试更新MS VS 2010中的应用程序时,它在运行应用程序期间显示错误:

Could not load file or assembly 'EntityFramework' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
Run Code Online (Sandbox Code Playgroud)

描述:

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. 
Run Code Online (Sandbox Code Playgroud)

异常详细信息: System.IO.FileLoadException:无法加载文件或程序集"EntityFramework"或其依赖项之一.参数不正确.(HRESULT异常:0x80070057(E_INVALIDARG))

来源错误:

在执行当前Web请求期间生成了未处理的异常.可以使用下面的异常堆栈跟踪来识别有关异常的起源和位置的信息.

程序集加载跟踪:以下信息有助于确定无法加载程序集"EntityFramework"的原因.

警告:装配绑定日志记录已关闭.要启用程序集绑定失败日志记录,请将注册表值[HKLM\Software\Microsoft\Fusion!EnableLog](DWORD)设置为1.注意:程序集绑定失败日志记录会导致一些性能损失.要关闭此功能,请删除注册表值[HKLM\Software\Microsoft\Fusion!EnableLog].

堆栈跟踪:

[FileLoadException: Could not load file or assembly 'EntityFramework' or one of its dependencies. The parameter is …
Run Code Online (Sandbox Code Playgroud)

asp.net-mvc-3

8
推荐指数
3
解决办法
4万
查看次数

标签 统计

asp.net-mvc-3 ×1