cancel
Showing results for 
Search instead for 
Did you mean: 

Running Crystal Report 10.2 on windows server 2016

former_member605206
Discoverer
0 Kudos

Hello,

I have a working ASPX web site which uses Crystal Reports. It runs under Windows Server 2008 R2.

I need to migrate it to Windows Server 2016. The web.config on the old server has the references:

<add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

At the time the site was deployed it was installed some Crystal Reports runtimes. I cannot find the installer package at this moment, windows reports among installed programs:

Crystal Reports for .NET Framework 2.0 (x64)
Crystal Reports for .NET Framework 2.0 (x86)

I have deployed the site on Windows Server 2016. When I am running the site on WS 2016, it complains about missing DLL:

The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.; InnerEx=Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies.

Which version of CR needs to be installed on W2016 server and where can I find the installer?

Thank you

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

Hi Alex,

The suggestion to upgrade to the latest version is because the version you are using is out of support and no longer available. There only was one patch available for it and that did not include support for Windows 2016.

So it's up to you, roll back to Windows Server 2008 or upgrade your project to CR for VS SP 24 version 13.0.24.xxxx

You can use the xml file on the WIKI page to redirect the latest runtime to your old project, it may work, install the 32 bit MSI, copy the xml file and rename it to your EXE and see if that works, otherwise you need to update.

And you don't have the correct runtime installed on your DEV PC if VS is only upgrading to 13.0.2000.0, it should upgrade your project to version 13.0.3500.0

Good luck

Don

0 Kudos

No patches for CR for VS 2008.

As Dell mentioned you must replace your existing dependencies with the updated ones.

Not sure where you got CRRuntime_32bit_10_2_36.msi from....

And why use SP 20, 13.0.20? SP 24 is the latest.

Remove your 10.2 references and replace them with 13.0.3500.0 and rebuild.

Don't install the MSI on your DEV PC, use the yellow button, it's the EXE to integrate into Visual Studio.

All other files are for deploying the CR runtime, you can't deploy them manually.

I'll see if I can fix those links...

Don

former_member605206
Discoverer
0 Kudos

Thank you Don,

On the wiki link you provided above it says:

FYI - if you need a previous version of the EXE and Runtime packages just replace the SP number withe the SP number you do want in the URL.

So I tried to replace "CRRuntime_32bit_13_0_21.msi" with "CRRuntime_32bit_10_2_36.msi"

About Windows Server 2008: I do not need any patches for it. Reports work fine there, and so they work in my development environment (Windows 7). They do not work when deployed to Windows Server 2016, and I hope to find a right CR runtime for that server.

I already tried to convert current Crystal Reports 10.2 to 13.x, my Visual Studio keeps suggesting that every time I open the project. It indeed updates all the dependencies with 13.0.20. But it does not work when converted. It does not complain about anything, it just does not show the report. Logs, consoles, eventvwr - nobody shows any error. I had to roll back my changes. And I do not need, actually, to upgrade, the client is happy with what he has now, I just need to make it work on the new server.


The application (web site) is targetting .Net 4.6.1

Alex

DellSC
Active Contributor
0 Kudos

To add to what Don mentions, you can't just replace the runtime. The application would have to be upgraded to .NET 3.5 or newer using VS 2010 or newer using the same version of the SDK as you use for the runtime install.

-Dell

0 Kudos

I doubt it's going to work since 2016 wasn't concieved at that time.

We've updated our runtime to support current OS's, see if updating to it works for you:

https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

Read all of the info on that WIKI please

Don

former_member605206
Discoverer
0 Kudos

Thank you for your reply. I will try to install the updated runtimes. Seems it does not have the version I need. Tried as suggested.

http://downloads.businessobjects.com/akdlm/crnetruntime/clickonce/CRRuntime_32bit_10_2_36.msi

But that version does not exist. Will try version 13.0.20

The links on the wiki in the related notes section, unfortunately, are broken:

Related Notes


1544708 – What are the runtime dependencies for CRVS2010?

1531409 – How to deploy the CRVS2010 runtime when using merge modules?

1606608 – Where is the SDK for VS .NET in Crystal Reports 2011?

Are they moved somewhere? The first and second links are exactly what I am looking for.