Skip to Content
author's profile photo Former Member
Former Member

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

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Oct 12, 2010 at 06:34 PM

    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|crvs2010-beta---error-download-prerequisites-from-]

    Ludek

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.