cancel
Showing results for 
Search instead for 
Did you mean: 

CrystalDecisions.Windows.Forms, or one of its dependencies was not found

Former Member
0 Kudos

Experts I need help;

I created an application in .net 2003, everything is working on my development PC but when I deploy it on client and open the forms containing a Crystal Reports I have this error "File or assembly name CrystalDecisions.Windows.Forms, or one of its dependencies, was not found"

any suggestion on how to solve this problem is highly appreciated

Whiteman

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Falk's post assumes you are using CR XI r2. The runtime will be different for each version of Crystal Reports. BTW., you can not Xcopy the runtime, you must use either the msm or the msi files.

Ludek

Former Member
0 Kudos

I am having the same problem. We are using .net 2003, Framework 1.1 and Crystal Reports 2008 on Windows XP. Reports print in the development system but not for clients.

After researching, it appears that there needs to be an installation of CR runtime on the clients' computers. So, I have accessed the SAP Business Objects Software Downloads (Utility) to see about getting the MSI to install, but am not sure which file to download.

Edited by: Delilah W on Aug 17, 2009 6:57 PM

former_member183750
Active Contributor
0 Kudos

See this wiki:

https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsforVisualStudio.NETRuntimeDistribution-Versions9.1to12.0

Also, see your Crystal Reports Developer help files.

Ludek

Former Member
0 Kudos

Ludek, I followed the link and downloaded and ran CRRuntime_12_1_mlb.exe on the test computer and got the desired outcome - a report w/o error!!! YEA! THANKS!

2 Questions (kinda 3...):

1. The download included CRRuntime_12_1_mlb.msi. Should I do anything with that file?

2. I used one of our Product ID's when prompted; but, for our clients, will they also use our Product ID? Isn't their runtime free?

Do we run the same executable on their machines or is there an easier, quicker fix for them (one of our clients has 60-80 workstations!)

former_member183750
Active Contributor
0 Kudos

Good news :).

re.;

1. The download included CRRuntime_12_1_mlb.msi. Should I do anything with that file?

The MSI and exe are essentially the same runtime, one compiled as an exe, one as an msi. Even running them, you get the same screens, etc. The developer help:

http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm

has a good explanation as to what each of the files are for.

2. I used one of our Product ID's when prompted; but, for our clients, will they also use our Product ID? Isn't their runtime free?

Do we run the same executable on their machines or is there an easier, quicker fix for them (one of our clients has 60-80 workstations!)

You re correct, the runtime is free - for win apps. So, you have two options;

a) have the clients run the exe or the msi and let them have the keycode to enter when prompted (probably not a good idea)

b) use the msm file and create your own deployment project. The msm is configurable, meaning that one of the properties is keycode. When you enter the keycode and compile, you create a setup.exe. When the clients run this exe, they will not be prompted for the keycode. To create your own project, you can use VS .NET, Wise, InstallShield, etc., etc.

For web apps, the licensing is a bit more involved:

Web applications for external use: External distribution of Web applications embedding these component engines is now available for single, fixed price with the new Crystal Reports 2008 Developer Advantage license. This offering covers you for any number of deployments that embed the Crystal Reports 2008 runtime engine.

Here is some information on the licensing, but for more details, you'll be better off calling sales (866-681-3435).

Crystal Reports Licensing Information:

http://www.sap.com/solutions/sapbusinessobjects/sme/reporting/crystalreports/licensing/index.epx

Crystal Reports 2008 Developer Advantage by SAP

http://www.sap.com/solutions/sapbusinessobjects/sme/reporting/visualstudio/licensing/index.epx

Ludek

Former Member
0 Kudos

Ludek, Thanks so much for the response and the good information.

When I explained the situation and told a client this morning that they would need to run the executable on their 70+ workstations, she was far from accepting of that.

Although she is not convinced of the worthiness of upgrading from v9 to CR2008, she backed off of total rejection when I told her about the MergeModules option and that we would use that instead and integrate CR2008 into our application.

So, we will be trying that this afternoon. Wish me luck! (and if you have any helpful advice, it would be more than welcome)

Delilah

p.s. Where are you located? The date/time of the messages is 7 hours ahead of my local time. I am asking to help me to know about when to expect a response since it would mostly likely be during your work hours.

Edited by: Delilah W on Aug 18, 2009 9:35 PM

former_member183750
Active Contributor
0 Kudos

I suppose with 70 work stations you have two options (well, three. but that includes all 70 users running the install). OK, so the two options:

1) Use the click once distribution. CR 2008 See the [Developer help file|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm] for a bit of detail. Also, see MS help on click once here:

http://msdn.microsoft.com/en-us/library/ms953320.aspx

2) Also, there are ways of setting up silent installs, but that would be up to their IT department to figure out as far as the details go. The general script to use as far as CR is concerned is documented [here|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.do]. Now, this is for CR XI r2, so for CR 2008, the "server install" file would be from here:

https://smpdl.sap-ag.de/~sapidp/012002523100009159002009E/cr2008sp2_redistinstall.zip

Now, I have not done click once or silent install with CR 2008, so I'd recommend testing in on your end before springing it on the customer :).

No worries about the time. Since becoming part of SAP, all of our system are hosted in Walldorf, Germany so I suspect it's getting the time stamp from there. Oh, I'm on the West coast - Vancouver Canada.

Ludek

Former Member
0 Kudos

According to the Microsoft doc, the ClickOnce app was first released in .NET 2005 (we are on 2003) requires .NET Framework 2.0 (we are on 1.1).

Looking now at CR Merge Modules...

Former Member
0 Kudos

Ludek,

On 'Business Objects Software Downloads', for CR2008, Utility software, there are several options for Merge Modules, and I am not being able to find instructions as to what I need to download. The information buttons do not give any information beyond the title of the file. It would help if there were some description of the contents/purpose of each file.

So, I have downloaded: CR2008 - Merge Modules, CR2008 Fix Pack 1.4 - Merge Modules, CR2008 Fix Pack 1.5 - Merge Modules, CR2008 Service Pack 2 - Merge Modules, CR2008 Fix Pack 1.7 - Merge Modules, CR2008 Fix Pack 1.6 - Merge Modules, CR2008 Fix Pack 1.4 - Merge Modules, CR2008 SP1 - Redist Install - Refresh

former_member183750
Active Contributor
0 Kudos

Yesterday - no the day before I came across and issue with SP 2 click once install (it's pointing to the old business objects URL).

The forum post that alerted me to the issue is here:

Anyhow, using SP 1.7 click once should be OK:

https://smpdl.sap-ag.de/~sapidp/012002523100007768532009E/cr120_fp17_clickonce.zip

Ludek

Former Member
0 Kudos

Ludek, I don't think we meet the prerequisites for the ClickOnce option. We are VS2003, Framework 1.1 and SQL2005.

I see no reason why Merge Modules should not meet the needs of our clients, but I can find no instructions on how/what to install.

There are several Merge Modules (MM) downloadable files at

https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm

and we have downloaded all but 2 of those that appear to be related to MM. The 2 not downloaded are corrupt on the web site - CR2008 - Merge Modules (cr120_mm.zip) and CR2008 - Fix Pack 1.6 - Merge Modules (cr120_fp16_mm.zip).

Where can we get instructions on how to use the files that we did download? They are:

cr121_mm.zip all are .msm files

cr120_redist_install.zip contains CRRuntime executable 12_0

cf2008sp1_redinst_ftfsh.zip contains CRRuntime executable 12_1

cf2008sp2_mm.zip all are .msm files

cr2008_fp14_mm.zip all are .msm files

cr121_fp15_mm.zip all are .msm files

cr120_fp17_mm.zip all are .msm files

vs_integration_mgr.exe

Do we need either/both of the 2 files that are corrupt and, if yes, where can we access a clean copy of each?

Thanks for all of your help, Delilah

former_member183750
Active Contributor
0 Kudos

OK. These are your msm files then:

cr121_fp15_mm.zip

All you need to do is create a setup package using .NET.

SP2 msm files are here:

https://smpdl.sap-ag.de/~sapidp/012002523100009159092009E/cr2008sp2_mm.zip

Either will do the trick for you.

Ludek

Former Member
0 Kudos

Thank you, sir!!!

One more question, since we began using CR2008 in Development, every time we load the Solution, if the project was not left checked out when last closed, there is a prompt to check out the Reports project. If we accidentally click OK, it proceeds to check out every report in the project. If the project was left checked out when the solution was last closed, it will automatically begin to check out every report in the Reports project.

This may be linked to it also making us to check out the Solution when we want to add a report in the Reports project.

Both of those issues wreak havoc with Development.

Can you tell us how to stop these events? We have changed some settings but they have had no effect on the problems.

Thanks! Delilah

former_member183750
Active Contributor
0 Kudos

A similar issue is documented in [this|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.do] note. Can you pls take a look and see if it does apply to your situation?

Ludek

Former Member
0 Kudos

Thanks, Ludek,

The note does document our issue. When I clicked on the link to get the upgrade to CR2008 SP1, it could not find the web page.

Former Member
0 Kudos

Ludek,

To eliminate the issue with the constant creation of code-behind files, we downloaded cf2008sp1_redinst_rfrsh to get SP1.

When we ran it on one of the Development systems, the setup failed and gave this message: A Business Objects product at a lower patch level is detected. This installation cannot continue. Please update all installed products to the SP1 patch level, then restart this installation.

From other research, we are aware that some of the releases are incompatible (such as SP0 and SP1), so could you tell us that the prerequisites are for SP1?

Thanks for all the help, Delilah

former_member183750
Active Contributor
0 Kudos

Try the SP 1 from here:

https://smpdl.sap-ag.de/~sapidp/012002523100006555792009E/cr2008win_sp1.exe

As long as you run it on a computer that has CR 2008 installed, it should work.

Ludek

Answers (3)

Answers (3)

Former Member
0 Kudos

I have a similar problem, when I try to use crystal report in Visual Studio 2008, it is trying to install a msi package but is unable tofind it. it appears to be relate to cr120_redist_install, but I am unable to locate the file, does anyone have a link that works, or know if that is the correct file or not?

I am using Crystal Reports XI

Thanks for any and all help

Ivar

Edited by: blumonkey on Aug 26, 2009 9:50 PM

former_member183750
Active Contributor
0 Kudos

Ivar, you can not use CR XI in .NET 2008. See [this|https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsassemblyversionsandVisualStudio+.NET] wiki for more details.

If you have anymore questions on this, please create a new thread.

Ludek

Former Member
0 Kudos

Ludek,

I have downloaded the msm files for integration of CR2008 into VS2003.

Your instructions say that I am to create a setup file for the integration.

How do I do that?

Thanks! Delilah

former_member183750
Active Contributor
0 Kudos

In .NET create a new project; Setup Project. Add the msm files as merge modules, not as a file. Compile. Distribute.

Ludek

Former Member
0 Kudos

Will give it a try. THANK YOU!

Former Member
0 Kudos

Will give it a try. THANK YOU!

Former Member
0 Kudos

I added SetupProjectForMergeModules and added in the 20 msm files as Merge Modules. The project compiled fine on the Development system. So, I copied the release to a test system. Still got the full screen of CR errors. :<

What could I have missed?

former_member183750
Active Contributor
0 Kudos

Delilah, I'm sorry, but I think we are going in circles here. I think it really is time to create a phone case, do a webex with an engineer and I'm sure it will get resolved rapidly from there.

Phone cases can be obtained here:

http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryI...

Ludek

Former Member
0 Kudos

Ludek,

You have been a great help and have taught me a lot about Crystal Reports. I want to thank you for that and let you know that I appreciate your patience and the assistance you have given.

I have purchased the Single Case support to get the integration matter resolved. If you would like, I will post the resolution when completed.

Thanks again, Delilah

former_member183750
Active Contributor
0 Kudos

And I thank you for sticking with me on this one. I know it must be very frustrating for you and I apologize for that. You are not the only one with these deployment issues. See this forum thread:

I suppose it is true that misery loves company :).

Have a great weekend,

Ludek

Former Member
0 Kudos

Hello,

please inform how you deployed your project.

Did you use our Merge Modules?

Please find some documentation on how to deploy Crystal Reports XI Release 2 .NET Application [here|https://boc.sdn.sap.com/node/3218].

Please find more samples and documentation [here|https://boc.sdn.sap.com/dotnet].

Hope this helps