Click here to Skip to main content
14,846,774 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
After put in remote site this error is coming.

Please Help.

Super_Developer 26-Nov-12 6:12am
where I will find log4net.dll which compatible with dotnet 4.0

Put the log4net.dll in your application folder.
JBSAHU 8-Dec-11 3:00am
Can U please Tell me where I will Find the path for log4net.dll
Raghava40 26-Aug-12 4:54am
did u find solution for this
abhijeetgupta1988 21-Jun-12 9:09am
have you got solution for this??
I tried several things to get my (x64) IIS, Crystal Reports and log4net to get to play together nicely. Things that did not help to get this problem fixed included removing log4net from the assemblies section of the web.config, kicking my machine around the office and trying to recompile log4net for the x64 architecture.

As far as I have been able to find out, these two steps will get it working:

Enable 32 bit ASP.NET IIS integration
Open a command prompt, go to the non x64 framework folder of your choice (for instance C:\Windows\Microsoft.NET\Framework\v4.0.30319) and execute “aspnet_regiis –enable –i”
Enable 32 bit apps for 64 bit IIS
Open a command prompt and execute “cscript.exe %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 true”
If you do not have the admin scripts installed, install the from the ‘Turn Windows features on or off’ option in your Control Panel. The scripts are located under Internet Information Services – Web Management Tools – IIS 6 Management Compatibility – IIS 6 Scripting Tools.

I’m not sure of any negative side-effects at this point. If I run into any in the future I’ll let you know. For now my application is working like a charm!

Hope this helps.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900