1534376 - Error: Could not load file or assembly 'log4net'...

SAP Knowledge Base Article - Public

1534376 - Error: Could not load file or assembly 'log4net'...

Symptom

  • Using CRVS2010
  • There is no error if the project's platform target is set to x86
  • Using 'Any CPU' or x64 results in the error;

ASPNETCOMPILER : error ASPCONFIG: Could not load file or assembly 'log4net' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Environment

  • CRVS2010
  • VS .NET 2010

Resolution

Keywords

KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , How To

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio