Please Help! ERROR: Application Server failed. when Refreshing

Please help on this below issue. Thanks.
We have a requirement that using ASP.NET (C#), we need to open saved .rpt file (saved with data and the rpt file is assigned to the web page as query string) and let the users refresh themselves with latest data by clicking at refresh icon of the CrystalReportViewer. But it throws 'The Report Application Server failed' error message. What could cause this message. below is the piece of code we are using to configure the report.
private void ConfigureCrystalReports()
string reportPath = Server.MapPath("Reports
SEMS0001_UBS.rpt");
this.CrystalReportSource2.ReportDocument.Load(reportPath);
CrystalReportViewer1.Visible = false;
SetDBLogonForReport(this.CrystalReportSource2.ReportDocument);
int i = 0;
foreach (ParameterField field in this.CrystalReportSource2.ReportDocument.ParameterFields)
field.HasCurrentValue = true;
//this.CrystalReportSource2.ReportDocument.Refresh();
CrystalReportViewer1.ParameterFieldInfo = this.CrystalReportSource2.ReportDocument.ParameterFields;
CrystalReportViewer1.Visible = true;
public void SetDBLogonForReport(ReportDocument reportDocument)
Tables tables = reportDocument.Database.Tables;
connectionInfo.ServerName = "server"; //ConfigurationManager.AppSettings["DBServer"];
connectionInfo.UserID = "user"; //ConfigurationManager.AppSettings["DBUser"];
connectionInfo.Password = "passwd"; //XsiteWinRpt.ConnUtil.GetOnlyPasswordOfConnString(); //ConfigurationManager.AppSettings["DBPassword"];
//foreach (CrystalDecisions.Shared.IConnectionInfo connection in reportDocument.DataSourceConnections)
// connection.SetConnection(ConfigurationManager.AppSettings["DBServer"], "", ConfigurationManager.AppSettings["DBUser"], ConfigurationManager.AppSettings["DBPassword"]);
// connection.SetLogon(ConfigurationManager.AppSettings["DBUser"], ConfigurationManager.AppSettings["DBPassword"]);
foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
TableLogOnInfo tableLogonInfo = table.LogOnInfo;
tableLogonInfo.ConnectionInfo = connectionInfo;
table.ApplyLogOnInfo(tableLogonInfo);
//reportDocument.Database.Tables[0].ApplyLogOnInfo(tableLogonInfo);

Attaching full code ... Our case is the RPT files are stored wih default parameters and saved data. We need to let users just refresh the rpt files with latest db data and overwrite with the same rpt files. But this code keep showing The application server failed mesg. when the refresh icon of viewer is clicked.
Attaching the code as it is not properly attached in my previous reply ...
=======================
Begin - aspx.cs code
=======================
using System;
using System.Data;
using System.Data.OleDb;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.CrystalReports;
using CrystalDecisions.Shared;
using CrystalDecisions.Web;
public partial class _Default : System.Web.UI.Page
    private ConnectionInfo connectionInfo = new ConnectionInfo();
    protected void Page_Load(object sender, EventArgs e)
        if (!IsPostBack)
            //ConfigureCrystalReports();
    protected void  CrystalReportViewer1_Init(object sender, EventArgs e)
        ConfigureCrystalReports();
    private void ConfigureCrystalReports()
        string reportPath = Server.MapPath(@"Reports\Report1.rpt");
        this.CrystalReportSource1.ReportDocument.Load(reportPath);
        CrystalReportViewer1.Visible = false;
        SetDBLogonForReport(this.CrystalReportSource1.ReportDocument);
        foreach (ParameterField field in this.CrystalReportSource1.ReportDocument.ParameterFields)
            field.HasCurrentValue = true;
        //this.CrystalReportSource1.ReportDocument.Refresh();
        CrystalReportViewer1.ReuseParameterValuesOnRefresh = true;
        CrystalReportViewer1.Visible = true;
    public void ReportDocument_RefreshReport(object sender, EventArgs e)
        try
SetDBLogonForReport(this.CrystalReportSource1.ReportDocument);
CrystalReportViewer1.ReuseParameterValuesOnRefresh = true;
            this.CrystalReportSource1.ReportDocument.SetDatabaseLogon("user", "passwd", "server", "");
            foreach (ParameterField field in this.CrystalReportSource1.ReportDocument.ParameterFields)
                field.HasCurrentValue = true;
                field.AllowCustomValues = true;
                //field.EnableNullValue = true;               
            this.CrystalReportSource1.ReportDocument.Refresh();
                   this.CrystalReportSource1.ReportDocument.SaveAs(@"C:\Inetpub\wwwroot\XsiteRpt\Reports\Report1.RPT", true);
        catch (Exception ex)
            Msg.Text = ex.Message;
    public void SetDBLogonForReport(ReportDocument reportDocument)
        Tables tables = reportDocument.Database.Tables;
        connectionInfo.ServerName = "server"; //ConfigurationManager.AppSettings["DBServer"];
        connectionInfo.UserID = "user"; //ConfigurationManager.AppSettings["DBUser"];
        connectionInfo.Password = "passwd"; //XsiteWinRpt.ConnUtil.GetOnlyPasswordOfConnString(); //ConfigurationManager.AppSettings["DBPassword"];
        foreach (CrystalDecisions.CrystalReports.Engine.Table table in reportDocument tables)
            TableLogOnInfo tableLogonInfo = table.LogOnInfo;
            tableLogonInfo.ConnectionInfo = connectionInfo;
            table.ApplyLogOnInfo(tableLogonInfo);
=======================
End - aspx.cs.code
=======================
=======================
Begin - Assemblies
=======================
<assemblies>
                    <add assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
                    <add assembly="CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
                    <add assembly="CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
                    <add assembly="CrystalDecisions.Enterprise.Framework, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
                    <add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
                    <add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
                    <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/><add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
      </assemblies>
=======================
End - Assemblies
=======================
=======================
Begin - aspx
=======================
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Xsite.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Refresh Report</title>
    <link href="/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3/css/default.css"
        rel="stylesheet" type="text/css" />
    <link href="/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3/css/default.css"
        rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Panel ID="PanelMsg" runat="server">
        <br />
        <asp:Label ID="Msg" runat="server" Font-Bold="False" Font-Names="Verdana" ForeColor="Navy"></asp:Label>
        <br />
        </asp:Panel>
        <asp:Panel ID="PanelViewer" runat="server">
        <CR:CrystalReportViewer ID="CrystalReportViewer1" OnReportRefresh="ReportDocument_RefreshReport" runat="server" AutoDataBind="True"
            EnableDatabaseLogonPrompt="False" EnableParameterPrompt="False" ReuseParameterValuesOnRefresh="True" HasRefreshButton="True" Height="820px" OnInit="CrystalReportViewer1_Init" ReportSourceID="CrystalReportSource1" ShowAllPageIds="True" Width="1215px" />
        <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">           
        </CR:CrystalReportSource>
        </asp:Panel>
    </div>
    </form>
</body>
</html>
=======================
End - aspx
=======================

Similar Messages

  • Getting "The Report Application Server failed" when trying to view a report

    I'm getting an error pop up:
    Crystal Report Windows Forms Viewer
    The Report Application Server failed
    OK  
    When trying to display a report using the Crystal Reports viewer (as shipped with VS2008)
    The stack trace implies it's having problems rendering the first page of the report:
         System.Windows.Forms.dll!System.Windows.Forms.MessageBox.ShowCore(System.Windows.Forms.IWin32Window owner = null, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Windows.Forms.MessageBoxDefaultButton defaultButton, System.Windows.Forms.MessageBoxOptions options, bool showHelp) + 0x220 bytes     
         System.Windows.Forms.dll!System.Windows.Forms.MessageBox.Show(string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon) + 0x18 bytes     
         CrystalDecisions.Windows.Forms.dll!CrystalDecisions.Windows.Forms.MainReportDocument.GetPage(CrystalDecisions.Shared.PageRequestContext context = {CrystalDecisions.Shared.PageRequestContext}) + 0x6a9 bytes     
         CrystalDecisions.Windows.Forms.dll!CrystalDecisions.Windows.Forms.ReportDocumentBase.GetPage(int pageN = 1) + 0x1a3 bytes     
         CrystalDecisions.Windows.Forms.dll!CrystalDecisions.Windows.Forms.DocumentControl.ShowNthPage(int PageNumber = 1) + 0x79 bytes     
         CrystalDecisions.Windows.Forms.dll!CrystalDecisions.Windows.Forms.DocumentControl.ShowFirstPage() + 0x48 bytes     
         CrystalDecisions.Windows.Forms.dll!CrystalDecisions.Windows.Forms.PageView.ShowFirstPageEx() + 0x1ec bytes     
         CrystalDecisions.Windows.Forms.dll!CrystalDecisions.Windows.Forms.CrystalReportViewer.ShowReport() + 0xea bytes     
         CrystalDecisions.Windows.Forms.dll!CrystalDecisions.Windows.Forms.CrystalReportViewer.OnPaint(System.Windows.Forms.PaintEventArgs evtArgs = {ClipRectangle = {System.Drawing.Rectangle}}) + 0x182 bytes     
         System.Windows.Forms.dll!System.Windows.Forms.Control.PaintTransparentBackground(System.Windows.Forms.PaintEventArgs e, System.Drawing.Rectangle rectangle, System.Drawing.Region transparentRegion = {System.Drawing.Region}) + 0x16c bytes     
    Any ideas how to fix this?

    There is a good process for getting bugs fixed. However, you will have to provide a reliable way of reproducing the issue. E.g.; I can not go to R&D and ask that they fix a bug with a report that sometimes works and sometimes does not work.
    I suspect the best way to approach this, will be to actually see the report and try to determine what part of the report may be the issue. To be able to share the report, you will have to create a phone case here:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
    and discuss this at length with a support engineer.
    Ludek

  • Please Help: Error! Connection failed to MaxDB (Linux)

    Hello,
    our current situation is, that we copied manually (after a system crash) all files under /sapdb from an old backup into the our (empty) Live system. Only the database files under sapdb/KRT/sapdata comes from the chrashed SAP system. These files are not lost.
    If we start the Sap System following messages appears:
    Checking ADA db Database
    ABAP Database is not available via R3trans
    Starting SAP-Collector Daemon
    09:04:34 27.04.2010   LOG: Effective User Id is root
    This is Saposcol Version COLL 20.95 700 - v2.12, AMD/Intel x86_64 with Linux, 2008/01/02
    Usage:  saposcol -l: Start OS Collector
            saposcol -k: Stop  OS Collector
            saposcol -d: OS Collector Dialog Mode
            saposcol -s: OS Collector Status
    The OS Collector (PID 5469) is already running .....
    saposcol already running
    Running /usr/sap/EC6/SYS/exe/run/startdb
    Trying to start database ...
    Log file: /home/ec6adm/startdb.log
    Database start failed
    DB startup failed
    Our system administrator is ill and i'm not a system administrator.
    Could you help me ?
    Thank's lot
    Franz

    Some additional informations:
    /home/ec6adm/startdb.log:
    Di Apr 27 09:04:34 CEST 2010
    LOGFILE FOR STARTING DATABASE
    Trying to start database ...
    Di Apr 27 09:04:34 CEST 2010
    Checking required environment variables
    SAPSYSTEMNAME is >EC6<
    Start database with xuserkey >c<
    Di Apr 27 09:04:34 CEST 2010
    Connect to the database to check the database state
    dbmcli: connect check finished with return code: 0
    Database not available
    Di Apr 27 09:04:34 CEST 2010
    Starting XServer
        12916  XSERVER  Found other running x_server with version 'X64/LIX86 7.6.03   Build 009-123-163-622'
        12902  XSERVER  started, 'already...'
    Di Apr 27 09:04:34 CEST 2010
    Starting database
    Starting Database Instance...
    Error! Connection failed to node kurt for database KRT:
    database not found                    
    Opening Database...
    Error! Connection failed to node kurt for database KRT:
    database not found                    
    Di Apr 27 09:04:34 CEST 2010
    Connect to the database to verify the database is now open
    dbmcli check finished with return code: 0
    Database start failed

  • Please help me analysis it, Failed when CSV file upload to PSA,

    我的步骤是先建
    1.DATASOURCE;
    2.填写EXTACTION TAB的信息, 数据格式旋转CSV,数据分割输入代号u201D,u201C
    3.在Proposal tab,点击加载数据,可以看到CSV里面的数据;
    4,点击Fields Tab,就跳出对话框u201CField list no longer corresponds to default copy changesu201D "yes or no "
    5.点击YES,在FIields tab 里面可以看到Field,desciption等信息
    6.点击PREVIEW,就出现错误信息,
    请大家帮忙分析一下错误原因在那里。
    ---Runtime error -description of exception;
    Runtime errors Data_length_negative
    Except. CX_XY_RANGE_OUT_OF_BOUNDS
    short text Invailid partial field access :length negative
    what happened Errpr in the ABAP application program
    The current Abap program "CL_RSAR_PSA==============CP " has to be terminated bacause it has
    come across a statement that unfortunately can't be executed.
    Error analysis
    An exception occured that is explained in detail below.
    The exception,which is assigned to calss 'CX_SY_RANGE_OUT_OF_BOUNDS", was not caught in
    Procedure "_GET_DDI_STRUCTURE" "METHOD)",nor was it propagated by a raising clause.
    since the caller of the produre "method"...........

    只有一行数据也还是报同样的错,
    我刚刚开始学,不知道怎么DEBUG,能否简单说一下怎么DEBUG嘛?
    谢谢。
    ----下面是错误信息
    Runtime Errors         DATA_LENGTH_NEGATIVE
    Except.                CX_SY_RANGE_OUT_OF_BOUNDS
    Date and Time          09/04/2009 21:34:14
    Short text
    Invalid partial field access: Length negative
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "CL_RSAR_PSA===================CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_RANGE_OUT_OF_BOUNDS', was not
    caught in
    procedure "_GET_DDIC_STRUCTURE" "(METHOD)", nor was it propagated by a RAISING
    clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    In the executed program "CL_RSAR_PSA===================CP", the system
    attempted to access the field
    "ME->P_PSA_TECHNAME" using the length "-3".
    However, a partial field access with a negative length specification is
    not allowed.
    How to correct the error
    Use a positive length specification if a part of the field "ME->P_PSA_TECHNAME"
    is to be
    accessed.
    If the error occurred in your own ABAP program or in an SAP
    program you modified, try to remove the error.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "DATA_LENGTH_NEGATIVE" "CX_SY_RANGE_OUT_OF_BOUNDS"
    "CL_RSAR_PSA===================CP" or "CL_RSAR_PSA===================CM00A"
    "_GET_DDIC_STRUCTURE"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    The exception must either be prevented, caught within proedure
    "_GET_DDIC_STRUCTURE" "(METHOD)", or its possible occurrence must be declared
    in the
    RAISING clause of the procedure.
    To prevent the exception, note the following:

  • Load Report Failed - Report Application Server Failed error at runtime

    Hello, I'm pretty new to Crystal Reports so please bear with me.
    I just installed CR 2008 on my development box, which is running VS2005 .NET 2.0.  I changed over all of my assembly references in my web.config to the new version:
    <add assembly="CrystalDecisions.Web, 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.ReportSource, Version=12.0.2000.0, Culture=neutral,
    PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.ReportAppServer.Controllers, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.Viewing.ReportSource, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    Also the webpage that is displaying the ReportViewer object has this reference as well:
    <%@ Register Assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
        Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
    Now, in my code behind I am simply trying to open a pre-built crystal report that came in the sample pack
    When I try and do this in our already built website I get an error:
    "Load report failed"
    With the inner exception saying:
    "The Report Application Server failed"
    This same piece of code works perfectly if I build a new website, however when I try and impliment this into our existing code base I get the error shown above.  Also the samples I've used all use .NET 3.5 and the website is in 2.0.  I'm not sure if that is a factor or not but that is also another piece of information that could be useful.
    Any help on this matter would be greatly appreciated.  Thank you for you're time.
    Chris McMahan
    Edited by: Arithal on Aug 4, 2009 8:36 PM

    And finally the stack trace.  Sorry for the length of these posts.
    [COMException (0x800001f5): The Report Application Server failed]
       CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +126
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +575
    [CrystalReportsException: Load report failed.]
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +646
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +1374
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +169
       Report_Viewer_Crystal_CrystalView.ConfigureCrystalReports() in c:\Inetpub\wwwroot\Report Viewer\Crystal\CrystalView.aspx.cs:49
       Report_Viewer_Crystal_CrystalView.Page_Init(Object sender, EventArgs e) in c:\Inetpub\wwwroot\Report Viewer\Crystal\CrystalView.aspx.cs:33
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
       System.Web.UI.Control.OnInit(EventArgs e) +99
       System.Web.UI.Page.OnInit(EventArgs e) +9
       System.Web.UI.Control.InitRecursive(Control namingContainer) +321
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +834

  • Custom tool error for COMexception: The report application server failed.

    hi there,
    i am using crystal reports for the last one year onwards, i don't get any errors till know. Yesterday when i modified some information in 40 reports. out of these reports 34 reports are successfully build, but for the remaining six reports the code is not generating.
    Custom tool error: "Code generator 'ReportCodeGenerator' failed.  Exception stack = CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: The Report Application Server failed
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath)
       at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath, String resourceNamespace)
       at CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)"
    i am not understanding why it is getting for me, Please help me

    Hello,
    Whoever wrote the CustomCodeGenerator will have to help you with this one. We know nothing about the underlying code they are using and therefore can't determine the cause.
    Appears the error is it can't even load the report so there is something wrong with the workings. Open the report again in CR Designer and Verify Database and then check the changes you did. Something is not right or the DB driver their application is using does not match with what you are using.
    Don

  • Crystal Reports error - The Report Application Server failed

    Hi,
    I am getting the following error on XP Professional system. These reports were built earlier by one of my collegue and am trying to use the app but i stuck up getting the below error. The report gets failed
    repPath=Server.MapPath ("./Reports/Umbrellas.rpt");
    crReportDocument.Load(repPath); //Fails here
    crReportDocument=SetLogonForReport(crReportDocument);
    crReportDocument.SetParameterValue ("fromDate",DateTime.Parse (fromdt) );
    crReportDocument.SetParameterValue ("toDate", DateTime.Parse (todt) );
    I tried in design time attaching to Crystal Reports Viewer object , i get the same error. It looks like something related to Crystal Reports got corrupted in this system.
    Please find the stack trace for the error
    Stack Trace:
    [COMException (0x80004005): The Report Application Server failed]
       CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
    [Exception: Load report failed.]
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       CrystalDecisions.ReportSource.NonHTTPCachedReportSource.GetReport(RequestContext context, Boolean bAddToCacheWhenCreated)
       CrystalDecisions.ReportSource.LocalReportSourceBase.GetPage(PageRequestContext pageReqContext)
       CrystalDecisions.Web.ReportAgent.  (Boolean  o)
       CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e)
       System.Web.UI.Control.PreRenderRecursiveInternal() +62
       System.Web.UI.Control.PreRenderRecursiveInternal() +125
       System.Web.UI.Control.PreRenderRecursiveInternal() +125
       System.Web.UI.Page.ProcessRequestMain() +1488
    Environment:
    .NET v1.1.4322
    Crystal Reports 10.0.0.533
    OS: Windows XP Professional - Ver 2002  Severice Pack 2
    I tried some of the solutions provided  by searching web,  it does not work. Please help!!!
    Appreciate your help on this.
    Edited by: KMallik2000 on Jul 15, 2009 4:39 PM

    Hi,
    I am trying to replicate the same issue on new desktop which has crystal reports 9.1 & 10 installed. I still see crystal reports 9.1 controls when i open VS.net. when i compare both desktop installed softwares, i found that the other desktop has "Crystal Reports 10 .NET runtime installed" which is not there on the new desktop. please advise whether i need to install this software to get ver 10 components installed? Appreciate your help on this. can you also advise the software download location for 10 .net run time installation?
    In other words, though crystal reports 10 got installed on this desktop but it is not getting referenced in VS.NET. I am seeing only 9.1 version assemblies are being used. hence my solution is not getting compiled in this desktop. Please advise how to get the version 10 assemblies referenced in the solution
    Edited by: KMallik2000 on Jul 20, 2009 4:46 PM

  • Getting error: Report Application Server failed

    I started posting my problem in thread below and have been advised to continue in this forum
    Reference thread: The Report Application Server failed
    My problem occurs in a asp application (vb 2005) and also when I run the Crystal Report stand alone (xi rel 2).
    The asp application does not render any other messages than "report Application Server Failed" but running the CR stand alone I get  "error formatting cross tab object". Whenver I get this message and if I switch page setting (either from landscape to portrait or portrait to landscope) it work for the report in question.
    I have now advanced a little further in trying to solve the issue or at least find what is wrong. I have created a .net windows application where I export the CR to disk
    Dim DiskOpts As CrystalDecisions.Shared.DiskFileDestinationOptions = New CrystalDecisions.Shared.DiskFileDestinationOptions
    myCrystalReport1.ExportOptions.ExportDestinationType = CrystalDecisions.[Shared].ExportDestinationType.DiskFile
    myCrystalReport1.ExportOptions.ExportFormatType = CrystalDecisions.[Shared].ExportFormatType.PortableDocFormat
    DiskOpts.DiskFileName = ReportPath & ReportName
    myCrystalReport1.ExportOptions.DestinationOptions = DiskOpts
    myCrystalReport1.Export()
    I get the same problems, some reports will not let me export and I am getting error:
    CrystalDecisions.CrystalReports.Engine.InternalException: The Report Application Server failed ---> System.Runtime.InteropServices.COMException (0x800003E5): The Report Application Server failed
       at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export()
    My default page set up is landscape and  if I now reverse the page set up like: myCrystalReport1.PrintOptions.PaperOrientation = PaperOrientation.Portrait it will let me export.
    My windows application exports hundreds of reports in a single run and by toggling between landscape and portrait I manage to get it working when I get an export error (like above).
    Was hoping that anyone couldm point me in a good direction, I've been fighting this problems for many days now and I do not have a solution as to why this is happening. Thank you.

    Hi, 
    The cross-tab reports that are causing this error, do they have any formatting formulas on any of the objects? 
    Are your using any running totals or setting the Evaluation Time using WhilePrintingRecords? 
    I've run into this problem with crosstabs when I created a Display String formula using Running Totals. 
    The report cannot render the report because the running total is conflicting with the results of the crosstab. 
    When you right-click an object and go to Format Field.  In the Common tab if the Display String has a formula set, remove or comment it out.  Do this for all the objects and try running the report again. 
    Good luck,
    Brian

  • Please help error -9808 when downloading apps in itunes store anyone can help me out

    please help error -9808 when downloading apps in itunes store anyone can help me out

    Click here >  iTunes: Advanced iTunes Store troubleshooting
    Then "expand" Specific Conditions and Alert Messages
    Then click 9808

  • Report Application Server Failed

    Hi All,
    I have converted a PLD to Crystal Report. After importing this converted Crystal Report in B One , I have set it as default for Purchase Order document. When I am clicking on the Print Preview I am getting error as Report Application Server Failed. Please help me in addressing this issue.
    Regards,
    Noor Hussain

    Hello Noor,
    Before you import the CR layout into SAP B1 you may use the Preview in SAP B1 Function to know the report is really operating.
    Regards
    János

  • CrystalReport - Getting "The Report Application Server failed" while export

    Hi Experts,
    I am using Crystal Reports 2008 in my ASP.NET application to generate reports. Everythings works fine in the development environment. When I deploy it on my Windows Server 2003 system, I get an error "The Report Application Server failed" while exporting the report from the report control. But, the report assuch is working fine even in the production environement. I experience this issue only while exporting to excel or anyother format.
    Do I need to configure anything or any settings needs to be turned on in the .rpt files!!
    Appreciate any help to get this issue resolved.
    TIA,
    Prem

    First a confirmation. When you say; "...exporting the report from the report control...", you mean the printer button on the viewer?
    Questions;
    What version of .NET?
    What Crystal Reports Service Pack are you on?
    How was the CR runtime installed on the server?\
    Can you print the report OK?
    Are you using sessions?
    Ludek

  • Deploy to Application Server Failed on a distributed environment

    Hi All,
    I am trying to configure new Hyperion verion 11.1.2.2 on distributed environment but during configuring calculation manager to application server failed and getting error message like "Deploy to Application Server Failed". I am not sure what is issue and how to fix it. I have tried to read log files but I am not able to undersantd where to look and debug this issue.
    My Hyperion Environment over view as a below:-
    1- I have used Microsoft VMWARE to build my Hyperion Enviornment
    2- I have created 1 window server 2003 domain and made 4 clients of that domain. (All these systems have windows server 2003 installed). I have given name to each client server i.e. System A, System B, System C, System D
    3- I have installed SQL 2005 and created databases for all Hyperion components i.e. Shared services, calculation manager, epma on a system A
    5- I have installed and configured foundation services and weblogic server on a system B. (In this system I have installed and configured shared services, weblogic, workspace, and able to deploye application server on a same system)
    6- On a system A I am able to complete installation for hyperion Performance Management Architect and Calculation Manager and able to finish all type of configuration for these two components but as soon as system trying to configure any related to APPLICATION SERVER services it fails to configure. On a configuration summary page system shows everything is configured but APPLICATION SERVER says FAILED wrtten on a red color letters.
    I have explored log files and found that Calculation Manager application server failed to deploy or Deploy to Application server failed.....
    Since, I am not sure where to look and how to debug this issue I am requesting to all hyperion friends to help and guide me to debug as I have been trying to install this product since last friday and still no out put....
    I will be really thankful if someone share his or her wisdom to help me....
    Thank you to all in Advance.....
    Thanks,
    Safi

    Did you install all the WebLogic web applications on the foundation machine as well as the machine they are going to be deployed to.
    "On the machine on which you plan to administer the WebLogic Server, you must install all Web applications for all applications you plan to deploy on any machine in the environment. (The WebLogic Administration Server is installed and deployed on the Foundation Services machine.)"
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • The device has encountered an unexpected error. Installation error: application verification failed

    the device has encountered an unexpected error. Installation error: application verification failed
    I have been receiving this message over and over again when trying to publish my iOS app for the app store (I use Flash cc AIR 3.9.1.1080 for iOS and my settings are: "device testing in interpreter mode", as my app uses several swfs).
    I have done everything from scratch, as recommended on other sections of the forums: new app ID from my apple developer account, new Distribution Certificates, new Distribution Provisioning Profiles and nothing works.
    I can install my app on my iPad if I use the development Certificate and Provisioning Profile and everything seems OK. But as soon as I use the Distribution Certificate and Provisioning Profile get the same message:
    the device has encountered an unexpected error. Installation error: application verification failed
    I have done everything from the beggining over and over and nothing works. Am I the only one having this issue on Flash cc???

    Hi Daniel:
    I´m far from being an expert on Xcode (or any code) but this is what I did and it worked:
    - On Xcode go to Preferences > Accounts > select your App Developer Account, then click "view details" on the lower right corner.
    - There you can see which of your "Signing Identities" (Certificates) are "Valid". You should have at least one for Development and one for Distribution.
    - Below that window there are two icons which you can use to add, export or revoke a "Signing Identitie" (Certificate).
    - Choose the one you want to use (Develop. or Distrib.), export it to the folder of the app you are working on and name it in such a way you can relate it to your app. Before knowing this I was exporting them using Keychain Access and I wasn´t naming them to differentiate each one properly.
    - On your Apple Developer account create the Provisioning Profile for your app. I deleted any App IDs or Prov. Profs. which were useless.
    - Then on my Apple Developer account I generated a Development Prov. Prof. to install and test my app on my iPad. All went fine.
    - Then an Ad Hoc Prov. Prof. again to install and test my app on my iPad. All went fine.
    - Then I generated the App Store Prov. Prof. and I was able to install the app on my device without the upsetting error.
    - Then I uploaded the app to iTunes Connect with no problem.
    These link was useful for me: https://developer.apple.com/library/ios/technotes/tn2318/_index.html#//apple_ref/doc/uid/D TS40013777-CH1-TNTAG0
    You can also search for "Certificates" and "Provisioning" on Xcode help.
    Good luck!

  • Constantly "Cluster resource 'Virtual Machine' in clustered service or application 'SERVER' failed

    Hi...
    I have an IBM BladeCenter S with 3 blades and an IBM System Storage DS3300 (ISCSI).
    In each blade is running Windows Server 2008 R2 with
    HYPER-V,
    Failover Clustering with Cluster Shared Volumes.
    I have observed that many errors occur constantly in "Failover Cluster Manager" and some VM´s are relocated to another blade automatically, however thoses VM´s sometimes no longer responds to network activity.
    The errors I have observed in the "Failover Cluster Manager" are:
    Source: Microsoft-Windows-FailoverClusting
    Event ID: 1069
    Description:
    Cluster resource 'Virtual Machine' in clustered service or application 'SERVER' failed.
    Source: Microsoft-Windows-FailoverClusting
    Event ID: 1205
    Description:
    The Cluster service failed to bring clustered service or application 'SV-DBURAS' completely online or offline. One or more resources may be in a failed state. This may impact the availability of the clustered service or application.
    Another error (warning type) that is constantly generated in the SYSTEM events (Mirage is the storage name):
    Source:        ds4dsm
    Event ID:      769
    Description:
    IO error being retried via alternate controller Mirage:1
    Source:        ds4dsm
    Event ID:      10
    Description:
    Mirage:0 Failover command issued.
    Source:        ds4dsm
    Event ID:      801
    Description:
    Failover succeeded to Mirage:0.
    Thank you in advance any help! 

    Hi,
    I suggest referring to the following articles:
    http://technet.microsoft.com/en-us/library/cc756225(WS.10).aspx
    http://technet.microsoft.com/en-us/library/cc773525(WS.10).aspx
    Tim Quan - MSFT

  • F4 help for Application Server

    Hi all,
    i have a requirement like selection screen for F4 help where i need to pick the file from Application Server.
    When i click on the field on selection screen it should display like same as the AL11
    How can this posssible by calling any Function Module or Method ,Will anybody help me in displaying all the Directories with Paths.
    Regards,
    Madhavi

    Hi Madhavi,
    check this code and for the field p_file no need to pass any thing. before that i have given some wrong code.
    DATA: lv_hostname TYPE msxxlist-name.
    DATA: lv_server TYPE bank_dte_jc_servername.
    PARAMETERS: p_file TYPE rlgrap-filename.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'BANK_API_SYS_GET_CURR_SERVER'
        IMPORTING
          e_server = lv_server.
      lv_hostname = lv_server.
      CALL FUNCTION 'F4_DXFILENAME_4_DYNP'
        EXPORTING
          dynpfield_filename = 'P_FILE'
          dyname             = sy-cprog
          dynumb             = '1000'
          filetype           = 'P'
          location           = 'A'
          server             = lv_hostname.
    just run this code separately in a SE38 prog. when ever u press F4 key on the field p_file, u can able to see like AL11 transaction.

