cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Reports works in development, not in the live environment

Former Member
0 Kudos

Hi,

We are using Crystal Reports XI and Visual Studio 2008. When we incorporate a Crystal Report in the development (i.e. local host) environment everything works fine. But when we deploy the web app to the live server the reports fail giving error messages suggesting that the requried dll's aren't found. I've noticed that the dll's in VS2008 are version 10.5 and on the server the dll's are version 11.0. Yet the reports are developed on the local host where the 10.5 version is located. The host server for the web app is the same one used by Crystal Report Server XI. Anyone have any thoughts about where I can begin to trouble shoot this issue?

Is anyone aware of any references for developing Crystal Reports in web applications?

Thanks in advance for your responses.

Tony

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Tony,

Crystal Reports XI (v11.0) will not integrate into VS2008. VS2008 ships with a bundled edition of Crystal Reports - Crystal Reports Basic, which is v10.5. As you've noted, your application is using the v10.5 assemblies. This is expected. If you want to use a stand alone version of Crystal Reports so that it will integrate into VS2008 you'll need to upgrade to CR2008 SP0.

You need to deploy the compatible v10.5 runtime files onto your application server in order for your v10.5 application to work. You'll find deployment information on the "[Crystal Reports for Visual Studio .NET Runtime Distribution - Versions 9.1 to 12.0|https://www.sdn.sap.com/irj/scn/wiki?path=/display/bobj/crystalReportsforVisualStudio.NETRuntimeDistribution-Versions9.1to12.0]" wiki. You'll want to download the CR 10.5 runtime MSI that is listed in the middle of the table.

As you're currently set up you won't be using an of the functionality from CR XI (v11.0) or CR Server XI (v11.0).

I hope this helps!

Sincerely,

Dan Kelleher

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks to Dan,

I followed your instructions and everything works fine now. I used the x86 version as our server is not a 64 bit processor. Many thanks again.

Tony

Former Member
0 Kudos

You can check up in the project of yours for the version of the DLLs included. Also, if you check the Help | About of Visual Studio 2008, you will not find any entry for Crystal Reports XI meaning the product is not integrated into the Visual Studio

Former Member
0 Kudos

Hi Tony,

The only Crystal product that is compatible and tested with VS2008 is CR2008 SP0 or above and the CR that comes with VS2008.

As this moment you are developing the application that is referring to the dlls of Crystal that comes with VS2008 and not the one of CRXI. So you need to deploy the application with dlls of CR that comes with VS2008. The deployment runtimes are available [here|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm].

[More info.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313335333833323336%7D.do]

Thanks.