Skip to Content
avatar image
Former Member

Crystal Reports 2016 with Visual Studio 2015

Hi,

Our client is using Crystal Reports XI R2 version with .NET Framework 3.5 on Windows server 2003. We are planning to upgrade to Crystal Reports 2016 on Windows Server 2012 R2 64-bit with .NET Framework 4.6, we are planning to use Visual Studio 2015 for the development.

Currently, in the application, CrystalDecisions.CrystalReports.Engine.DLL and CrystalDecisions.Shared.DLL's were referenced in the windows project to generate the crystal reports from .NET code.

As the SDK does not come with the Crystal Report 2016, could you please help with the following questions. I already installed the trail version of the Crystal Reports 2016 designer version to upgrade the existing reports .

1. Do I still need to install CRforVS_13_0_21.exe on the development machine for referencing the above DLL's?

2. Is the CRRuntime_64bit_13_0_21.msi right version on the Windows Server 2012 R2 for deployment? Does this install the Crystal DLL's in GAC (C:\windows\assembly) on the server?

Could you please help?

Thanks

Siva

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Sep 22, 2017 at 04:36 PM

    Yes and Yes

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 22, 2017 at 05:15 PM

    Hi Don,

    Thank you very much your help!

    One more quick question... while installing CRforVS_13_0_21.exe, it's asking for the installing the 64-bit runtime, do i need to check this box?

    Regards

    Siva

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 22, 2017 at 08:03 PM

    If you are going to develop for a 64 bit application then yes, if not then uncheck it.

    Don

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Don,

      I tried to install the CRRuntime_64bit_13_0_21.msi on the Windows server 2012 R2, I'm getting the error messages, attached is the few screen prints. Do I need any trail license for the runtime on the server? Could you please help me the below error?

      new-bitmap-image-2.jpg

      new-bitmap-image-3.jpg

      new-bitmap-image-4.jpg

      We got these errors, but we still see the dll's in the C:\windows\GAC_MSIL directories. When we tried to see if the application works with the runtime, getting the below error message. this works fine in the development PC with installed CRforVS_13_0_21.exe.

      The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

  • avatar image
    Former Member
    Sep 25, 2017 at 04:33 PM

    Hi Don,

    I tried to install the CRRuntime_64bit_13_0_21.msi on the Windows server 2012 R2, I'm getting the error messages, attached is the few screen prints. Do I need any trail license for the runtime on the server? Could you please help me the below error?

    new-bitmap-image-2.jpg

    new-bitmap-image-3.jpg

    We got these errors, but we still see the dll's in the C:\windows\GAC_MSIL directories. When we tried to see if our .NET windows application (64-bit) works with the run-time, getting the below error message. this works fine in the development PC with installed CRforVS_13_0_21.exe.

    The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 26, 2017 at 03:41 PM

    1904 is a MSIExec error code, the error means you are missing dependencies.

    Likely the VC 2015 C++ dependency, used to be the VC 2005 C++ runtime MSI.

    Or the Framework, try manually registering the dll's and then use DependencyWalker and open the dll, it shoudl show you what is missing.

    Don

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Don,

      Thank you very much for your help again!

      VC 2015 C++ runtime was not installed on the server correctly, I had to uninstall and install the runtime again, that did the trick.

      Regards
      Siva