Crystal reports database connection issues - crystal-reports

Failed to load database information. Details: The database DLL crdb_ado.dll could not be loaded. Error in File (filename) Failed to load database information.
I am receiving this error when i try to run a crystal report from my page. on the server I have installed the CRRedist2008_x86 and the dll file is in the business objects folder, but for some reason it is still not loading. I also checked to make sure I have the msvcp60.dll which is also needed but still am unable to run the report.
The server is running Windows Server 2008, has Visual Studio 2005 installed on it (not sure if that makes any difference). The application ran fine on my local machine, but after uploading it to the server, it's not wanting to play nice.
Any suggestions/help is appreciated.
Thank You

You should get Dependency Walker and open the crdb_ado.dll to confirm all the required files are there. Although checking for msvcp60.dll is generally the right idea, I've found that people are often looking for the wrong version of those files OR that other required DLLs are also missing.
Also, be sure the redist you are using matches the version of Crystal Reports you have referenced in your project. There is a difference between using, say Crystal Reports 2008 on top of Visual Studio 2005,, versus using the BUNDLED Crystal Reports that comes with Visual Studio 2005 (Or 2008, or 2010 for that matter.).
In fact, sometimes people don't realize that their .NET projects are referencing the "comes with Visual Studio" edition of Crystal Reports because they happen to have Crystal Reports version <whatever> installed on their PC.
That said, if you are pretty confident your redist of CRRedist2008_x86 matches what you are using, I'd focus on Dependency Walker to see if it is indicating a missing required file for the crdb_ado.dll.

Related

Migrating ASP.NET 2005 to 2010 issue with crystal report reference.[ transferred my site from Wserver 2003 to wserver 2013 ]

Could not load file or assembly 'CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Crystal can be, touchy to deploy and run if it's not your server (e.g. you don't have access to deploy there and possibly make tweaks). If it's your server, not a problem. Go get the Crystal merge modules from sap.com and install them on your server, then you will just need to reference them in your web.config. You may run into other issues with permissions (Crystal in some circumstances uses the C:\Windows\Temp directory to export files which hosted servers will at lot of times prevent you from using, I assume this is a throw back to the fact their codebase dates back to the Windows 3.x era).
I'm going to provide the links to the downloads page at SAP:
http://wiki.scn.sap.com/wiki/pages/viewpage.action?original_fqdn=wiki.sdn.sap.com&pageId=56787567
You're using version 10.2 (which is pretty old, Crystal is pretty good about backwards compatibility so if you're in a pinch you can use newer Crystal DLL's and they should export your reports fine).

Can't Open SSRS Reports

I have inherited an SSRS solution that I can't seem to work with. I sat down with the previous owner briefly and he showed me where in TFS to find the solution. The also opened up a few of the RDL files and attempted to give me the gist of modifying a report. Every thing seemed straight forward to me during that session.
Now the original developer is gone and I now have access to the code in TFS. Whenever I try to open one of the RDL files, it opens it up as an XML document instead of opening it in the designer.
I have Visual Studio 2008 and SQL Server 2008 Management studio installed. Any thoughts on what I may be missing like service packs or hot fixes?
Re-run the SQL Server 2008 installer on your machine. You need to install the Business Intelligence Developer Studio component, or whatever it was called in '08.
If you don't have access to an installer, find the SQL Server Express with Advanced Services download (whatever year you need, just make sure it's the "Advanced Services" - here's 2008: http://www.microsoft.com/en-us/download/details.aspx?id=1842 ), and run that; it will also provide an option for BIDS.

CrystalReportsRedist2005_x86.msm for VS 2005

I have an old Visual Studio 2005 web project which I need to re-host. I remember from years back, in order for the Crystal Reports to run, you had to build the project with a merge module which is CrystalReportsRedist2005_x86.msm.
I no longer have this file, and I can't find it for download anywhere. It used to be on the Business objects website, but I can't find it now.
Does anyone know where I can get a copy?
try https://code.google.com/p/cims2/downloads/detail?name=CRRedist2005_x86.msi&can=2&q=
or search for CRRedist2005_x86.msi
Try this website or just do a general google search for Crystal Reports Redistributable x86
http://tcsoftware.net/blog/2011/05/crystal-reports-redistributable-download-net-2005/

failed to load database information

I have a desktop application that was migrated from .Net 1.0 to .Net 4.0. The application is using Crystal Reports and ttx files as the data definition files. The actual database queries happens in business objects and the data are set using SetDataSource() method.
After I upgraded this to .Net 4.0 (and Crystal Reports for Visual Studio 2010, version 13), the reports still working great on my developer workstation. But when I installed the application on the test machines I started getting errors like this:
Error in File temp_****{****}.rpt: Failed to load database information.
Where the asterics signify some kind of GUIDs.
The odd thing is that the reports that I did not touch continue to work. Only the reports where I had to update the data source (TTX file) generate this error.
I am also getting this error:
The keycode assembly, BusinessObjects.Licensing.KeycodeDecoder.dll, cannot be loaded.
but I do not know if this is related.
The Keycoder error is not the problem. That is currently a warning message that seems to have no effect on anything (as best I can tell).
Don't be confused by the GUID stuff either. It's just a temp name that Crystal gives the report object.
The real error there is simply "failed to load database information". Something in your TTX update is at fault.
You might try running the report in Crystal 2008 on the machine giving you the problem. Your report is out-of-sync with the TTX file.

Using different versions of Crystal Reports on a same server

I have a few web applications running on the same server. Recently I added crystal reports for VS 2010. I thought to use new reports for several of projects but not all. Other projects uses the older version of crystal reports
So I modified the web.config of the required projects. I downloaded runtime on both my development machine and server. So now I have both versions of asseblies (v 10 and v 13) in GAC. I have .NET 4.0 on both macines as well.
It has worked on development machine
However, when I run the same projects on server it raises an error.
CS0433: The type 'CrystalDecisions.CrystalReports.Engine.ReportClass' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\10.5.3700.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll' and 'c:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\13.0.2000.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll'
I am wondering why it works on my development machine and does not on server ? Do I have to configure something on server to make it happen ? Or do I need to add in someting in web.config file ?
If someknow knows it, please let me know.
Thanks in advance for your help.
I had the same problem and fixed it by commenting/deleting assembly references which refer to version 10.5.... in web.config. In addition I had to change manually correct version to register assembly="CrystalDecision.... in the .aspx file where I use Crystal report components.