on 12-19-2010 8:11 PM
I have a VS2010 VB.Net project with a couple of CRs. Everything worked fine with the beta version of CR, but things went wrong wen I installed the full version. Inside VS, I now get an exception for each report when previewing it :
Error 1 Custom tool error: "Code generator 'ReportCodeGenerator' failed. Exception stack = System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.IO.FileNotFoundException: Retrieving the COM class factory for component with CLSID {C0D87D96-8D57-4274-AA18-D465E31F901E} failed due to the following error: 8007007e The specified module could not be found. (Exception from HRESULT: 0x8007007E).
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
--- End of inner exception stack trace ---
at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath)
at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath, String resourceNamespace)
at CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)" C:\{path_to_my_report}
I checked my installation of CR and references in VS and everything seems to be ok, not 100% sure though.
Any suggestions ?
Cheers,
Tom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi A G
Thank you for your reply.
I already looked into these links but to no avail.
What I didn't mention in my previous post is that, at the en of the setup, the installer asked me if i wanted to install the 64 bit runtime (I'm running Windows 7 64 bit), to which I replied yes. All I got after that was a pop-up with the parameters of an msi package (
Windows ® Installer. V 5.0.7600.16385
Install Options
</package | /i> <Product.msi>
Installs or configures a product
/a <Product.msi> etc...)
Thanks again for your help.
Tom
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.