Skip to Content
author's profile photo Former Member
Former Member

upgrade problem - CRVS13 beta to full

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 ?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 20, 2010 at 10:32 AM


    I found the following link which might be helpful to you.

    Link 1: issue-with-production-relese

    Link 2: crvs2010-beta---clean-install-will-not-let-me-desi

    There are some postes [here|SAP Crystal Reports, version for Visual Studio; related to installation of CR4VS2010 issues after beta install. Please do a search and let us know if you still need help.


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

      msiexec /Option

      Install Options

      </package | /i> <Product.msi>

      Installs or configures a product

      /a <Product.msi> etc...)

      Thanks again for your help.


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.