Skip to Content
Former Member
Aug 25, 2009 at 12:31 PM

Failed to load database error - sp2 runtime


Hi All,

I have an ASP.Net application that uses the CRViewer control to display reports that get their data from web services located on the same machine. The reports run on my development machine (XP) which has the full SP2 version of crystal installed (upgraded from V1 install). When deploying just the SP2 runtime redistributable to a Win2003 server I get the "failed to load database error. Error in file MyReport {guid ...}.rpt" error message. If I install the full version on the deployment machine (V1 and then SP2) on top of the SP2 redist the report runs as expected. The same issue happens for SP1 runtime redist as it does for SP2. It seems to me that the full install is adding something needed that is missing from the runtime redist that is causing the problem.

The VS2008 project has the following references which are all located in the GAC on the deployment machine:

C:\Program Files\Business Objects\Common\4.0\managed\CystalDecisions.Enterprise.Framework.dll - version 12.0.1100.0

C:\Program Files\Business Objects\Common\4.0\managed\CystalDecisions.Enterprise.InfoStore.dll - version 12.0.1100.0

C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\CystalDecisions.CystalReports.Engine.dll - version 12.0.2000.0

C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\CystalDecisions.ReportSource.dll - version 12.0.2000.0

C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\CystalDecisions.Shared.dll - version 12.0.2000.0

C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\CystalDecisions.Web.dll - version 12.0.2000.0

I'd really appreciate some help in getting CR deployed correctly. The project is getting close to GA and this is a critical problem for us. BTW the runtime is being deployed using a silent install with the keycode passed as an argument. I've also tried directly installing the runtime with the same results.