Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with CR for VS2010
Message
 
À
02/01/2012 18:20:22
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Divers
Thread ID:
01532052
Message ID:
01532459
Vues:
33
>I'm trying run my first crystal report with VS2010.
>
>It designs OK, but when I try to create the report object:
>
>MyRpt myRpt = new MyRpt();
>I get:
>The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
>I'm running on a Win 7 machine and the project is set to build on any cpu.
>
>I searched for a few hours and the only clue was to reinstall CR for VS2010.
>I did that with no results.
>Any clues?
>
>Clueless in Hamilton

You need to add lines to your app.config. Check http://stackoverflow.com/questions/5015294/how-can-i-use-crystal-report-under-net4-0
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform