Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Kevin Goff's CoDe article
Message
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Titre:
Kevin Goff's CoDe article
Versions des environnements
OS:
Windows XP SP2
Divers
Thread ID:
00973561
Message ID:
00973561
Vues:
66
Hi Kevin:

Thanks for contributing the article to CoDe magazine. I've downloaded your source code and am looking at it in conjunction with the article. I'm trying to run it, but I'm having a few problems. When I try to run, I get the following compile errors:

----

E:\DotNet\CrystalReportsMainForm\ccCrystalTools\ccCrystalManager.cs(150): 'CrystalDecisions.CrystalReports.Engine.ReportDocument' does not contain a definition for 'Subreports'
E:\DotNet\CrystalReportsMainForm\ccCrystalTools\ccCrystalManager.cs(224): 'CrystalDecisions.Shared.ExportOptions' does not contain a definition for 'ExportDestinationOptions'
E:\DotNet\CrystalReportsMainForm\ccCrystalTools\ccCrystalManager.cs(225): 'CrystalDecisions.Shared.ExportOptions' does not contain a definition for 'ExportFormatOptions'
E:\DotNet\CrystalReportsMainForm\ccCrystalTools\ccCrystalManager.cs(227): No overload for method 'Export' takes '1' arguments

----

Despite the compile errors, I run the form anyway, and not surprisingly I get errors. For instance, when I generate and Preview the Simple Project Listing Report, (specifically right after I click on the Preview button), I get this error:

----

An unhandled exception of type 'System.IO.FileNotFoundException' occurred in system.windows.forms.dll

Additional information: File or assembly name CrystalDecisions.CrystalReports.Engine, or one of its dependencies, was not found.

----

You may have noticed that I put my dotnet projects in a nondefault path. Also, I have CR9 on my machine (not CR10). Not sure if either of these contributes to the problem, but on the surface they don't seem to. I was hoping this was something simple you would recognize from the error messages above. Looks like I need to add a reference to a namespace somewhere, but it's unclear as to what and where.

Thanks, again, and I hope you have a Happy New Year!
Del
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform