on 06-24-2015 7:58 AM
Dear all,
I am working with Migration from vb.net 1.1 and CR 9.0.2 to VB.net 4.0 and CR 2013,
while Migrating i found the following :
I am using VS 2010 and CR 2013 runtime in windows 7 platform.
when i try to generate PDF i got the following error :
String | _HResult |
2147467259 | Integer |
- | System.Runtime.InteropServices.COMException | {"The system cannot find the path specified."}System.Runtime.InteropServices.COMException |
STACK TRACE :
at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export()
at Sample.clsCrystalToPDFConverter.Transfer(String inscode, String enrolment_number, String withdependent)
+ | ex | {"The system cannot find the path specified. | |
"} | System.Exception |
OUTPUT :
A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in CrystalDecisions.CrystalReports.Engine.dll
for better understanding i am attaching my code also.
please do help.
Advance thanks.
See my reply to your other post:
I suspect the same will apply here.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow me on Twitter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Try to re-import the CR component in the VS designer. This probably solve your issue
Thanks,
János
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.