rainforestnet / CrystalReportsNinja

A small Windows Console App that loads external Crystal Reports file, takes parameter inputs and export to various format or even print to printer
http://www.rainforestnet.com
93 stars 77 forks source link

Unable to load report. #39

Open ascii0rez opened 5 years ago

ascii0rez commented 5 years ago

Hello friends. Could you please help me? as I already bang my head on the wall :)

I am using win10, 64bit with the newest "3500" assemlbies installed. Regardless of the report I try to open (and I checked their validity), I always get:

Exception: Load report failed. Inner Exception: System.Runtime.InteropServices.COMException (0x8000020D): Unable to load report. at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()

I have read in other forums that this might be a permission issue, but I run as administrator and even so add "Everyone/Full Control" to the folder and its contents.

What can be the issue???

Thanks in advance!

sunk818 commented 5 years ago

Can you copy and paste the file elsewhere and try to run the copied report?

Is the report already opened or corrupt?

Can you open from Crystal reports desktop client?

ascii0rez commented 5 years ago

Hi there sunk818,

Thank you! I really appreciate the care you took to write to me. Apparently, the reports were created by a 3rd party designer called “i-net clear reports designer”, and that was the problem. I have not used the desktop version of Crystal Reports, but I created a report using the official VS SAP plug-in and it worked 😊 Are you familiar with cross compatibility issues?

Thanks a lot!

From: sunk818 notifications@github.com Sent: Sunday, June 30, 2019 17:33 To: rainforestnet/CrystalReportsNinja CrystalReportsNinja@noreply.github.com Cc: ascii0rez ascii0@hotmail.com; Author author@noreply.github.com Subject: Re: [rainforestnet/CrystalReportsNinja] Unable to load report. (#39)

Can you copy and paste the file elsewhere and try to run the copied report?

Is the report already opened or corrupt?

Can you open from Crystal reports desktop client?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/rainforestnet/CrystalReportsNinja/issues/39?email_source=notifications&email_token=AMPPQ7XNOTX5IISY5LOVF7DP5C72DA5CNFSM4H4LKIA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY4NLMI#issuecomment-507041201, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMPPQ7RICGYPFZT46J5UPQTP5C72DANCNFSM4H4LKIAQ.