Hi Ludek,
I have a Visual Studio Windows Forms application written in VB that uses Crystal Reports. It was originally written using VS 2010 and worked fine until it was converted to VS 2013. After installing CRforVS 2013, the reports all work fine on my development machine. The app is complied with Target CPU set to x64 and it targets the .Net 4.5.1 Framework. The app is being deployed as a click once app to machines that are all running Win 7 (64 bit). I have manually installed the run time CRRuntime_64bit_13_0_9.msi on those machines. But I am getting the message below and cannot find a solution. Do you have any ideas as to what I am miising?
"Unable to install or run the application. The application requires that assembly CrystalDecisions.ReportAppServer.CommonObjectModel Version 13.0.2000.0 be installed in the Global Assembly Cache (GAC) first."
Using gacutil I found both the 32 and 64 bit version of this assembly on my development machine in the GAC. After deployment, the target user machine does not have this assembly in the GAC. I have a click once app so there is no msi file to check.
Below are all of the Crystal dlls in the "Application Files" list on the "Publish" tab of the solution "Properties" page.
CrystalDecisions.CrystalReports.Engine.dll | Prerequisite (Auto) | |
CrystalDecisions.ReportAppServer.ClientDoc.dll | Prerequisite (Auto) | |
CrystalDecisions.ReportAppServer.CommLayer.dll | Prerequisite (Auto) | |
CrystalDecisions.ReportAppServer.CommonControls.dll | Prerequisite (Auto) | |
CrystalDecisions.ReportAppServer.CommonObjectModel.dll | Prerequisite (Auto) | |
CrystalDecisions.ReportAppServer.Controllers.dll | Prerequisite (Auto) | |
CrystalDecisions.ReportAppServer.CubeDefModel.dll | Prerequisite (Auto) | |
CrystalDecisions.ReportAppServer.DataDefModel.dll | Prerequisite (Auto) | |
CrystalDecisions.ReportAppServer.DataSetConversion.dll | Prerequisite (Auto) | |
CrystalDecisions.ReportAppServer.ObjectFactory.dll | Prerequisite (Auto) | |
CrystalDecisions.ReportAppServer.Prompting.dll | Prerequisite (Auto) | |
CrystalDecisions.ReportAppServer.ReportDefModel.dll | Prerequisite (Auto) | |
CrystalDecisions.ReportAppServer.XmlSerialize.dll | Prerequisite (Auto) | |
CrystalDecisions.ReportSource.dll | Prerequisite (Auto) | |
CrystalDecisions.Shared.dll | Prerequisite (Auto) | |
CrystalDecisions.Windows.Forms.dll | Prerequisite (Auto) |
I even tried changing from "Prerequisite (Auto)" to "Include" but doing this puts them in the application folder and not in the GAC and I still get the same message.
Any ideas are greatly appreciated.
Thanks,
David