Skip to Content
0
Former Member
Jun 24, 2015 at 06:58 AM

The system cannot find the path specified

148 Views

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.

Attachments

PDF.txt.zip (990 B)