Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Deployment for a Program Error

I am not sure this is where to post this or not, however here goes.

I am deploying a Visual Studio 2005 VB.NET Application that calls a crystal report. When deploying it I get the following error.

Unable to install or run the application. The APplication requires that assembly CrystalDecisions.CrystalReports.Engine Version 10.2.3600.0 be installed in the Global Assembly Cache (GAC) first.

Is there something that I need to do on the compile to incorporate this engine?

Any help is appricated..

Jim

Former Member
replied

Hi James,

The problem is you may be distributing the wrong version which is why the test PC is complaining it can't find the assmeblies. 10.2 are the components included with VS .NET 2005. You may have CR XI or XI R2 but you can't simply deploy those runtime and expect your app to work. From the error it's specifically looking for 10.2 which you need to then deploy the runtime from this CR .NET 2005 runtime package:

https://smpdl.sap-ag.de/~sapidp/012002523100009976262008E/crredist2005_x86.msi

If you have .NET SP1 installed then use this link:

https://smpdl.sap-ag.de/~sapidp/012002523100010010692008E/crredist2005_sp1_x86.zip

If you have Crystal Reports XI (11.0) Developer edition ( required to build applications ) then update your project with the 11.0.x References and then you can deploy using the correct version of the distributables.

We do version checking so you can not simply use any version of CR runtime and expect your app to work.

Also as noted if you are using 2.0 framework and want to use CR 2.0 runtime you need to upgrade to CR XI R2 with SP 2. Otherwise you can specify to use 1.1 framework in your project config file.

Thank you

Don

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question