Solved errors: Could not load file or assembly log4net when deploying Crystal Reports 2010 for .NET and ReferenceError bobj is not defined

I had a web application that was built in Visual Studio 2010 .NET and Crystal Reports plugin 2010. Everything worked perfect in my development machine. I pushed the web application to the server. This was fine but clicking on the Crystal Reports web page gives the error:



 Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies

I copied log4net assembly file into bin folder but it didn't work! That's weird error!

I downloaded Crystal Reports for Visual Studio redistribution and installed it.

http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_64bit_13_0_1.zip (for 64 bit machine)
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0_1.zip (for 32 bit machine)

or download full package from the below link as well
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_1.exe

I reloaded the web page, it didn't show the above error anymore but still blank report with details:
ReferenceError: bobj is not defined


Just copied c:\initpub\wwwroot\aspnet_client folder to the web path. It worked!

Solved errors: Could not load file or assembly log4net when deploying Crystal Reports 2010 for .NET and ReferenceError bobj is not defined

Comments