Skip to Content
0
Former Member
Jan 16, 2008 at 06:20 PM

Load report failed in C# Windows app

79 Views

Post Author: Tomizechsterson

CA Forum: .NET

Here's the basic info first:

Visual Studio 2005 running on Windows XP SP2

Crystal Reports IDE (by Seagate Software) v 8.5

File version of .dll's from Program Files\Common Files\Business Objects\2.7\Managed that are referenced in program: 10.2.51014.0 (according to Windows Explorer), 10.2.3600.0 (according to Visual Studio)

Runtime Version of related .dll's referenced in program:

CrystalDecisions.CrystalReports.Engine, CrystalDecisions.ReportSource, CrystalDecisions.Shared, CrystalDecisions.Windows.Forms: 2.0.50727

CrystalDecisions.Enterprise.Framework, CrystalDecisions.Enterprise.InfoStore: 1.0.3705

InnerException Message: "Failed to open report."

InnerException ErrorCode: -2147483136

Really, the only thing that's happening in the program at this point is the creation of a Crystal Reports document that calls its Load() function. The file path that is passed into the Load() function is valid and has been verified repeatedly. The only suspicion I have at this point is the fact that a setup project had been created at one point with the hopes of making it run on our test machine. When that failed to fix the deployment problem, the setup project was removed and deleted from the hard drive. It was after this point that my machine started having problems running the application I've been working on. There were a couple times before I deleted the setup project that I right-clicked on it in solution explorer and selected install, then when nothing seemed to happen I right-clicked it and selected uninstall. Neither of these actions SEEMED to have any effect, so after this I just removed the project and deleted it. I had never used a setup project before this, so is there something that it may have done behind the scenes that may have messed up Crystal Reports or something? I've been wandering around the net for the past couple days trying to find a solution, but there seems to be none and I can't think of any other words to put into Google.. Also, the error code turns up nothing from Google and the error lookup utility provided by Microsoft. Any help with this will be immensely appreciated.