on ‎2008 Jul 22 8:47 AM
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
Request clarification before answering.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
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
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.