Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

Could not load file or assembly 'log4net, Version=1.2.10.0 on developer machine

$
0
0

I know that you get tired of answering this question, but I can't find the answer to my problem anywhere.  I am running Windows 7 64 bit, with Visual Studio 2012.  I have installed http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_7.exe.  I have developed my program and my report.  Now, when I try to execute the program, in debugging mode, on my developer computer, by pressing the F5 key (or equivalent), I get an error "

The type initializer for 'CrystalDecisions.Shared.SharedUtils' threw an exception. Source=Project Status Report."  Looking down the stack trace I get the familiar error about unable to load the log4net file, that it can't find the file.  I should add that this is not a web application, but a Windows application.  I have tried cleaning my project, making sure that log4net isn't installed anywhere in my bin folder, copying log4net (32 bit) to the C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet folder, compiling 64 bit, compiling 32 bit.  Nothing seems to affect this problem.  What else can I do to fix this?



Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>