I have a vb application that relies heavily on Crystal Report. The reports run fine while in development mode but once the executable is generated it doesnt open the reports anymore and raises an exception saying Load Report Failed ( with a bunch of CrystalDecision references that it can't find).
Development Environment:
Visual Studio 2017
Win10 64bit
Crystal Report (forVS and Runtime) 13.0.21
Target:
win7 on 32bit
.NET 4.5
Crystal Report Runtime 13.0.5
We tried including the Crystal references that might be causing the problem when publishing the project but that didnt resolve the problem.
Also, the project was initially developped in Microsoft Visual Studio 2012 with CR 13.0.5 and apparently at some point they did some additional dev in VS2017 and so had to migrate the reports to a supported version of CR.
Any suggestions would be highly appreciated.
Thanks!
You can't simply include the missing references for Crystal Reports. You need to install the Crystal Reports Redistributable (Runtime) for your version on the target system.
Related
I have a problem when I want to connect Crystal Report with DataSet in c#.
Error
failed to load database information, details: unable to load database connector 'crdb_adoplus.dll'. the correct version of the database client for this type of database may not be installed.
Here's a Screenshot
Can you help me please?
I had the same problem on Microsoft Visual studio 2019 by installing SP26 "SAP Crystal Reports runtime engine for .NET Framework (64-bit)" before "SAP Crystal Reports, version for Microsoft Studio".
The main problem is that the run-time engine doesn't copy crdb_adoplus.dll file which need to Crystal Report to load data from ADO.Net dataset.
If you also followed my installation sequence, you must:
Remove "SAP Crystal Reports runtime engine for .NET Framework (XX-bit)" and "SAP Crystal Reports, version for Microsoft Studio" by the control panel.
Run the "SAP Crystal Reports, version for Microsoft Studio" installer as Administrator. After the installation, it will automatically ask you to install the correct engine.
See also:
Crystal Report SP26 SetDataSource() Method failed in computers of clients in Visual Studio 2019
We are using Crystal Report's on 20+ server and we always install x32 and x64bit version.Today i installed SP30 from here for VS2019 https://www.tektutorialshub.com/crystal-reports/download-crystal-reports-for-visual-studio-2019/ , also today i tried to add a field to dataset and gave me 'crdb_adoplus.dll' error. After a lot of search, i installed x32 bit runtime both x64bit, it worked.
I had the same problem.
I uninstalled all crystal reports (for visual studio and runtime) and install only the version for Visual Studio and installed the runtime checking the last checkbox on the installation wizard (to install the correct runtime).
I think that when installing on top of an existing crystal some files are missing.
This is a legacy project in vb.net. When I run it in debug there are no errors but when I create a release version and run it in VS, I get a class not registered error when the code tries to instantiate a form. I am pretty sure the error has to do with a Crystal Reports dll, perhaps AxCrystal, but of course there is no useful information, like, which class.
Any suggestions, hints, anything are very welcome.
Try to register the class as it is described here:
A solution for this problem is to register the PrintContoll.dll
First the Crystal Reports 2010 SP1 Redistributable needs to be installed.
Then download the following file containing the PrintControll.dll:
ActiveXControls Crystal Reports 2011 SP1
Extract the folder ‘ActiveXControls’ to:
C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\Crystal Reports 2011\crystalreportviewers
i have problem with my project,
i using Windows 7 enterprise 64 bit, and Visual Studio 2010 64 bit, i was Install SAP Crystal Reports Run time 64 bit in my notebook, but when i was open my Visual Studio 2010, in toolbox does not exist SAP Crystal Reports's tool,
anybody know where my error ? i have somebody can help me :(
Please note: To integrate "SAP Crystal Reports, developer version for Microsoft Visual Studio" into VS 2010 or 2012, you must run the Install Executable. Running the MSI will not fully integrate Crystal Reports into VS. MSI files by definition are for runtime distribution only.
You should install CRforVS_13_0_X.exe which you can download here
Hope this help.
I have built an application with VB.net 2010 and framework 4 and I have installed crystal report too. whenever I try to create a setup, this warning appears :
WARNING: Unable to find dependency
'BUSINESSOBJECTS.LICENSING.KEYCODEDECODER'
(Signature='692FBEA5521E1304' Version='13.0.2000.0') of assembly
'CrystalDecisions.CrystalReports.Engine.dll'
this error shows when I install on other PCs .
Do you have any idea about this ?
thanks in advance
I think you must to install Crystal Report 2010 on the client where you are running your application.
From msdn blog:
Starting on Friday, April 16th, the beta version of Crystal Reports
for Visual Studio 2010 will be available as a separate download from
this site. Just like when Crystal Reports was integrated into the
Visual Studio installation, this download will continue to be free.
From: http://blogs.msdn.com/b/vbteam/archive/2010/04/08/crystal-reports-for-visual-studio-2010.aspx?PageIndex=4
Take a look here: http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/91f71ce2-e591-45a1-8bc2-0d61cd090117/
I'm using Vs 2010 with .Net 3.5. I have windows project and using Report Viewer for reporting purpose. I designed reports using Report Viewer. It works fine on my machine but on deployment server, compiler gives the following error:
The report definition is not valid. Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition'
which cannot be upgr
aded.
Please note that I have all of my report files as Content.
Thanks a million.
Is VS2010 and .net 3.5 installed on your build server? And reportviewer?