different crystal reports version on the server

Last post 11-30-2009 12:37 AM by mojela. 5 replies.

Sort Posts:

  • different crystal reports version on the server

    07-04-2009, 8:14 AM
    • Member
      16 point Member
    • ahmedwk
    • Member since 12-22-2006, 5:29 PM
    • Posts 27

    on my local pc, i have crystal reports version 10.5, here are the references in my web.config:

    <add assembly="CrystalDecisions.ReportSource, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Shared, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    <add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>


    i am deploying my solution to ASPhostcentral where they use V12, so i updated the version in the web.config to V12 (done by ASPHostCentral support staff):

    <add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
    <add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
    <add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
    <add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
    <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
    <add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
    <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />

    however, i get this error msg:

    Server Error in / Application.

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Could not load file or assembly CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304 or one of its dependencies. The system cannot find the file specified.


    this means that it still refers to the old version not the new one listed in web.config, how can i force my application to refer to the correct version when deployed on ASPHostCentral servers?

  • Re: different crystal reports version on the server

    07-04-2009, 1:44 PM
    • Member
      2 point Member
    • samratds
    • Member since 07-04-2009, 5:40 PM
    • Posts 1

    Hi


    I am also trying to host crystal report with asphostcentral  and getting the same error infact My errror is givn below although in line 1 there shouldnt be any version mismatch as in the line 2 the version is set to 12 .I dont have a clue


    Please let me know if you could resolve your problem


    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Could not load file or assembly 'CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

    Source Error:

    Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ServiceSheet.aspx.cs" Inherits="mms.WebForm2" %>
    Line 2: <%@ Register assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
    Line 3:

    Source File: /ServiceSheet.aspx    Line: 1

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded.

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].



  • Re: different crystal reports version on the server

    07-04-2009, 9:15 PM
    Answer
    • Member
      404 point Member
    • you_rock
    • Member since 07-17-2008, 2:11 AM
    • Posts 154

    hi all,

    If I am not mistaken, I had this similar error message before with asphostcentral. They are using the latest Crystal Report and in case you are using the older version, please do not panic as you can always find a way to reference to their DLL assemblies. What I did was I went to the BusinessObjects website and I downloaded the trial version of CR 2008. I then compiled it with my VSS tool and uploaded everything to their server. Bam! Everything starts to work properly.

    Hope this helps :)


  • Re: different crystal reports version on the server

    07-06-2009, 2:40 AM

    Ahmedwk,

    Thanks for your post. Actually this problem came due to one of these

    1. Your project references may refer older version of assembly

    2. YOur web.config file may refer older version of assembly but you clearly mentioned its refer the correct assembly. - Also check any other references may included within the webconfig file like httpcrystalhandler.

    3. Open your aspx page that may be refer the older version of dll, so if its then try to add the new assembly code.

     

    Any doubts please feel free to ask me.

    If this post is answer of your question then don't forgot to Click Mark As Answer.

    Thanks & Regards,
    J.Jeyaseelan
  • Re: different crystal reports version on the server

    07-08-2009, 1:33 PM
    • Member
      16 point Member
    • ahmedwk
    • Member since 12-22-2006, 5:29 PM
    • Posts 27

    thank you all.. it works perfectly now once i installed CR 12 and added the correct references and removed the old ones



  • Re: different crystal reports version on the server

    11-30-2009, 12:37 AM
    • Member
      2 point Member
    • mojela
    • Member since 06-08-2009, 6:38 AM
    • Posts 8

    i also have different versions but my problem is different. I have both crystal reports 10.0.3 and 10.5 and am running crystal reports 10.0.3 on framework 1.1. my reports are able to load but the problems is that the reportviewer buttons are not responding well, like print button just reload the form instead of bringing Print dialog.

    what can be source of this, i am desperate.


Page 1 of 1 (6 items)