开发者

Could not load file or assembly Microsoft.Practices.EnterpriseLibrary.Common, Version=4.1.0.0 ASP.NET 4.0

开发者 https://www.devze.com 2023-01-23 02:46 出处:网络
Platform : ASP.NET 4.0 Application : A website project with a Datalib ClassLibrary attached to it Dependencies:

Platform : ASP.NET 4.0

Application : A website project with a Datalib ClassLibrary attached to it

Dependencies:

Could not load file or assembly Microsoft.Practices.EnterpriseLibrary.Common, Version=4.1.0.0 ASP.NET 4.0

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.

Could not load file or assembly Microsoft.Practices.EnterpriseLibrary.Common, Version=4.1.0.0 ASP.NET 4.0

The Stack Trace is

Could not load file or assembly Microsoft.Practices.EnterpriseLibrary.Common, Version=4.1.0.0 ASP.NET 4.0

At VisualStudio 2010, the error is

Could not load file or assembly Microsoft.Practices.EnterpriseLibrary.Common, Version=4.1.0.0 ASP.NET 4.0

This is not happening everytime.

The first runs always 开发者_JAVA百科show this error.

What could be wrong?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消