cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Crystal Reports

Former Member
0 Likes
776

when ive published my project in VS2008 and i was using crystal reports 2008 i included the prerequesite into the install and when i install it and try to access the reports it gives me a error

Cannot find file or assembly CrystalDecisions.Windows.forms Version 12.0.2000.0

how do i resolve the error

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

This looks like you didn't add the references into your project.

There are two ways to this,

1: Include the references of Crystal report and then set "Import Crystal.decisions...." into your code.

2: While publishing the program add Crystal Reports Merge modules. It is usually called "cr120_merge_modules.zip". This Zip file contains files which you can add as the modules within your project.

Many thanks

Kind Regards

Jehanzeb

Edited by: Jehanzeb Navid on Jul 22, 2008 8:59 AM

Right I found few references from VS 2008 which you need to import in your coding.

1: CrystalDecisions.Windows.Forms

2: Crystaldecisions.shared

3: CrystalDecisions.engine

4: Crystaldecisons.design

5: CRVsPackageLib

Please note: the spelling of the above might be wrong so double check it from (Project--->Add References), don't copy paste from this thread.

Good luck!

Former Member
0 Likes

I created a setup project inside my solution to create the bootstrapper....

Where do i add that .zip file ?

Sorry i knw its a stupid question hehe.

Former Member
0 Likes

i had

Imports CrystalDecisions.CrystalReports.Engine

Imports CrystalDecisions.Shared

added:

Imports CrystalDecisions.Windows.Forms

Former Member
0 Likes

Is it working? The merge modules can be found on BO website.

Oh wait....you can't because they have changed over to SAP. darn!

You can find those zip files from SAP Support Potal.

Have you used it before? because you got to get register yourself with them first before you can download anything.

I had to do the same however, luckily our USA dept is already registered with them and they added me into the system.

Kind Regards

Jehanzeb Navid

Former Member
0 Likes

na man.... still not working.

Im going to register and see if i can get it.....

this is such a drag pffff.

Former Member
0 Likes

I installed Crystal Reports 2008 on the machine and now it works......but its not what i want now is it..

cant ship crystal reports with every solution.

Former Member
0 Likes

I had the same issue however, I fixed it by using the merge modules. Did you add the CrVsLib?

Here is what I had in my previous program

1: Interop.CRVIEWER9Lib.dll

2: Interop.CrystalReportPluginLib.dll

3: Interop.CRAXDDRT.dll

4:Interop.CrystalReportViewerExportLib.dll

5:Interop.CrystalActiveXReportViewerLib102.dll

Also make sure your machines have .net installed.

There is another option, when you click on pre-requiste and click on Crystal Reports, you'll find an exe file is created under "Debug" folder of your program.

Install that crystal program onto your end user machines, if you can't get the merge modules.

However, I think the best thing would be to use the merge modules.

Many thanks

Kind Regards

Jehanzeb

Former Member
0 Likes

Where do i find these dll's ?

Former Member
0 Likes

They are COMs, you can find them when you adding references, there are two tabs, One is for .Net and other is COM's.

Click on the COM's tab and you can find them there.

If however, they are not listed there and you need to add them, you can find them under C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\

Providing your path for BO is Program Files.

Alternatively, you can always use the XP search facility to find the dll's.

Kind Regards

Jehanzeb

Former Member
0 Likes

I have downloaded the merge modules...

what do i do now ?

Kind Regards

D.Kruger

Former Member
0 Likes

Right,

1: first unzip them into a folder.

2: Open Visual Studio

3: Right Click on the Setup and then click Add (I am assuming, you already have a setup under your VS project).

4: Select Merge Modules from the menu

This will bring up another menu

5: Search for the folder where you have unzipped the merge modules

6: Select

CRRuntime_12_0.msm

(ii) CRRuntime_12_0_maps.msm

7: Thats all, you have added them into your project.

Now rebuild the project and run it onto the client machine.

Many thanks

Kind Regards

Jehanzeb

Former Member
0 Likes

Ok now ive added a new project 'Merge Module'

added the files u said i must add.

going to publish it now and install it on clients machine and test it out....

Former Member
0 Likes

Ok good, let me know how you get along with it.

Kind Regards

Jehanzeb

Former Member
0 Likes

U are the man....

Thanks Alot friend, much appreciated.

Kind Regard

D.Kruger

Former Member
0 Likes

I am happy it has been sorted.

Kind Regards

Jehanzeb

Answers (0)