Could not load file or assembly CrystalDecisions.CrystalReports.Engine

人盡茶涼 提交于 2019-11-30 21:11:07

Try with installing SAP Crystal Reports runtime engine for .NET Framework. It works for me.

Mike C.

Check out this post on when the GAC vs BIN folder gets used. It sounds possible that the other users have it in their bin folder. I'd start by checking there. Or in this case, I might start by putting it there and see if the problem is resolved, since you have a user that cannot work right now.

David Parvin

I know this is an old question, but it was never answered, and I think this might help. I have seen this issue with using crystal reports while compiling in .NET Framework 4.0 or later. To fix it you have to add an app.config file to your project and put in an entry that tells the framework to use the legacy loader. See Crystal Reports are not working in Visual Studio 2010

<startup useLegacyV2RuntimeActivationPolicy="true">
  <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>

Hey I was also having this problem. In windows 7 vs2010 , But i installed this SAP Crystal Reports, developer version for Microsoft Visual Studio Updates & Runtime from this site now its working fine. Link is mentioned below

http://scn.sap.com/docs/DOC-7824

Chandrasekhar Goteti

Here is one reason I got the error. I installed Crystal reports 11 version and the assembly in the GAC is 11.0.3300.0 (To check the version installed in your machine Windows+R => assembly). Screenshot/link below shows the version installed on my machine.

But in web.config of my code that I obviously checked out from my server is looking for crystal reports version 13.0.2000.0.

Solution: Renamed the version, PublickeyToken as per the installed crystal Reports version in my web.config. and this made my code running.

I had the same problem. The first line of the exception message is indicating that your project is looking for Version = 12.0.2000.0.

Whenever I attempted to rebuild, messages in the Output window of Visual Studio (2015) indicated the same problem and prompted me to look at the preview.aspx file (C:\Windows\Microsoft.NET\Framework\v4.6.81\ASP.NETClientFiles\crystalreportviewers13\preview.aspx).

In my case, I simply changed the references from 12.0.2000.0 to 13.0.2000.0 (the version in the GAC).

Problem Solved.

Hope that helps!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!