Maybe you are looking for

  • A letter to Mr Shantanu Narayen

    I recently sent this letter to Mr Narayen, in the hope that he will listen to us members of the Adobe forum that wish to see FreeHand co-exist with other more complex applications which Adobe manufacture. NB: this isn't a dig at any particular applic

  • Increasing Mobile Me Gallery on iWeb Page

    I am inserting a MobileMe Gallery into my Web Page. Unfortunately the size is to small 160 x 140. I want to at least double the size. I click on the outer edge and find the 6 small boxes that would normally allow increase/decrease and no change of cu

  • OLD PHOTOSHOP 4.0 and 6.0 install in Windows 8.1

    I have an OLD PHOTOSHOP 4.0 CD and a PHOTOSHOP 6.0 UPGRADE CD. I am running Windows 8.1 I had no problem in Windows 7 installing the 4.0 CD - then the UPGRADE 6.0 over that. But Windows 8.1 would not allow an install of PHOTOSHOP 4.0 but probably wou

  • Problem Installing Classic support in Mac OS X v.10.2.3

    Hello! Sorry for my poor english. I got a PowerBook G4 (15 inch) And Mac OS X v. 10.2.3 installed on it. Some program tells me that it needs Classic enabled to start. Then I go to System Preferences to Classic And there's a messsage "There is no volu

  • How to get a dvd onto a video iPod

    i have downloaded a couple of softwares, but when i ty to open them, it says there is nothing to open to. Help!!!