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);
>