on 06-22-2011 3:02 PM
Hello,
I have an app that uses Crystal Reports. Currently it's on .NET 3.5.
I'm in the process of migrating it to .NET 4.0. I've downloaded "SAP Crystal Reports, version for Visual Studio 2010 - Standard" from http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp and installed it on my development machine. I added references to CrystalDecisions.CrystalReports.Engine.dll and CrystalDecisions.Shared.dll to my project. My application works fine on my machine.
I packaged it in an msi and installed it on the server where the .NET 3.5 version was running previously. I checked teh msi appears to install CrystalDecisions.CrystalReports.Engine.dll and CrystalDecisions.Shared.dll to the GAC correctly. However, when I run my app, I see the following error:
Message: System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
Any suggestions? Please don't tell me I'll have to install the entire "SAP Crystal Reports, version for Visual Studio 2010 - Standard" on my server.
Thanks
You have to install the correct CR runtime;
MSM
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_mergemodules_13_0_1.zip
MSI 32 bit
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0_1.zip
MSI 64 bit
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_64bit_13_0_1.zip
No other way available.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ludek,
I am you follower of all post..
I am using VB.NET desktop application with CR
I have installed CR runtime 13.0.10.16
i am building it as x64 bit setup file for installing
My application is working fine in my devolopment machine, but when i test it in deployment machine
the same error comes.. CR.Engine.reportDocument threw an exception --> sys.io..filenotfoundexception: could not load file or assembly 'CrystalDecision.reportAppServer.commlayer, version 13.02000.0....
In one of the post you posted, installing .net framework 2.0 will solve it. but my machine with windows 7 it is not allowing it to..
It has .net framework 4.5.2
I am in working in onsite project. need to fix this issue today. kindly help me.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.