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

后端 未结 6 1550
自闭症患者
自闭症患者 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 18:41

    For me I had a VB Application project and under Compile options, I had "Any CPU" selected for Target CPU and I also had the "Prefer 32-bit" checked. When the compiled app ran on a 64 bit machine, which only had the x64 runtime installed it could crash with this error, because it tried running as a 32 bit app and wanted the 32 bit runtime. Unchecking this option and recompiling made it work correctly.

提交回复
热议问题