assembly \'Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces," />
开发者

Could not load file or assembly error

I got an error Message like

"Could not load file or >assembly 'Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces, Versi开发者_运维问答on=1.0.2732.30552, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."

How can I solve this?


Use the assembly binding log viewer to find out what exactly is failing to load and fix that.

The error explains exactly what is going on - the assembly specified cannot be found, or one of its dependencies cannot be found. You might have an assembly of that name but wrong version.


Microsoft.ApplicationBlocks.ExceptionManagement isn't compatible with .Net framework 4.6.2. If your application is deployed on a server with framework 4.6.2 or later, the application will stop working and the w3wp process crashes causing the app pool to stop. You have to change the code and use log4net instead. The application will work fine on framework 4.6.2 once the exception manager code is removed.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