无法加载文件或程序集 Microsoft.Practices.EnterpriseLibrary.Common,版本=4.1.0.0 ASP.NET 4.0

发布于 2024-09-30 10:04:24 字数 554 浏览 0 评论 0原文

平台:ASP.NET 4.0
应用程序:附加了 Datalib ClassLibrary 的网站项目
依赖项:
项目的依赖关系 IIS:5.1(本地和 IIS 7.0 在线)

我在 localhost 收到错误。我还没上网查过。
整个事情在 ASP.NET 3.5 上运行,现在当我升级到 ASP.NET 4.0 时,出现以下错误。

浏览器的黄色屏幕

堆栈跟踪为

alt text

在 VisualStudio 2010 中,错误为

alt text

这并不是每次都会发生。
第一次运行总是显示此错误。

可能出什么问题了?

Platform : ASP.NET 4.0
Application : A website project with a Datalib ClassLibrary attached to it
Dependencies:
Dependencies of the project
IIS: 5.1(local and IIS 7.0 online)

I am getting the error at localhost. I haven't checked online yet.
The whole thing was working at ASP.NET 3.5 and now when i upgraded to ASP.NET 4.0 I get the following error.

The yellow screen at Browser

The Stack Trace is

alt text

At VisualStudio 2010, the error is

alt text

This is not happening everytime.
The first runs always show this error.

What could be wrong?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

清晨说晚安 2024-10-07 10:04:24

我猜由于某种原因它在错误的位置查找...尝试将此程序集添加到服务器 GAC 并将其从 BIN 文件夹中删除。

I guess it's looking in the wrong place for some reason... try adding this assembly to the server GAC and remove it from the BIN folder.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文