0

I have been working on an ASP.NET Web Application in VS 2015. I have added Crystal Reports in my project. Reports work fine when ran on Local Host, but when I publish it to Server it shows the following error.

Error Image

Solutions I have Tried

  1. Downloaded & Added exact Version of log4net.dll
  2. Set Copy Local = "True" in Properties of log4net.dll
  3. Made sure that Version & Public Key Token is same in my project as given in the image.

And Many more others.

My Application works fine on local host but shows this error on My Login Page when published.

I have been stuck on this for weeks, applied countless solutions found on internet but still can't get rid off it.

Any help would be highly appreciated. Thanks

  • This looks like a duplicate of the question here. https://stackoverflow.com/questions/4208516/crystal-reports-error-when-deployed-could-not-load-file-or-assembly-log4net Did you try all of the solutions on that question? – Troy Witthoeft Jul 25 '20 at 01:57
  • Yes! I tried all of the solutions mentioned here – Taha Waseem Jul 25 '20 at 03:04
  • 1
    Have you actually installed Crystal reports runtime on the server? If so, what msi did you install? – reckface Jul 25 '20 at 15:00
  • @reckface! I don't have any idea how to install runtime on server. Kindly guide if possible, I am using Azure. – Taha Waseem Jul 25 '20 at 21:13
  • @TahaWaseem I see. What version of the Crystal are you using in development? – reckface Jul 26 '20 at 19:56

0 Answers0