Crystal Reports error when deployed..Could not load file or assembly 'log4net

后端 未结 6 1549
自闭症患者
自闭症患者 2020-12-04 18:32

Please help. I have a web application that was built in VS2010 and we are using the CR plugin for 2010 and everything works perfect on our local machines. When we go to de

6条回答
  •  我在风中等你
    2020-12-04 19:02

    If you have a x86 development machine and your web server is a 64-bit machine, you may be running into the problem discussed here:

    http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/546059a6-7179-4027-8f16-822ac6dc189a/

    Visual Studio is automatically deploying a 32-bit log4net.dll into the 64-bit web server, even if you don't have it referenced in your project. Just delete the log4net.dll from your bin directory once deployment has finished because it's not actually required by the CR runtime to work.

提交回复
热议问题