cancel
Showing results for 
Search instead for 
Did you mean: 

CRVS2010 redist with CR2008 SP2 .msi doesn not work...

Former Member
0 Kudos

I have VS 2010 u2013 CR 2010 Beta. I am trying to distribute the application using ClickOnce in vs2010.

I have followed EXACTLY as prescribed in Mandeep Jassalu2019s paper explaining how you insert the tags in the exe.config file of my project to redirect CR in my project to version 12 versus the version 14.

Example: this (this is just the first two, there are several other too) is inside the configuration tag of the projects ProjectName.exe.config file in VS2010:

<runtime>

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

<dependentAssembly>

<assemblyIdentity name="CrystalDecisions.CrystalReports.Engine" publicKeyToken="692fbea5521e1304" culture=""/>

<bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>

</dependentAssembly>

<dependentAssembly>

<assemblyIdentity name="CrystalDecisions.Enterprise.Viewing.ReportSource" publicKeyToken="692fbea5521e1304" culture=""/>

<bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>

</dependentAssembly>

u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026.

<runtime>

Now when I install on client I get an error when the project tries to run CR, below is an excerpt from that error. Notice that it ALWAYS references Version 14.0, not version 12 from CR2008? When I go to the files in the ClickOnce install directory on the client machine I check the CR files and all are version 14? I replaced version 14 files on my dev machine with version 12 hoping that when the manifest is generated that it would pick up the version 12 instead of version 14? No luck?

I have a deadline that has already passed! I am in DEPERATE NEED TO FIX THIS ASAP!

Thanks,

Jim

                            • Exception Text **************

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 CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()

at DL_QS.rptFAR..ctor()

at DL_QS.frmReport..ctor()

at DL_QS.frmMain.BtnPrintPrem_Click(Object sender, EventArgs e)

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

CrystalDecisions.CrystalReports.Engine

Assembly Version: 14.0.2000.0

Win32 Version: 14.0.2000.42

CodeBase: file:///C:/Users/James%20Ehlers/AppData/Local/Apps/2.0/GKX0X0HV.Q98/1ERGRAN0.PP1/dl_q..tion_fcbe8c56d9ac75fe_0005.0005_684d771bb1c13db8/CrystalDecisions.CrystalReports.Engine.DLL

-


CrystalDecisions.Shared

Assembly Version: 14.0.2000.0

Win32 Version: 14.0.2000.42

CodeBase: file:///C:/Users/James%20Ehlers/AppData/Local/Apps/2.0/GKX0X0HV.Q98/1ERGRAN0.PP1/dl_q..tion_fcbe8c56d9ac75fe_0005.0005_684d771bb1c13db8/CrystalDecisions.Shared.DLL

-


CrystalDecisions.ReportAppServer.CommLayer

Assembly Version: 14.0.2000.0

Win32 Version: 14.0.2000.42

CodeBase: file:///C:/Users/James%20Ehlers/AppData/Local/Apps/2.0/GKX0X0HV.Q98/1ERGRAN0.PP1/dl_q..tion_fcbe8c56d9ac75fe_0005.0005_684d771bb1c13db8/CrystalDecisions.ReportAppServer.CommLayer.DLL

-


log4net

Assembly Version: 1.2.10.0

Win32 Version: 1.2.10.0

CodeBase: file:///C:/Users/James%20Ehlers/AppData/Local/Apps/2.0/GKX0X0HV.Q98/1ERGRAN0.PP1/dl_q..tion_fcbe8c56d9ac75fe_0005.0005_684d771bb1c13db8/log4net.DLL

-


Edited by: Ludek Uher on Oct 12, 2010 11:31 AM

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

You should now be using CRVS2010 Beta 2:

/people/blair.wheadon/blog/2010/07/29/crystal-reports-for-visual-studio-2010-beta-2-and-runtimes-now-available

Do not use CR 2008 runtime anymore.

See the forum thread [CRVS2010 Beta - Error: Download prerequisites from same location as my app|]

Ludek

Former Member
0 Kudos

Ludek,

I had not installed Beta 2 because it would not install on my machine for some reason??? However i have worked with it and i now have it installed. I added the VS2010 CR Prereq. from ClickOnce insode VS2010 to my project and am testing it now... Fingers crossed!

I have another question however. Since CRRuntime_14_0_32bit.exe will be downloaded from SAP as each user installs, will it automatically update to the final release once it is released? In other words will i have to update my product.xml file?

Thanks,

Jim

former_member183750
Active Contributor
0 Kudos

Oh boy! Loaded question LOL. But seriously. Problem is that CRVS2010 Beta installs version 14.x files. I understand that RTM will be re-versioned to install files of version 13.x. So, depending on what the installer checks (install guid or file versions) the behavior will be different. And I don't know what Product Development is planning to do...

Ludek

Answers (0)