Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
This used to work
Message
From
07/07/2015 03:11:45
Walter Meester
HoogkarspelNetherlands
 
General information
Forum:
ASP.NET
Category:
Reporting
Environment versions
Environment:
C# 5.0
OS:
Windows 7
Network:
SAMBA Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01621780
Message ID:
01621822
Views:
67
Hi Pete,

I've seen this with older CR versions in VFP as well. It usually mean there was something wrong with the report itself. Try to repointer to the right database location and issue a "verify database". Also make sur that you are not saving any data with the report.

Hope this helps

Walter,


>Hi all, the code below is from my own invoicing app that has been working perfectly for years, I recently reinstalled windows 7 and all my development tools vs et al during my annual dev machine cleanup and this no longer works i.e it throws an exception which is either "Database logon failed" or "the system cannot find the path specified", I've googled but none of what I've found helps, the location I'm trying to save to definitely exists and I can open the report using Crystal without problem, any ideas ?
>
>
>string CrystalReport = Path.Combine(ReportFolder, "test.rpt");
>ReportDocument crystaldoc = new ReportDocument();
>crystaldoc.Load(CrystalReport);
>crystaldoc.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, pdfFname);
>string rptFname = pdfFname.Replace(".pdf", ".rpt");
>crystaldoc.SaveAs(rptFname);
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform