on 11-03-2011 7:57 PM
I'm trying to install a Visual Studio 2010 application on two client's machines and I get a different error on each one. Both errors point to Crystal Reports.
I have a feeling that I'm supposed to install something on the client's machines but I'm not sure what.
The first client's error says that CrystalDecisions.Windows.Form Version 13.0.2000.0 cannot be loaded.
The second client's error says that FlashControlV71. Version 1.0.3187.32366 needs to be installed in the GAC.
What am I supposed to install on the client's machines? Or if that's not the problem, what is causing the errors?
This is my first visual studio app so I'm a complete newbie.
Thanks for any help or advice.
You must install the CR runtime.
MSM http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_mergemodules_13_0_1.zip
MSI 32 bit http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0_1.zip
MSI 64 bit http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_64bit_13_0_1.zip
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply. I installed the runtime (x64) and am now getting a new error on the first client's machine. I think it's telling me that I installed the wrong version of the runtime. The client is running x64t Win 7 so I chose the x64 runtime to install.
System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information.
at CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime()
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
--- End of inner exception stack trace ---
at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
at IM_CMETracking.ReportViewer.CrystalReportViewer1_Load(Object sender, EventArgs e)
at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
at CrystalDecisions.Windows.Forms.CrystalReportViewer.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The second client is running XP. The error I'm getting on their machine is this:
CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.
Thank you for your help.
Thanks for your reply. I read thru what you suggested and I think I have everything in place. I created a deployment project and installed it on my machine. It created setup.exe and Merge Module Installer.msi.
I assume I have to copy both the exe and msi to my clients machine. Do I run both Setup and the msi or just the setup?
I installed both on my virtual machine, ran setup only, but get an error message when trying to open the report:
CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.
(Well, it helps tremendously running process monitor on my virtual machine instead of my real machine!)
OK, I found a number of dll's that process monitor says "Path not found". Among them are:
CrystalDecisions.CrystalReports.Engine.dll
log4net.dll
CrystalDecisions.ReportSource.dll
CrystalDecisions.Shared.dll
So, if it can't find them on my virtual machine but can on my real, then obviously they're missing from my virtual and need to be installed from somewhere.
Could I just find them on my real and install them on my virtual, or is that too simple?
Thanks for your help.
Does not work on my virtual machine but does on a separate 32-bit machine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.