Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
This used to work
Message
De
07/07/2015 03:11:45
Walter Meester
HoogkarspelPays-Bas
 
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Versions des environnements
Environment:
C# 5.0
OS:
Windows 7
Network:
SAMBA Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01621780
Message ID:
01621822
Vues:
64
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);
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform