Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Im getting this error #41

Open
mikecrf121 opened this issue Aug 27, 2019 · 2 comments
Open

Im getting this error #41

mikecrf121 opened this issue Aug 27, 2019 · 2 comments

Comments

@mikecrf121
Copy link

Unable to cast COM object of type 'CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass' to interface type 'CrystalDecisions.ReportAppServer.Controllers.ISCRReportSource'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31E7715A-8AD0-4D1C-958E-C1BE0A6F2D0C}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

What version of crystal report are you using to run this?? ive tried 64 bit latest CRforVS
32 bit CRforVS
and sp20 32 bit CRforVS

when i try 64 bit
i get a different error saying could not load file or assembly crystaldecsion.reportappserver.comlayer version 13.0 whatever.

any help or fix would be very much appreciated!!!

@mikecrf121
Copy link
Author

So now i think i solved the above issue,
I run this:
C:CrystalReportsNinja-master\CrystalReportsNinja-mast
er\Source\CrystalReportsNinja\bin\Release>CrystalReportsNinja -F C:\Desktop\webtest.rpt -E pdf -U ********User -P *****
321! -i a- "StartMonth:08-01-2018" a-"Customer:812"

And i get this :

Report loaded successfully
Database Login done
Exception: Missing parameter values.
Inner Exception: System.Runtime.InteropServices.COMException (0x8004100E): Missi
ng parameter values.
at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(Expo
rtOptions pExportOptions, RequestContext pRequestContext)
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRe
questContext reqContext)

anyone able to help me debug??? anyway to see what paramaters im missing???

@mikecrf121
Copy link
Author

this can be closed, issue was with the run time, and i believe improper .rpt formatted files. thank you

danielleevandenbosch pushed a commit to danielleevandenbosch/CrystalReportsNinja that referenced this issue Apr 28, 2021
Retain original LogonInfo object when overwriting credentials
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant