failed to deploy Crystal Reports Web Application

Last post 09-25-2008 2:07 AM by todd.liu. 4 replies.

Sort Posts:

  • failed to deploy Crystal Reports Web Application

    09-07-2008, 12:26 PM
    • Participant
      949 point Participant
    • gridview
    • Member since 07-06-2006, 9:34 PM
    • Posts 388

      
    Is there a document which explains the correct way of deploying web applications with crystal reports using Visual Studio 2005.
    Using Crsytal Xi.

    My app runs OK on the development machine, however when I deploy it it errors as follows-

      

      

    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.Web, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

    Source Error:

    Line 42: 				<add assembly="System.ServiceProcess, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
    Line 43: 				<add assembly="System.Web.RegularExpressions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
    Line 44: 				<add assembly="CrystalDecisions.Web, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    Line 45: 				<add assembly="CrystalDecisions.Shared, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    Line 46: 				<add assembly="CrystalDecisions.ReportSource, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

    Source File: C:\websites\TestReports\TestReports\web.config    Line: 44

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.Web, Version=11.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].
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

    This is the front end code to display crystal report -


    <div id="editFormDiv" runat="server">
            <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true" />
         </div>  

    And this is code-behind for the above -


    protected void Page_Load(object sender, EventArgs e)
            {
                CrystalReportViewer1.ReportSource = "C:\\RecruitingSourcebyRecruiter-Weekly.rpt";
              //  DisplayRecordList();
            }

  • Re: failed to deploy Crystal Reports Web Application

    09-08-2008, 5:42 AM
    • Contributor
      4,515 point Contributor
    • tompy_nation
    • Member since 02-28-2007, 10:45 AM
    • Gent
    • Posts 1,141

     

    You will have to create a web setup project with the cystal reports merge module in it.

     

    The merge module can be found here: http://msdn.microsoft.com/en-us/library/ms225386(VS.80).aspx

    Don't forget to click "Mark as Answer" on the post that helped you.
  • Re: failed to deploy Crystal Reports Web Application

    09-08-2008, 9:42 AM
    • Participant
      949 point Participant
    • gridview
    • Member since 07-06-2006, 9:34 PM
    • Posts 388

    Thanks for your reply.

    by the way do you happen to know a link which shows detailed steps to create web setup project with the crystal reports merge module in it ?

    I will work on it and let you know how it comes out.

  • Re: failed to deploy Crystal Reports Web Application

    09-11-2008, 3:16 AM

    Hi,

    Business Objects / SAP also has a server install version so you don't need to build a deployment application. It can be found at this link https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm. Select "Crystal Reports" from "Software Product" and "XI Release 2" from "Product Version", then click "Search"

    Regards,
    Origin Software, Inc.
    www.originsoftware.net

  • Re: failed to deploy Crystal Reports Web Application

    09-25-2008, 2:07 AM
    • Member
      9 point Member
    • todd.liu
    • Member since 09-23-2008, 2:16 AM
    • China
    • Posts 5

    Hi tompy_nation,

    when I access Link "http://www.businessobjects.com/products/dev_zone/net/2005.asp."  the link turns to https://boc.sdn.sap.com/dotnet
    would you like to share with me more inforamtion ,where I can find "CrystalReportsRedist2005_X86.msm "
    so I can reference dotnet dll file "CrystalReportViewer version 11.5.3700.0  "
    Thanks very much .Smile

     

    Learning from all of you
Page 1 of 1 (5 items)