1

I got an error Message like

"Could not load file or >assembly 'Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces, Version=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?

forsvarir
  • 10,749
  • 6
  • 46
  • 77
shijuse
  • 281
  • 1
  • 5
  • 11
  • Please show the line of code that throws this exception with additional lines for context so that we may perhaps see what is happening leading up to your error. – Cos Callis May 20 '11 at 11:36

2 Answers2

3

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.

Oded
  • 489,969
  • 99
  • 883
  • 1,009
0

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.

  • Hm. I don't see any information about them using framework 4.6.2, how are you so sure this will solve their issue? – Mark Davies Jan 16 '20 at 16:12