Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 2556

Error Generating Report: The system ca't find the specified path.

$
0
0

I've a c# .Net program that loads a stand-alone crystal report (.rpt file) sets the DB connection and sets the parameters and calls the following.

 

crdocChapters1.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, strOutputPath);, where crdocChapters1 is a ReportDocument object. Everything seems to be fine, but getting the error mentioned in the header.

 

StackTrace"   at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)\r\n  

at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)\r\n   at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)\r\n 

at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)\r\n   at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)\r\n  

at ChapterReports.ChapterReports.btnGenerate_Click(Object sender, EventArgs e) in c:\\NTEU\\Development\\VisualStudio\\cSharp\\Windows\\ChapterReports\\ChapterReports\\ChapterReports.cs:line 167"

string

 

SAP Crystal Reports 2011, VS 2013, Net frame work 4.5, Crystal DLLs are from latest patch 12.

 

Any help is greatly appreciated.

 

 

CrystalReportError.png


Viewing all articles
Browse latest Browse all 2556

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>