CR4VS2010 Load Report failed - COMException (0x800001f5): The Report App...

Hello,
My company recently decided to start using the 64 bit CR VS2010.  Several machines have installed it and are working correctly, but others get Load Report failed - COMException (0x800001f5): The Report Application Server failed error when trying to render a crystal report to a new application window.  This happens when running the app through VS2010 or IIS.
Another issue, is that once CR4VS2010 is installed, the ability to check-out .rpt files through TFS no longer works.  CR4VS2010 will open the .rpt, but manual check-out is not allowed for some reason.
Machines are running Vista 64 bit Ultimate, VS2010, Crystal XI R2 SP4, and TFS.
So far I have tried re-installing VS2010 and CR4VS2010, but still get the same issues.
All help is greatly appreciated.
Thank you.

Hello,
Please one question per post, makes it a lot easier to follow. Post your TFS question in a new post.
Use Process Monitor and compare logs between working and non-working PC's. Typically either missing dependencies or permission issues. Look for Access Denied errors.
Thank you
Don

Similar Messages

  • Vista/Adobe 9/sql image Error in Crystal Report:Failed to Export the Report

    When I try to export my Crystal Report (v2008) from a Vista machine (using Crystal RDC export methods) as a PDF, I get the following error:
    Error in Crystal Report:  Failed to export the report.
    This only happens when a particular subreport (that contains a sql image) prints (based on an input parameter).  We have other subreports (within this same report) that print a sql image just fine.  But, when this subreport prints, the above error appears.
    I can run the same report on an XP machine without error.
    Exportmodeller.dll and crtsv.dll are both installed and registered to the
    C:\Program Files\Common Files\Business Objects\3.0\bin folder
    I have tried opening the report, removing the image, and then adding it back in again to the subreport.
    Still receive the same error.
    Any suggestions?

    >
    Don Williams wrote:
    > RDC is no longer shipped in CR 2008. You are using the embedded designer used within the Visual Studio .NET IDE and is not licensed for distribution.
    >
    > Upgrade to the .NET components and post your question to the .NET forums.
    >
    > Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.
    Don,
    Can you please clarify?
    Our VB6 app that uses Crystal XI RDC runtime components.  Our Crystal reports are edited in CR2008 SP1 developer edition (not through the VB.NET embedded report designer).  We have deployed the CRXIRelease 2 runtime components (via the merge module) to our client machines in order to execute the RDC.
    We can print/preview/export to excel, but the pdf creation is failing with this error.
    We are only using the RDC (which we know is no longer supported) because of huge issues with the Crystal for .NET methods we are having with our customers (I have an active case for this issue).  Therefore, we have to rollback our .NET product and revert to the RDC code. 
    Vista is failing to create a PDF for a report developed in the CR2008 SP1 developer edition when using the RDC.
    When you say  "Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.", what do you mean by "will not work in CR2008"?
    Thank you

  • Crystal Report failed scheduling onto the File System

    Hi,
    We have set up a Crystal report file for scheduling via file system. This report has been running fine with regards to generation all through last few months, but has started failing to generate the report at the scheduled time onto the file system from the last few days. When I checked the logs of the Instance Manager, it shows an error like this 'Unable to connect: incorrect log on parameters. Details: [Database Vendor Code: 1017 ]'.
    Please note, I was able to run the report from InfoView without any issue, so I don't believe there is any issue with stored procedure/report/database connection but something else.
    Can someone please provide some insights on this.
    Thanks.

    Hello Satish,
    Is this issue specific to FileSystem location? What about default enterprise location?
    When you view the reprt in InfoView, click on Refresh button to get current data. If the repot was published with Saved Data option, then you would see data in the report but it would be old one.
    Above step would confirm that there is no issues with database user credentials specified with the report.
    Also, open the report in Crystal Reports 2011, refresh it and publish without saved data in BI 4 repository and schedule it.
    Regards,
    Mahesh

  • Failed to export the report in Crystal Reports 2008

    I am using Crystal Reports 2008 version 12.1.0.892, when i try to export data to Microsoft Excel(Data Only) it's failing with the error "Failed to export the report.", please help in resolving this issue.

    Hi Abhilash,
    I tried suppressing the report header and page header it was working fine, but previously i used to export with all the headers. Without page headers the output file is of no use. I was facing the same issue on one of the local desktops too then i uninstalled the software and installed it again then it was working fine but its not the solution.
    -Srikar

  • Failed to export the report to PDF

    I am currently developing multiple applications using Visual Studio 2008 and Crystal Reports. The application works fine in the development environment but when deployed to a user's machine I get the error listed below.
    I installed the redistributable package that came with Visual Studio. Then I installed my packed. I check in the users GAC that the assemblies I used in developing are installed. They are present on the users machine.
    I have not found much on this subject online. Does anyone know of a solution to this issue? Was installing the redistributable package that came with Visual Studio 2008 correct? Any help would be great.
    Not implemented.
    Failed to export the report.
    Error in File C:\DOCUME~1\USER~1\LOCALS~1\Temp\1\temp_a4f4905b-85ec-4420-ae7e-f1a57ecd3f44 {CDBECA9C-8D45-4BEE-949F-F6CF818AB575}.rpt:
    Operation not yet implemented.
       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.ReportDocument.ExportToStream(ExportOptions options)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType)
       at Condor.Threading.PortfolioAnalysisPDFThread.StitchReport(List`1 crReports)
       at Condor.Threading.PortfolioAnalysisPDFThread.CreateReport(DoWorkEventArgs e)

    Hi Ludek ,
    Thanks for reply,
    I download CR2008 Redistribale & Installed it.
    But still I am getting following  error on client PC;
    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.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
    Please  give  solution.
    Thanks

  • Failed to export the report... to Microsoft Excel (97-2003) Data-only

    I'm using Crystal Report version 12.1.0.892
    I'm trying to export reports to 'Microsoft Excel (97-2003) Data-only' (an option I use all of the time), and am getting the message "Failed to export the report."
    It only started this week.  I can export to "'Microsoft Excel (97-2003)" (and PDF, etc.) without incident, but it's not what I want.
    I have not made any changes to Crystal Reports, but have applied updates to Microsoft Windows XP (ver 2002, SP 3).
    Any ideas?

    I'm having the same error and have a subreport with 3 groups. The subreport data being returned is all in the Details section. All other sections of the sub are suppressed.
    I can export the main report fine (it's just headers). I can also drill into the sub and export that fine, but of course get back only limited data. When I try to export the whole thing it chokes.
    Any thoughts?
    Many thanks for your help.

  • SQL ENTERPRISE: The edition of Reporting Services that you are using requires that you use local SQL Server relational databases for report data sources and the report server database

    The error below makes absolutely no sense! I'm using Enterprise Core...yet I'm being told I can't use remote data sources:
    w3wp!library!8!03/05/2015-19:08:48:: i INFO: Catalog SQL Server Edition = EnterpriseCore
    w3wp!library!8!03/05/2015-19:08:48:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedException: , Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedException: The feature: "The edition of Reporting
    Services that you are using requires that you use local SQL Server relational databases for report data sources and the report server database." is not supported in this edition of Reporting Services.;
    Really? This totally contradicts the documentation found here:
    https://msdn.microsoft.com/en-us/library/ms157285(v=sql.110).aspx
    That article says remote connections are completely supported.
    ARGH! Why does this have to be so difficult to setup?!?

    Hi jeffoliver1000,
    According to your description, you are using Enterprise Core edition and you are prompted that you can’t use remote data sources.
    In your scenario, we neither ignore your point nor be doubt with what you say. But actually we have met the case before that even though the SQL Server engine is Enterprise but the reporting services is still standard. So I would recommend you to find the
    actual edition of reporting services you are using. You can find Reporting Services starting SKU in the Reporting Service logs ( default location: C:\Program Files\Microsoft SQL Server\<instance name>\Reporting Services\LogFiles). For more information,
    please refer to the similar thread below:
    https://social.technet.microsoft.com/Forums/en-US/f98c2f3e-1a30-4993-ab41-acbc5014f92e/data-driven-subscription-button-not-displayed?forum=sqlreportingservices
    By the way, have you installed the other SQL Server edition before?
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Run the reports from out of the Reports Builder

    Hi, happy new year for everybody!
    I'm new on Oracle. I would like to know how can I run the reports created on Reports Builder (Developer Suite) without enter the Reports Builder. The ideia is to allow a common user access the report, enter the parameters and see the result.
    Thanks!
    Adriano

    Hello,
    You can start a Reports Server :
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_strt.htm
    2 Starting and Stopping OracleAS Reports Services
    then, execute the Reports using the Reports Servlet :
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_run.htm
    13 Running Report Requests
    Regards

  • ErrorMessage - No name free for internal report copy. Save the report first

    Trying to execute <b>saved</b> program, recieve following message: "No name free for internal report copy. Save the report first"
    How to see reports in the name range: '!......MyReport' ?

    I would like to re-open this question. Thanks!

  • TS1389 iTunes fails to sinc the new apps

    Since I upgraded iTunes to the last version it fails to sinc the new apps on my iphone 4 or ipad mini. From step 3 it jumps to step 5 and ends sinc!... I tried with the option "Install new apps automatically" on and off with the same result. iphone and ipad with ios 6.1.3 and itunes with 11.0.3 version. What should I do?

    Thanks jason269.
    Unfortunately your suggestion didn't help. The problem is that before, when I connected the iPhone/iPad with iTunes, new apps or updates installed on the device were automatically detected and synced with my pc through iTunes.
    Now they are not detected. On step 3, it says "detecting new applications" and suddenly jumps to step 6 and finishes synchronization without copying the new apps or updating the existing that were updated on the device in the meantime.
    That's the problem! It persists with the last version of iTunes installed today - 11.0.4...

  • Load report failed - COMException (0x8000020D)

    I have a windows application project (C# and .NET 2.0) that used Crystal Report 2008.  But I get error sometimes (it seems accidentally) in loading report on end user's machine. That error is:
    CrystalDecisions.Shared.CrystalReportsException: Load report failed.
    System.Runtime.InteropServices.COMException (0x8000020D): Unable to load report.
       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 SIA.DataTransfer.Forms.frmReport.GetStateReport(Int32 transferType)
    I'm sure report path is correct
    please guide me. How can I solve this problem?

    There are a few basic reasons you'd get the error:
    1) App is asked to load the report from a faulty location
    2) There is a read permissions issue on the folder the report is in
    3) There is a read write permission issue on the temp folder
    4) The app is not cleaning up the report object
    5) A dll (such as a ufl) can not be loaded
    It is critical that your original description is accurate:
    "I get error sometimes (it seems accidentally) in loading report on end user's machine."
    If that is the case (and I assume you meant you get the error on occassion, or after the app has been running for a while(?)), 1 to 3 above should not be in play.
    Two questions:
    What is the version of the assembly crystaldecisions.crystalreports.engine.dll referenced in your project?
    Did you run procmon and did it show you anything?
    Suggestions:
    Use the [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] utility to compare the dlls loading on your development and on the user computer. Since this works on your dev computer, check for dll differences.
    Ensure you are using .Close and .Dispose once you are done with each report object.
    See if the Event Viewer shows any messages
    Ludek

  • Deploy Monitoring reports Fail Cannot get the ReportServerWebService URL

    Hi, I am deploying the monitoring reports in a single host different to FE or Backend
    When I launch the wizard the installation fail with the message:
    > Deploying Monitoring Reports... This might take a few minutes.
    The Monitoring Database is using SQL instance "mendbsql3\ARCHLYNC2013".
    The data source is using SQL instance "(local)\ARCHLYNC2013".
    System.Runtime.InteropServices.COMException (0x800700A4)   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr
    errorInfo)   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()   at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()System.Runtime.InteropServices.COMException (0x800700A4)  
    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()   at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()System.Runtime.InteropServices.COMException
    (0x800700A4)   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()   at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()System.Runtime.InteropServices.COMException
    (0x800700A4)   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()   at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()System.Runtime.InteropServices.COMException
    (0x800700A4)   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()   at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()Cannot
    get the ReportServerWebService URL. Verify that Reporting Services is deployed and configured properly on the target SQL instance:"mendbsql3\ARCHLYNC2013", and that WMI is included on the exception list of firewall setting on the server that is running
    Reporting Services.
    I check the configuration of the reporting services configuration, all see OK. I probe the URL in the server that I want to configure like a monitoring reporter
    and I can explorer and administrate the Reporting Services. The firewall into the servers is off.
    Somebody else have this problem.
    THX.

    Hi Lapatinogo
    This is how I install Monitoring in my lab series.
    http://lyncme.co.uk/microsoft-lync-server-2013/the-complete-home-lync-lab-part-3-installing-lync-2013-monitoring-and-lync-edge-server/
    Navigate –> Lync Server –> Your Site –>
    Lync Server 2013 –> Standard Edition Front End Servers –>
    Your Server
    Right Click –> Edit Properties –> Scroll Down to Monitoring
    Tick Monitoring –> Press New –> Enter your
    SQL Server FQDN –> Specify your instance –> Untick
    This SQL instance is in mirroring relation (As stated in Part 1 you should already have a SQL Server with an instance available) –> Press
    OK
    Press OK –> Press Action –> Press
    Topology –> Press Publish
    Press Next
    Press Next –> This should complete successfully –> Press
    Finish
    Launch Lync Deployment Wizard
    Press Yes –> Click Deploy Monitoring Reports
    Press Next
    Press Specify a User Account and Password that has rights to the instance –> Press Next
    Press Specify User Group (I will be using the default group) –> Press
    Next
    Press Finish
    Launch the Lync Server Control Panel
    Login with an account that is apart of the CSAdministrator
    Click View Monitoring reports –> Click your SQL Server FQDN
    You should now see the below window   Successful deployment of Lync Monitoring

  • Load jpg Files in to the Report

    Hello,
    I would like to load a *jpg file in to the Diadem Report. I can load the pictures by going to "Diadem Report->Graphics-> load Graphics". But I have to do it by the VSB Script automatically. Unfortunately I couldnt finde any VBS-Code how to do it.
    Doese anyone has any idea how to do it?
    Thanks

    Hello FHM!
    If you use DIAdem 10 or better there is another aproach: Use an expression like '@T1@' as filename in the report and just set the variable to your image filename und call 'PicUpdate'. The advanced user can use an expression like '@@MyCmdExtFunc@@' as filename to implement a dynamic call to an user command extension script function on every 'PicUpdate'.
    Matthias
    Matthias Alleweldt
    Project Engineer / Projektingenieur
    Twigeater?  

  • Failed to export the report \n Crosstabs and OLAP grids are not supported in this export format

    Post Author: ajaymoudgil
    CA Forum: Other
    We are using Crystal Reports (Product Version: 11.0.0.1282). We encountered with a problem while we are going to export report in CSV (Separated Text). The report Contained Cross-Tab. Its Shows the Error Message u201CFailed to export the report \n Crosstabs and OLAP grids are not supported in this export formatu201D. Please find the attachment with this mail having screen shot for the same.
    We were able to export CSV (Separated Text) Format in Crystal Report Version 7 for the same report. Please let us know any way(s) so that we will successfully export the report in CSV (Separated Text) format in Crystal Reports version 11.
    Thanks,
    Ajay Sharma

    Hi Ludek ,
    Thanks for reply,
    I download CR2008 Redistribale & Installed it.
    But still I am getting following  error on client PC;
    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.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
    Please  give  solution.
    Thanks

  • Problem with output from  report to excel, calling the report from form 10g

    Hi everyone, I'm having a problem generating a excel from a report, which is called from a form, I'm using Forms 10g. The problem is this: My report has a variable number of columns. These columns appear according to data obtained from the database, these columns are dates, In vesion 6 excel file generated shows the columns one after another starting in column A1 to column CP. I mean that the dates are correlative. But in version 10g the excel file generated shows the same report starting in column A to column T, only shows the 20 dates correlative corresponding to this columns, the rest of the dates are down the excel sheet in groups of 20 dates, it's something, the file in 6i grows across and in 10g grows down the excel sheet. The report (rdf file) is the same in 6i and 10g, I compiled the 6i version to obtain the 10g version. The excel sheet generated in 10g looks like the report was in pdf format, because PDF format, cuts the report in pages and the file grows down, if I generate the report in PDF format it has the same structure excel file in 10g has. I hope yo can help because I have days trying to solve this but I have no succes. If someone could help I could email the excel files generated in two versions. Here I put the code I use to generate the files in 6i and 10g. I have tried with DESFORMAT=SPREADSHEET in 10g but the result is the same. Thanks for your help. Greetings for all.
    Code for version 6i (Works Very well)
    PROCEDURE GUARDAREXCEL IS
    pl_id ParamList;
    nom_rep varchar2(20);
    cla_rep varchar2(20);
    cod_dis varchar2(4);
    nom_arch varchar2(100);
    fec date;
    BEGIN
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    IF :BK_PARAMETROS.LI_COD_DIS IS NOT NULL THEN
    cod_dis := :BK_PARAMETROS.LI_COD_DIS;
    END IF;
    IF :BK_PARAMETROS.TI_COD_CLI IS NOT NULL THEN
    Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,:BK_PARAMETROS.TI_COD_CLI||'%');
    ELSE
    Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,'%');
    :BK_PARAMETROS.TI_COD_CLI:='%';
    END IF;
    IF :BK_PARAMETROS.CLAS_REP=1 THEN
    cla_rep := '001';
    ELSE
         IF :BK_PARAMETROS.CLAS_REP=2 THEN
              cla_rep := '002';
         ELSE
              IF :BK_PARAMETROS.CLAS_REP=3 THEN
              cla_rep := '003';
         ELSE
              cla_rep := '004';
         END IF;
         END IF;
    END IF;
    Add_Parameter(pl_id,'P_COD_DIS',TEXT_PARAMETER, cod_dis);
    Add_Parameter(pl_id,'P_FECHA',TEXT_PARAMETER,to_char(:BK_PARAMETROS.FECFIN, 'DD/MM/YYYY'));
    Add_Parameter(pl_id,'P_CLASE',TEXT_PARAMETER, cla_rep);
    Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'File');
    Add_Parameter(pl_id,'MODE',TEXT_PARAMETER,'Character');
    Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,'DELIMITED' );
    select sysdate into fec from dual;
    IF :BK_PARAMETROS.TIPO_REP=1 THEN
         BEGIN
    nom_rep := 'tdvenrli1577.rep';
    nom_arch := 'c:\windows\temp\RepCobranzaPlanos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
    END;
    ELSIF :BK_PARAMETROS.TIPO_REP=2 THEN
              BEGIN
              nom_rep := 'tdvenrli1578.rep';
              nom_arch := 'c:\windows\temp\RepCobranzaLargos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              END;
    ELSIF :BK_PARAMETROS.TIPO_REP=3 THEN
         BEGIN
                        Add_Parameter(pl_id,'P_XLS',TEXT_PARAMETER, '1');           
              nom_rep := 'tdvenrli1576.rep';
              nom_arch := 'c:\windows\temp\RepCobranzaDetallados' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';      
              END;
    ELSE
              BEGIN
                        nom_rep := 'TDVENRLI1545.REP';
              nom_arch := 'c:\windows\temp\RepCobranzaTodos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              END;
    END IF;
    --Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER,nom_arch );
    Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER, nom_arch);
    standard.commit;
    Run_Product(REPORTS, nom_rep, SYNCHRONOUS, runtime, FILESYSTEM, pl_id,'');
    EXCEPTION WHEN Run_Product_Failure THEN
    message('Error');
    END;
    Code for version 10g
    PROCEDURE GUARDAREXCEL IS
    pl_id ParamList;
    nom_rep varchar2(20);
    cla_rep varchar2(20);
    cod_dis varchar2(4);
    nom_arch varchar2(100);
    fec date;
    --byt12122007.sn
    repid REPORT_OBJECT;
         vURL VARCHAR2(500);
         rep_status VARCHAR2(20);
         vJobID VARCHAR2(100);
         v_rep VARCHAR2(100);
    VAR NUMBER;
    w_name_repserv VARCHAR2(30);
    --byt1212007.en
    BEGIN
         --w_name_repserv:=F_OBTIENE_SERVREP;
    w_name_repserv:='repserv';     
    pl_id := Get_Parameter_List('mytmp_params');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('mytmp_params');
    IF :BK_PARAMETROS.LI_COD_DIS IS NOT NULL THEN
         cod_dis := :BK_PARAMETROS.LI_COD_DIS;
    END IF;
    IF :BK_PARAMETROS.TI_COD_CLI IS NOT NULL THEN
    Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,:BK_PARAMETROS.TI_COD_CLI||'%');
    ELSE
    Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,'%');
    :BK_PARAMETROS.TI_COD_CLI:='%';
    END IF;
    IF :BK_PARAMETROS.CLAS_REP=1 THEN
    cla_rep := '001';
    ELSE
         IF :BK_PARAMETROS.CLAS_REP=2 THEN
              cla_rep := '002';
         ELSE
              IF :BK_PARAMETROS.CLAS_REP=3 THEN
              cla_rep := '003';
         ELSE
              cla_rep := '004';
         END IF;
         END IF;
    END IF;
    Add_Parameter(pl_id,'P_COD_DIS',TEXT_PARAMETER, cod_dis);
    Add_Parameter(pl_id,'P_FECHA',TEXT_PARAMETER,to_char(:BK_PARAMETROS.FECFIN, 'DD/MM/YYYY'));
    Add_Parameter(pl_id,'P_CLASE',TEXT_PARAMETER, cla_rep);
    Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    /*Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'File');
    Add_Parameter(pl_id,'MODE',TEXT_PARAMETER,'Character');
    Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,'DELIMITED' );*/
    select sysdate into fec from dual;
    IF :BK_PARAMETROS.TIPO_REP=1 THEN
    BEGIN
         repid := find_report_object('tdvenrli1577');
    --nom_rep := 'tdvenrli1577.rep';
    nom_arch := 'c:\windows\temp\RepCobranzaPlanos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1577');
    END;
    ELSIF :BK_PARAMETROS.TIPO_REP=2 THEN
    BEGIN
         repid := find_report_object('tdvenrli1578');      
              --nom_rep := 'tdvenrli1578.rep';
              nom_arch := 'c:\windows\temp\RepCobranzaLargos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1578');
              END;
    ELSIF :BK_PARAMETROS.TIPO_REP=3 THEN
    BEGIN
         repid := find_report_object('tdvenrli1576');
                        Add_Parameter(pl_id,'P_XLS',TEXT_PARAMETER, '1');           
              --nom_rep := 'tdvenrli1576.rep';
              nom_arch := 'c:\windows\temp\RepCobranzaDetallados' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1576');     
              END;
    ELSE
    BEGIN
         repid := find_report_object('tdvenrli1545');
                        --nom_rep := 'TDVENRLI1545.REP';
              nom_arch := 'c:\windows\temp\RepCobranzaTodos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1545');     
              END;
    END IF;
    --Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER,nom_arch );
    --Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER, nom_arch);
    standard.commit;
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESNAME,nom_arch);
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_COMM_MODE, SYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_EXECUTION_MODE, RUNTIME);
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESTYPE, 'File');
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESFORMAT, 'DELIMITED');
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_SERVER, w_name_repserv);
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_OTHER, 'paramform=no');
         v_rep := RUN_REPORT_OBJECT(repid, pl_id);
         rep_status := REPORT_OBJECT_STATUS(v_rep);
         WHILE rep_status IN ('RUNNING','OPENING_REPORT','ENQUEUED')     LOOP
              rep_status:= report_object_status(v_rep);
         END LOOP;
         IF rep_status = 'FINISHED' THEN
              vJobID := SUBSTR(v_rep, INSTR(v_rep, '_', -1)+1);
              vURL:='/reports/rwservlet/getjobid'||vJobID||'?'||'server='||w_name_repserv;
         END IF;
         WEB.SHOW_DOCUMENT(vURL, '_blank');
         IF NOT form_success THEN
              MESSAGE('Error: PL/SQL held against Button failed to execute');
              RAISE FORM_TRIGGER_FAILURE;
         END IF;
    /*Run_Product(REPORTS, nom_rep, SYNCHRONOUS, runtime, FILESYSTEM, pl_id,'');
    EXCEPTION WHEN Run_Product_Failure THEN
    message('Error');*/
    END;

    There are two problems with your VI.  First, the basic logic of writing/appending to a file (Excel, TDMS, anything) should go something like this:  Open the file, position yourself at the end of the file, then, in the loop, acquire data and write it to the file until you are finished with data acquisition.  When you exit the acquire/write to file loop, then close the file.  In particular, the opening and the closing of the file should not be inside the loop.
    As others have pointed out, writing to Excel might not be optimal, particularly if you are acquiring data at a high rate (and would therefore be writing a lot of data). We actually use Excel in our data acquisition routine, mainly reading from a WorkSheet to get the parameters of a particular stimulus, but also writing the outcome of the response to the stimulus.  As it happens, our "acquisition rate" in this example is on the order of several samples per minute, so there's no problem using Excel (we also sample 16 channels of analog data at 1 KHz -- this gets written as a binary file).
    Second, if you really do want to use Excel, use the (existing) Excel file to which you want to append as the "template" argument of the New Report function.  Then use the Excel Get Last Row function to position yourself at "end of file", as noted above.
    Good Luck.
    Bob Schor

Maybe you are looking for