Error running reports from Crystal Server XI R2 with datasets

Hi, sorry if my english is not good. I'm from Spain.
I have a problem. I'm programming with Visual Basic .NET 2008.
I'm using Crystal Reports Server and programming under Visual Basic to take reports from crystal Server, changing the tables from the report to datasets and scheduling this report.
Crystal server change connections to CrystalReports.Dataset.
Preview reports from server sends me an error "DataBase connector unknown"
If I run this report (with datasets) into my VBNET application (into a  CrystalDecisions.Windows.Forms.CrystalReportViewer control), IT WORKS!!!
I need help because I need to schedule these reports (to send them by email, export to PDF formats, ...)

Reporting off of a dataset is reporting off of a disconnected datasource.  The reason your application works is beacuse you most likely populating a dataset in your application and passing it to the report at the same time.  When scheduling, there is no interaction with the report so unless the report is using an xml file on disk as its datasource, how can it retrieve data?
To get around this, you can build a dll (.net data provider) that returns either a dataset or datatable and point your report to this dll.  this way, when the report is executed, it loads the dll which fetches the data for you.
- so the first step is to compile a dll that returns a dataset or datatable.
- to design your report off of this dll open the database expert and create a new ADO.NET connection.
- in the File Path area, click the ellipsis ("...") button to browse to your dll and make sure the selected File Type is ".Net DataSet Provider".
- once the dll is selected, you can choose the dataset/table returned by the dll.
If your method in the dll is parameterized, it will add a parameter to the report (similar to stored procedure parameters.
note: the location of your dll must be in the same path on the CR Server as it was when you designed your report in order for it to be loaded correctly.  I usually put the dll in a folder that I know will exist on both machines.
Dan

Similar Messages

  • Error adding report to Crystal Server 2011

    I have a report that runs against Salesforce.com that I'm trying to add to Crystal Server 2011.  The server is running version 14.0.2.364 of BI.  When I try to add the report through either the CMC or through the BI Launch Pad I get the same error.
    "An error has occurred: Adding Crystal Report "Quarterly Report 2011 with MF v3-2 Les Testing.rpt" failed. The server with kind rptappserver returned an error result. Failed to copy the report file to the report object. Refreshing the report object properties might have failed. Failed to read data from report file C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\Data\CrystalReportsRasServer\temp\{7FD511B8-F5DF-42AC-98D7-D2C43B1C458B}.rpt. Reason: Failed to read parameter object "
    If I try to add it by saving from Crystal Reports I get "Item 1 was not found in the collection"
    I'm logging on as administrator in both cases to the CR server.  I did find a thread where it was suggested that checking the "No Printer" box under page setup may fix it so I tried that but got the same results.  I also saw some references to firewalls, but the server is on a local subnet to my machine and all windows firewalls are turned off.
    The server is a fresh install of 2008 R2 and a demo download of CR Server 2011 and Client Tools. 
    Any help on a direction here would be greatly appreciated.  I've been banging my head against this for a while now.

    I cannot offer much help, but I see the same issue. 
    When I create a report in Developer it runs fine in Developer, but it will not load up to Crystal Server.  I can save the report with a new name and 50% of the time it will load to the Server.  Sometimes when I try to load the report, it seems the Server is thinking for a long time.  I hit "OK" button on server screen and then "Cancel"  the report SOMETIMES shows in the list of reports.  I just witnessed saving a non-loading report as another report and successfully loaded it into Server, then I ran the report in developer, closed it and tried to reload it to the server and it failed.
    It appears to be completely random.
    My gut tells me it has to do with the Salesforce driver (i.e. when I run it from Developer, the driver pollutes the report and chokes loading it on the server?)
    Does anyone have any ideas?

  • How can I get a Listing of all scheduled reports from Crystal Server 9?

    Hello,
    Can anyone help?
    A colleague and I are trying to find out when we can schedule a server reboot (Crystal Reports 9). We can look at individual jobs but we don't seem to be able to find a list of all the jobs and when they occur.
    We need to do this as we would like to schedule a regular server reboot without interrupting jobs.
    As you may be able to tell, my colleague and I have little Crystal knowledge, but we have found our selves looking after this server.
    Thanks in advance.
    Edited by: Paul Hopkins on Nov 24, 2008 2:26 PM

    Hi Paul,
    Thanks for your response.
    Do you remember what kind of installation process you have followed while installing your crystal enterprise.
    It will prompt for client installation and server installation.
    If you have installed client products then you wont have instance manager in your list of products.
    Else  if you don't have instance manager in crystal server 9, then for buying the product you should contact your accounts manager.
    He can reach the CIC people through your company and based on your license agreements you can the product.
    Just let me know if you have any queries.
    Regards,
    Naveen.

  • "Failed to open report" error while running reports using Crystal Report

    We have a web application develeoped in ASP.Net, SQL Server 2005 , Crystal Reports 10.0. Sometimes if a large number of users run reports from their individual nodes they receive an error "Failed to open report ", if we restart the IIS they are able to run the reports. In addition to this the users also sometimes get the error "Maximum Report limit attained". Can any one provide me with a solution other than restarting the IIS.

    Hi,
    Use the close and dispose method for Report object. Its a best practice to code also gc.collect for garbage collection.
    It might help you!!
    Regards,
    Amit

  • FRM-92101 error while running report from form

    HI All,
    I am getting the form error FRM-92101 while running report from form menu.My code is given below:
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('REPORT47');
    v_rep := RUN_REPORT_OBJECT(repid);
    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
    WEB.SHOW_DOCUMENT('http://192.168.0.21:8889/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
    ELSE
    message('Error when running report');
    END IF;
    Clear_message;
    END;
    Clear_message;
    --Arif                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    hi Arif
    Please see this note on MOS/Metalink for some common causes of this error:
    Known Causes of FRM-92101 Error In Forms [ID 604633.1]
    thanks,
    AMN

  • When run report from form(6i) on the web,error FRM-921000

    While I was trying to run report from form (6i)on the web,it will give me this error
    message FRM-921000 and hang.
    But when I try to call form using form,I do
    not have the problem.
    May I know ehat is the cause?
    Anybody encounter this before?
    Thanks
    null

    I am running Forms 6i on the web and attempting to call me report via RUN_REPORT_OBJECT. I am getting the same error as Jenny FRM-92100. I need to pass a parameter list so I don't think I can use WEB.SHOW_DOCUMENT. Any ideas???
    Thanks,
    Jenny N.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Joseph Schwertner ([email protected]):
    Dear Jenny,
    I am running reports from Forms 6i on the WEB. I did not encounter your problem. Nevertheless I would like to share the following with you.
    RUN_PRODUCT doesn't work for calling reports ON THE WEB. Instead using RUN_PRODUCT do the following:
    1. Install Oracle Reports Server
    2. For WEB calls of reports use WEB.SHOW_DOCUMENT
    3. Learn how to pass parameters to the reports. It is a litlle bit strange, but it is explaint excellent in the documentation to the Reports Server.
    I hope this will help you.
    Joseph Schwertner
    <HR></BLOCKQUOTE>
    null

  • CR2008 Not enough memory while exporting reports from Crystal Reports 2008

    I have recently upgraded our Crystal Reports version from Crystal Reports Basic for Visual Studio 2008 to Crystal Reports 2008. After upgradation I am facing the problem "Memory full.OtherErrorFailed to export the report. Not enough memory for operation" when I am trying to export the report from Crystal Reports 2008 Report viewer, or directly from the code behind. The application is hosted application. The problem occurs in our production environment.
    Server details:
    OS: Windows 2003 Enterprise Edition R2 with SP2
    IIS: IIS 6
    .Net Framework: 3.5
    Application details:
    Hosted application using Crystal Reports 2008 SP 3
    Crystal Reports Viewer version: 12.0.2000.0
    The data binding of the report object is done through an ADODB dataset.
    Web.Config:
    <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
      <configSections>
        <sectionGroup name="businessObjects">
          <sectionGroup name="crystalReports">
            <section name="printControl" type="System.Configuration.NameValueSectionHandler" />
            <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
          </sectionGroup>
        </sectionGroup>
      </configSections>
      <businessObjects>
        <crystalReports>
          <printControl>
            <add key="url" value="http://myserver/mysite/PrintControl.cab" />
          </printControl>
          <crystalReportViewer>
            <add key="documentView" value="weblayout" />
          </crystalReportViewer>
        </crystalReports>
      </businessObjects>
      <appSettings>
        <add key="CrystalImageCleaner-AutoStart" value="true" />
        <add key="CrystalImageCleaner-Sleep" value="60000" />
        <add key="CrystalImageCleaner-Age" value="120000" />
      </appSettings>
      <system.web>
        <httpHandlers>
          <add path="CrystalImageHandler.aspx" verb="GET" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
        </httpHandlers>
        <compilation debug="false">
          <assemblies>
            <add assembly="CrystalDecisions.Data.AdoDotNetInterop, 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.ReportAppServer.ClientDoc, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.Web, 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.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
            <add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
          </assemblies>
      </system.web>
      <system.webServer>
         <handlers>
             <add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode" />
         </handlers>
      </system.webServer>
    </configuration>
    Sample Code:
    Report = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    Report.Load(Server.MapPath(strReportPath));
    Report.SetDataSource(dsReport);
    Creportviewer.ReportSource = Report;
    For exporting the report to PDF
    string Filename = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.InternetCache).ToString(), Guid.NewGuid().ToString() + ".pdf");
    Report.ExportToDisk(ExportFormatType.PortableDocFormat, Filename);
    Clean Up Code: (Page_UnLoad event)
    if (Report != null)
         Report.Close();
         Report.Dispose();
    Creportviewer.ReportSource = null;
    Creportviewer.Dispose();
    dsReport = null;
    GC.Collect();
    GC.WaitForPendingFinalizers();
    Can someone help me resolve the issue.

    The .rpt file size is 14MB with the Data Save option enabled, 12MB without Data Save.  Presumably the 12MB file size is because of the 24bit PNG we have as our background.
    The Designer executes the report in less than a second and we can scroll through all pages and see the image fields perfectly.
    When we Export to PDF, the Designer takes a long time, eventually gets to the 77%, the 7th record and returns "Export report failed" followed by "Memory full".  If we export only page 1 of the 3 pages, it also returns a Memory full error.  However, when the same report is run with only 1 page, that page exports to PDF but with a ridiculously large size and export time.
    The machine has 2GB of physical memory with an 8GB pagefile with Windows 2003 (latest everything).  The process runs up to about 1GB before reporting the memory full error.
    We've also tried a variety of other suggestions posted in the other thread with no success.
    We're happy to provide the RPT file to the Report Team to diagnose the problem.  Ultimately, we need to be able to produce a 15 page report with approximately 45 images.
    Our preferred scenario is fixing problem 2.  The CR Designer seems quite capable of rendering our report and printing it to our third party PDF printer in a timely manner with small size.  However, the API reports memory full.
    The API resides in a dedicated reporting web service with NO other code except for loading the report, setting parameters and printing.  When executing, it uses up to about 1.1GB before reporting the error.
    Are there any other suggestions for fixing what we have?  Are there known problems with large images in reports?  Do we need to lodge a formal support request?
    Regards,  Grant.
    PS.  Grr and my message formatting is lost when I edited this message!!!
    There is a 1500 character limit and then all formatting is removed to save space. Break you posts into separate entries.
    Edited by: grantph on Sep 30, 2009 2:49 AM

  • Can't upload reports to crystal server

    Hello guys,
    First is the system info:
    Crystal Server XI R2 with SP3
    OS: Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
    Database: Oracle DB 10g
    This issue shall be divided into two parts.
    Parts one:
    Before the server is reinstalled we can upload some reports. But there is some limitation. When one report is changed, we can't upload it to the server directly. This report should be renamed to a different name then it can be uploaded. If we don't do so it fails with an error message says 'An unexpected error has occurred'. So every time we need to rename reports and then upload them. This workaround is OK for some reports but not all of them. No matter how we reboot the machine or restart the crystal server.
    Part two:
    One day the machine crashed and we reinstalled the crystal server. But this time it won't accept any report at all. Still it accepts other file such as *.Doc, *.PDF Etc. Every time we try to upload a report and we get an error message says 'An unexpected error has occurred'. If we use CMC to upload a report we get something more detail says 'There was an error while retrieving data from the server: Unknown exception occurred when calling into the plugin'.
    BTW, all reports are tested in report designer. They are 100% OK. All services of the crystal server are up and running.
    And one more thing, how can I attach file in this forum. I want to give dear you the log files to refer to.
    Thanks a lot.

    Hi
    It would be easier if you would keep this all in the same topic.
    As suggested in you other thread ([Can't upload reports to crystal |Can't upload reports to crystal server]), this is very likely to be a permission problem.
    Caroline

  • Running reports from forms on the web

    On forms and reports 6i we used the following code to run reports from forms.
    We need to do the same on 9i forms and reports, we are running into problems.
    Any help will be appreciated.
    PROCEDURE web (inFileName VARCHAR2,
    inRecordGroup RECORDGROUP) IS
    outVirtualPath VARCHAR2(200) := '/forms90/f90servlet?p_url=/reports/rwservlet?'; outServer VARCHAR2(200) := 'server=rep_ora-app-4';
    outReport VARCHAR2(200) := 'report='||inFileName;
    outUserid VARCHAR2(200) :=
    'userid='||GET_APPLICATION_PROPERTY(USERNAME)||'/'||GET_APPLICATION_PROPERTY(PAS
    SWORD)||'@'||GET_APPLICATION_PROPERTY(CONNECT_STRING);
    outDesType VARCHAR2(200) := 'DESTYPE=CACHE';
    outDesFormat VARCHAR2(200) := 'DESFORMAT=PDF'; outUser VARCHAR2(2000);
    outCount INTEGER;
    error we are getting.
    FRM-42017:Module name must be specified.

    S Hatch (guest) wrote:
    : I'm thinking that you're going to have to install the Reports
    : cartridge, create an entry in the keymap with any parameters
    and
    : call your report via the url.
    : Dessislava Gantcheva (guest) wrote:
    : : How do I call a report from a form on the web?
    : : I have installed Windows NT Server 4.0 with SP 5, OAS4.0.7
    EE
    : : with patch 1, Developer 6.0 with patch 1. Developer server
    and
    : : forms server work fine in a non-cartridge implementation,
    but
    : I
    : : cannot run a report within a form. I just have no any info
    how
    : : to do this.
    I have entries in my keymap file and I can call my reports via
    the url, but I cannot run a report WITHIN a form. I mean to call
    a report by clicking on a button of a form on the web. The
    RUN_PRODUCT built-in does not work (at leas it seems like this)
    If any one has expiriense with it, please, give me a hint.
    Thanks
    null

  • Running report from forms

    hi,
    I am having problems in running report from form.
    I am using oracle 9i on windows 2000 server and no 9iAS at the moment. On client side, i have windows xp and 9iDS installed. I want to run report from forms in 9iDS testing environment.
    my forms are running ok but now i need to run report. so what i have done is that i have created a report object in form and following are enteries present in it at the moment.
    Name REPORT7
    FileName D:\Projects\IBMR\forms\soil_water_quality_data.rdf
    Execution Mode Batch
    Communication Mode Synchronous
    Destination Type Cache
    Report Server 9irep
    and in when_button_pressed trigger
    DECLARE
    Report_Id REPORT_OBJECT;
    Report_Job_Id VARCHAR2(20);
    Report_Status VARCHAR2(80);
    Report_Svr VARCHAR2(20);
    BEGIN
    Report_Id := FIND_REPORT_OBJECT('REPORT7');
    Report_Svr := '9irep';
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_FILENAME, '\projects\ibmr\forms\soil_water_quality_data.rdf');
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_OTHER, 'paramform=no');
    Report_Job_Id := RUN_REPORT_OBJECT(Report_Id);
    Report_Status := REPORT_OBJECT_STATUS(Report_Job_Id);
    WHILE Report_Status IN ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
    Report_Status := REPORT_OBJECT_STATUS(Report_Job_Id);
    END LOOP;
    IF Report_Status = 'FINISHED' then
    WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(Report_job_id,instr(Report_Job_Id,'_',-1)+1)||'?'||'server=9irep','_blank');
    else
         message ('report server failed with error message '||report_status);
    END IF;
    END;
    i have installed report server with following command
    rwserver -install 9irep
    i have changed entry in rwservlet.properties like
    SINGLESIGNON=NO and i have removed the following entire block of 9irep.conf, which i have read from some documentation
    <!--security id="rwSec" class="oracle.reports.server.RWSecurity">
    <property name="securityUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    </security-->
    i get the following error message when i run my form
    frm-41214 Unable to run report
    and then next message is
    frm-41217 unable to get report job status
    i debugged the report id and it is
    9irep_0
    returned by Report_Job_Id := RUN_REPORT_OBJECT(Report_Id);
    When I checked the Report Queue Manager
    it is showing status like
    (9irep)Terminated with error
    and detail it shows is
    Unable to connect to the specified database.
    Now I am wondering what to do next.
    any suggestions???????

    Hello,
    From your description, it seems like the report is faling due to a database authentication problem. When you run your report from Forms, Forms internally passes the its database connection information to Reports automatically. So ensure that you are connected to a valid database in Forms, before the report is called.
    Please verify whether a simple report which does not require a database connection, for example, a report containing only a boilerplate text object, is running correctly. Also, in the trigger code that you have specified, you should add the following:
    SET_REPORT_OBJECT_PROPERTY(Report_Id, REPORT_DESTYPE, CACHE);
    so that the report output gets generated to the server cache, and can be retrieved using rwservlet/getjobid.
    Thanks,
    The Oracle Reports Team.

  • Unable to run report from forms developer.

    hi....
    i m not very much in developer 9i.from last 2 month i m doing developer 9i.I m desiging and running
    report from report builder.but i m not able to run that report from forms developer.Can anyone help to solve my problem?is there any particular extension i have to follow or any configuration(Application server) i have to made change?What code i have to write to run a report from forms?

    Hi frank...
    Thanx for ur reply...
    Actually what i did,i created a report and save that report with .rdf extension.I set reports_path(In Registry) property to the particular folder where i put all of my reports.In forms developer i add the report as report object from that folder.i set the following few lines in a button click event
    --=============================================
    declare
    rep_id report_object;
    v_rep varchar2(30);
    begin
    rep_id :=find_report_object('report4');
    v_rep :=run_report_object(rep_id);
    end;
    --=============================================
    when i click the button it is showing a error "You didnot specify the report name".This is all about from me what i did to run a report from forms.So should i do to run report?

  • How to run report from form using run_object_report

    I AM USNING FORMS9I/REPORTS 9I , HOW TO RUN REPORT FROM FROM USING RUN_REPORT_OBJECT AND HOW
    TO PASS PARAMETER AS WE DID IN RUN_REPORTS PLEASE HELP ME

    here an example !
    I hope this example you can use it
    PROCEDURE pr_reporte IS
    BEGIN
    DECLARE
         repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status Varchar2(20);
    d1 DATE;
    d2 DATE;
    BEGIN
         d1 := :GLOBAL.DIA_INI;
         d2 := :GLOBAL.DIA_FIN;
         repid := find_report_object('rep_lab02');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'p_fec_uno='||to_char((add_months(last_day(d1),-1) +1),'DD/MM/YYYY')||' '||
         'p_fec_dos='||to_char(d2,'DD/MM/YYYY'));
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
         v_rep := RUN_REPORT_OBJECT(repid);
         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
              WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver','_blank');
         ELSE
              ventana('E','error reporte no encontrado','S');
         END IF;
    END;
    END;
    The 'rep_lab02' is the name of the report that you give in the node reports
    p_fec_uno and p_fec_dos they are the parameters in the report
    repserver is the name of server created with rwserver
    Greetings

  • How to run report from forms

    hi all,
    i have tried to run report from forms using below codig(got from online help)
    DECLARE
         repid REPORT_OBJECT;
         v_rep VARCHAR2(100);
         rep_status varchar2(20);
         v_host varchar2(100):= 'localhost';
    v_port varchar2(10);
    v_parameter_string varchar2(4000);
    v_username varchar2(50);
    v_password varchar2(50);
    v_database varchar2(50);
    BEGIN
         repid := find_report_object('REPORT27');
         v_rep := RUN_REPORT_OBJECT(repid);
         rep_status := REPORT_OBJECT_STATUS(v_rep);
         if rep_status = 'FINISHED' then
              message('Report Completed');
              copy_report_object_output(v_rep,'E:/Rep/local1.pdf');
    --     host('MOZILLA E:/Rep/local.pdf');
    -- WEB.SHOW_DOCUMENT('http://192.168.0.160:1521/reports/rwservlet/getjobid'||
    -- substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver','_blank');
              else
         message('Error when running report.');
              end if;
              -- Get the full domain name of the server from the formsweb.cfg
    tool_env.getvar('SERVER_URL',v_host);
    -- Get the username/password and database from the .env file
    tool_env.getvar('APPLICATION_USERNAME',v_username);
    tool_env.getvar('APPLICATION_PASSWORD',v_password);
    tool_env.getvar('APPLICATION_DATABASE',v_database);
    -- If it is localhost then we are running on windows and need to use the windows port, otherwise we
    -- are on AIX and need to use the AIX port
    IF v_host = 'localhost' THEN
         v_port := '8889';
    ELSE
         v_port := '8889';
    END IF;
    -- Now build the parameter string for running the report      
    v_parameter_string := 'server=repserver';
    v_parameter_string := v_parameter_string||'&report= E:\AGE_NoELIGIBLEReport.rdf';
    v_parameter_string := v_parameter_string||'&userid='||v_username||'/'||v_password||'@'||v_database;
    v_parameter_string := v_parameter_string||'&execution_mode=batch';
    v_parameter_string := v_parameter_string||'&comm_mode=synchronous';
    v_parameter_string := v_parameter_string||'&destype=cache';
    v_parameter_string := v_parameter_string||'&desformat=pdf';
    -- Now run the report
    web.show_document('http://'||v_host||':'||v_port||'/reports/rwservlet?'||v_parameter_string,'_blank');
    END;
    REP-110: Unable to open file ' AGE_NoELIGIBLEReport.rdf'.
    REP-1070: Error while opening or saving a document.
    REP-0110: Unable to open file ' AGE_NoELIGIBLEReport.rdf'.
    but i hav report in e:\ then why its getting?

    Hi,
    I suggest you not to use the "E:\" directory letter, but the REPORTS_PATH instead.
    <p>
    from the Online Help
    </p>
    <p>
    On Windows, edit environment variables through the Registry Editor (Start > Run > Regedit).
    </p>
    <p>
    On UNIX, edit environment variables by revising and running the shell script that defines the initial default values (reports.sh). If you do this, be sure to keep a backup of the original, unaltered reports.sh file.
    </p>
    <p>
    Regards
    JeanYves
    </p>

  • Unable to run reports from the unix command line

    hi
    all of a sudden i am unable to run reports ( on App server 10g) either from the unix scripts or from the unix command line. But i can run them from the forms.
    Any one have any idead about this.
    Thank you

    thanks all for replying
    i have set the env variables for the session and it worked. Looks like i have to set the oracle_home and ld_library_path every time ( opening a new putty session) i call sqlldr.
    But in a whole i am trying to run sql loader from the forms. Right now we have Oracle app server 10g which forms 10g version. As oracle app server 10g didnt come with sqlldr, we are copied the sqlldr of database on to app server with different home. after this we can run sqlldr ( on app server ) from unix scripts but not from Forms. Then we opened a qurey with oracle about app server 10g not commig with sqlldr and its remedy . But they said that they dont have specific remedy for that and suggested the same what we did.
    So we came up with java package which does the same funtion as host command and trying to run sqlldr which is on the database( ie replacing the host command in the forms with the database funtion). By using that funtion i am able to run the sqlldr from sql plus but not from forms. I couldnt easily debug it as i wont through any error messages.
    Any one have any idea of this ...
    Thank you

  • EVDRE encountered an error retriving data from web server in PROD

    Hi friends,
    We are checking Evdre reports in BPC production system. We checked few application' EVdre input templates & reports and are fine.
    But yesterday evening onwards we are facing below error message.
    EVDRE encountered an error retriving data from web server. This message we are getting  for all BPC applications in BPC production.  There is no short dump in backend.
    But when i checked in BPC developement there is no probelm.
    We are on BPC7.5 NWsp04 and BI7.01.
    In BPC, production,when i try to create evdre template(just after filling
    information in evdre builder), immediately getting same error information.
    I read few notes, did as per that but sill problem exists. In note, mentioned process dim of particular application and process application. Logout from bpc admin & excel. I did this and, that error message not received for upto 20min. After that i'm getting error. We checked communciation between ABAP layer and bpc, reset IIS also. Still same probelm exists.
    Any suggestions pls.
    thanks,
    naresh

    Hi frineds,
    SAP OSS team resolved along with our basis guy.
    Initially SAP supported notes:
    1.1475233 and 1378705 Process all dimensions and applications.
    2.1355954 Drop SAP temp tables.
    3.1428764 confilict only if you use Oracle 10 g, if you don't, then forget it.
    I used 1378705 and problem resolved temporarly, but still exists after 1 day.
    There are different reasons for getting the error message. In our case, problem is at backend BW and, BW system running on HP unix OS.
    Checked librfc32.dll in the
    directory /usr/sap/BP1/DVEBMGS00/exe.
    Executed the following MDX statment in MDXTEST transcaction, and it
    executed in both the available instances.
    SELECT
    {[Measures].MEMBERS} ON COLUMNS,
    [0MATERIAL].[LEVEL00].MEMBERS ON ROWS
    FROM [$ZCO_CDPC].
    Even i also don't have clue how SAP resolved this issue.
    Regards,
    Naresh

Maybe you are looking for