REP-0002 error

I have a simple report that prints four information cards per page. It runs fine.
I save it as another filename. I then add a formula field to my second query. It's PLSQL function is simple, it just returns 1 ('return 1;').
I then add a summary field to my main query, set the source = the formula field, as a SUM, and set it to reset at each record in my primary query. This all runs, UNTIL I save it, and close it. The next time I open this report it FAILS miserably with the following error message
"REP-0002 Unable to retriev a string from the Report Builder message file."
I have searched through this forum, and found that simply means it cannot find the appropriate error message text.
Is there any way I can find what the error is? Any explanation as to why this hides until the next time I open the report?
I am doing this so that I can have a frame that displays a message when a sub query results in NO RECORDS.
THis message will alert the user, and more importantly keep the form the same, as the bottom of the form creeps up for each sub query resulting in no records. This is a method I found in searching this forum.

You don't tell us what version of the product you're using, or which patch level you're at. I'd recommend starting off by getting up to the latest patch level for the version you're on, and if this doesn't help then you should contact Oracle Support, as this sounds like a bug.
Regards,
Danny

Similar Messages

  • Reports error REP-0002 Unable to retrieve a string

    I am continuing to receive this error in the production database. All I need to do is to recompile the report in the production database and use the new reports runtime.
    Does any one know why is this happening and is there any solution for it.
    REP-0002: Unable to retrieve a string from the Report Builder message file.
    I am using Reports 3.0 and Windows NT.
    Thanks in advance for your help.
    null

    Metalink <Note:1076529.6> extracts
    Problem Description
    When running a *.REP generated report file you get errors:
    REP-00002 Unable to retrieve string from message file
    REP-01439 Cannot compile program since this is a runtime report
    Running the same report using the *.RDF file is successful.
    You are running the report with a stored procedure,
    OR you are running against an Oracle instance other than the one developed on,
    Or, you recently upgraded your Oracle Server.
    Solution Description
    1) Check that the user running the report has execute permissions on any stored
    SQL procedures called. <Note:1049458.6>
    2) Run the report as an .RDF not an .REP , that is remove or rename the .REP
    version of the report. <Note:1012546.7>
    3) Compile the report against the same instance it is being run against.
    <Note:1071209.6> and <Note:1049620.6>

  • REP-0002: Unable to retrieve a string from the Report Builder message file;

    Hi,
    I've a custom report in which i need to display a large string, of more than 4000 characters. To cater to this requirement i've written a formula column which displays string upto 4k characters and for a string of size beyond 4k i am calling a procedure which uses a temp table having a clob field.
    For a small string the report runs fine but whenever a large string requirement comes into the picture, said procedure gets triggered and i get REP-0002: Unable to retrieve a string from the Report Builder message file.
    OPP log for the same gives an output as under:
    Output type: PDF
    [9/21/10 2:17:12 PM] [UNEXPECTED] [388056:RT14415347] java.io.FileNotFoundException: /app/soft/test1udp/appsoft/inst/apps/e180r_erptest01/logs/appl/conc/out/o14415347.out (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:241)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
    Report Builder 10g
    BI Publisher's version : 4.5.0
    RDBMS Version : 10.2.0.4.0
    Oracle Applications Version : 12.0.6
    Searched for the same on metalink and found Article ID 862644.1, other than applying patch and upgrading version of BI Publisher is there any other workaround to display a comma seperated string as long as 60k characters, If any please suggest.
    Thanks,
    Bhoomika

    Metalink <Note:1076529.6> extracts
    Problem Description
    When running a *.REP generated report file you get errors:
    REP-00002 Unable to retrieve string from message file
    REP-01439 Cannot compile program since this is a runtime report
    Running the same report using the *.RDF file is successful.
    You are running the report with a stored procedure,
    OR you are running against an Oracle instance other than the one developed on,
    Or, you recently upgraded your Oracle Server.
    Solution Description
    1) Check that the user running the report has execute permissions on any stored
    SQL procedures called. <Note:1049458.6>
    2) Run the report as an .RDF not an .REP , that is remove or rename the .REP
    version of the report. <Note:1012546.7>
    3) Compile the report against the same instance it is being run against.
    <Note:1071209.6> and <Note:1049620.6>

  • REP-3301: Error occurred in Error Checking (RXGLER)

    Hi,
    All of a sudden, few reports of our application has stopped working this morning.
    When the user runs the report through application, following is the error message received.
    REP-3301: Error occurred in Error Checking (RXGLER).
    REP-0002: Unable to retrieve string from message file.
    Front End : Oracle Forms 4.5, Reports 2.5
    Back End : Oracle Database 10g Release 2
    Searched online as well but no avail.
    Any help/suggestion in this regard is highly appreciated.
    Thanks

    Well,the issue has been resolved.
    It was related to table in the database wherein the session information is getting stored in the table whenever a users runs the report. We had a restart of the server and the old session information was still there in that table.
    Therefore, when user connected again and tried to run the same report, error was raised as the session id and other information was still existing.
    Recycled the table and it resolved the error.
    Thanks

  • URGENT jsp report wont open in 9i builder - REP-0002 or REP-6102

    Hi
    I cant open a jsp file that has been opening fine all week. I was adding to the report when the display went very strange so I reverted - then it crashed and I got a REP-6102 failed to start the XML parser (its not an xml report). Now I either get REP-0002 Unable to retrieve a message string or REP-6102 as above. Tried converting to RDF and get REP-6102.
    Im only building locally at the moment.
    Log file produced this in the reports\log directory:
    Warning: Error reading transaction-log file (/C:/Documents and Settings/Administrator/Local Settings/Temp/docroot/3000/persistence/transaction.state) for recovery: premature end of file
    Forced or abrupt (crash etc) server shutdown detected, starting recovery process...
    Recovery completed, 0 connections committed and 0 rolled back...
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    Im using windows 2000 Prof, Reports Builder 9.0.2.0.1 on an 8.1.7 Database.
    REPORTS_CLASSPATH = C:\OraHome1\reports\jlib\rwbuilder.jar;C:\OraHome1\reports\jlib\rwrun.jar;C:\OraHome1\jlib\zrclient.jar;C:\OraHome1\j2ee\home\oc4j.jar;C:\OraHome1\j2ee\home\lib\ojsp.jar;C:\OraHome1\reports\jlib\xrpdsolap.jar;
    Please can somebody help.

    When you create a .jsp report, Reports inserts an XML report definition in the <rw:objects> tag. This is why it appears to need an XML parser before it can open up a .jsp file.
    You could try just taking this XML and saving it as a .xml file (ie: remove everything from the .jsp except the content of the <rw:objects> tag). This would at least tell you if the problem is in the XML of the JSP section of the file.
    If you can open up the contents of the xml report then you could try opening the .jsp file up in JDeveloper and see if there are any inconsistencies in the file - ie: unmatched tags.
    If you get an "unable to start the XML parser" error trying to open up the xml file, try creating a simple report and saving and loading to XML.

  • Rep-0002 : unable to retrive string from report builder message file

    rep-0002 : unable to retrive string from report builder message file
    i'm using developer/2000 ver 2.1 and my reports running under win95 platform and i'm using client/server techneque, when i start to distribute my reports to my users on their machines i got the above message , and i have to recompile all of my RDF files again on every user machine. this not all my story , but after some period may be 2 months these reports start to give the same message , again i must recompile all my RDF on every user machine.
    please if any one have a solution for this mazing problem.
    thank you.
    [email protected]

    bogdom and gaben,
    I belong to your club too it seems. Though in my case the compilation was required on each database. Report used to work in the only that database in which they were compiled. Connecting to other database used to give this string error. Moreover this problem existed only for those reports in which i had used PL/SQL code in the formula columns. One way to avoid this is by writing all PL/SQL code in a library and call it in the formula column calculations.
    null

  • REP-421454085: Error initializing DE. Checking DE resources is recommended?

    I have a report server 9i running and it has this error first time after the number of report engine reached 5, I need to restart the server and engine, here is part of my report config:
    <cache class="oracle.reports.cache.RWCache">
    <property name="cacheSize" value="50"/>
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="2" maxEngine="10" minEngine="2" engLife="5000" maxIdle="300" callbackTimeOut="6000">
    The JVM paramater has min heap memory size 256MB, max. 640MB.
    The report server running on windows 2000 server with 1GB RAM, dual CPU 993MHZ, Dell poweredge 2500.
    All reports are destype=cache&desformat=pdf.
    ==== error mesg from report server ====
    Terminated with error: <br>REP-421454085: Error initializing DE. Checking DE resources is
    recommended. REP-0002: Unable to retrieve a string from the Report Builder message file.
    REP-421454085:

    I have a report server 9i running and it has this error first time after the number of report engine reached 5, I need to restart the server and engine, here is part of my report config:
    <cache class="oracle.reports.cache.RWCache">
    <property name="cacheSize" value="50"/>
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="2" maxEngine="10" minEngine="2" engLife="5000" maxIdle="300" callbackTimeOut="6000">
    The JVM paramater has min heap memory size 256MB, max. 640MB.
    The report server running on windows 2000 server with 1GB RAM, dual CPU 993MHZ, Dell poweredge 2500.
    All reports are destype=cache&desformat=pdf.
    ==== error mesg from report server ====
    Terminated with error: <br>REP-421454085: Error initializing DE. Checking DE resources is
    recommended. REP-0002: Unable to retrieve a string from the Report Builder message file.
    REP-421454085:

  • REP-0002:

    Hi all,
    I am getting the following error while i try running the report server.
    Pls help.Its urgent.
    REP-0002: Unable to retrieve a string from the Report Builder message file.
    Thanx in advance
    Regards,
    Tulasigiri

    Please clarify what are you trying to do when you get this error: Are you trying to start the reports server? OR Are you trying to run a report ? Also, for what reports version is this?
    If it is the reports server that does not start then you can take a look at metalink note: 459026.1 - Reports Server Fails to Start with REP-2 Error
    If you get this error when you are trying to RUN a report then we will need more information about the report ...
    What type of queries are you using ? Are you using ref cursors for example? What's your platform - Windows/Linux, etc? How do you run the report, rwservlet, rwclient ?

  • Report 6i/Webdb -Not able to display the report in the browser - rep- 3002 error.

    Would someone tell what I missed, I have set up the following:
    1) a report using report builder on NT
    2) my database is in Unix
    3) my report server is started in NT
    4) I run webdb listener for the following code: http://myweb.com/cgi/rwcgi60.exe?server=repserver+report=myreport+userid=usid/pw/connect_string+destype=cache+desformat=html. Then, I receive this message:
    Error: The requested URL was not found, or cannot be served at this time.
    Oracle Reports Server CGI - Report Job has terminated with error.
    Reports Server Replies:
    REP-3002: Error initializing printer. Please make sure a printer is installed.
    Why is it thinking I want to use the printer whereas I want to display the report in the browser?. Any help would be appreciated.
    null

    It sounds like that your Web CGI did not configure right. To test if your CGI configuration is correct, type:
    http://hostname:port/cgi-bin/rwcgi60exe?
    If you get a help screen, then you should be able to bring up your report.
    Regards,
    Xiaoling

  • REP-770 Error while executing the report.

    Hi,
    I am trying to run a report in Application Server 10g. I am executing this report from a form.
    When I try to run the report using the 'rdf', I get the error
    "Terminated with error: <br>REP-770: There exist uncompiled program unit(s). REP-1247: Report contains uncompiled PL/SQL."
    But if I run the report as 'rep' then the report works fine. Now after this if I run the report as 'rdf', it works fine again.
    Just to summarise - The problem occurs if I first try to run the report as rdf. But the problem disappears if I run the report as rep first before running it as rdf.
    Could someone help me solve this issue.
    Thanks
    Aruna

    Hi Aruna,
    I can see 2 bugs logged on Reports 9.0.4.1 (that means 10g patch 1) that report a similar problem:
    BUG 4050488 - JSP REPORTS CONTAINING REF CURSOR ASKS FOR COMPILATION EVERYTIME WITH WEB LAOUT
    and
    BUG 4040844 - REF CURSOR QUERY REP-737 ORA-1247 RUNNING ON LINUX
    Another bug reported on 10g has been fixed in upcoming Reports version 10.1.2:
    BUG 3324576 - SRW.APPLY_DEFINITION IN PGM UNIT FAILS USING .REP FILE WITH REP-1457 ERROR
    They are published bugs. See if you are hitting the same issue. Though I don't think that these bugs reported REP-1247 only the FIRST time you run the report.
    Secondly, when I said "compile on the same platform on which you are going to run", I meant this - if you are going to run the report on OracleAS installed on Win 2000, you must compile the report in Reports Builder on Win 2000. Similarly, if you are going to run the report on OracleAS installed on Linux, you must compile the report in Reports Builder on Linux, before running it.
    Navneet.

  • Reports Builder Error - REP 1070 Error while opening or saving document

    Hi,
    I tried opening an rdf file in Reports Builder 10g and 6i. I get the REP 1070 error.
    Kindly suggest a solution for this.
    Thanks,
    Anand

    Hi,
    Edit the system registry and assign REPORTS_PATH then your problem will be cleared.

  • REP-3002: Error initializing printer

    Hello,
    This is my configuraton:
    Computer 1 : nt4, sp3, installed: Oracledatabase 7.3.4
    Computer 2 : nt4, sp3, installed: Oracle WebDb, forms 6i, formserver 6i and reports 6i.
    Services WebDb and Listener are running.
    I've connected an HP LaserJet III to the parallel port of computer 2. In the printer
    control panel of NT4, this printer is set as the 'default' printer.
    'myform.fmx' is a simple form.
    The code consists only of a 'when-button-pressed' trigger as follows:
    declare
    pl paramlist;Ln varchar(15) :='Elsa';
    BEGIN
    pl :=get_parameter_list(Ln);
    if not id_null(pl) then destroy_parameter_list(pl);end if;
    pl :=create_parameter_list('Elsa');
    add_parameter(pl,'DESTYPE', text_parameter,'PRINTER');
    run_product(REPORTS,'C:\ORANT\REPORT60\myrep.rep',1,BATCH,FILESYSTEM,pl);
    destroy_parameter_list(pl);
    END;
    'myrep.rep' is a simple report, consisting of:
    select user from dual;
    generated by the wizard.
    When I run the form in preview for the web in formbuilder 6i, then it works very well,
    it prints my report.
    But when I run it from the cgi 'ifcgi60.exe' by the command
    start -> programs -> oracle forms 6i -> run a form on the web
    it returns
    http://pent2.easyware.be/dev60cgi/ifcgi60.exe?
    form=myform.fmx&userid=&otherparams=useSDI=yes&
    lookAndFeel=generic&colorScheme=teal
    then the error returned in the webbrowser is
    'REP-3002: Error initializing printer. Please make sure a printer is installed.'
    if parameter 'DESTYPE' is set to 'SCREEN' then it works very well, I can print by clicking the print icon.
    Please can someone help me.
    Best Regards,
    Carl Willems.
    [email protected]

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by aapmens ():
    Hello,
    This is my configuraton:
    Computer 1 : nt4, sp3, installed: Oracledatabase 7.3.4
    Computer 2 : nt4, sp3, installed: Oracle WebDb, forms 6i 6.0.8.8.0, formserver 6i and reports 6i 6.0.8.8.3.
    Services WebDb and Listener are running.
    I've connected an HP LaserJet III to the parallel port of computer 2. In the printer
    control panel of NT4, this printer is set as the 'default' printer.
    'myform.fmx' is a simple form.
    The code consists only of a 'when-button-pressed' trigger as follows:
    declare
    pl paramlist;Ln varchar(15) :='Elsa';
    BEGIN
    pl :=get_parameter_list(Ln);
    if not id_null(pl) then destroy_parameter_list(pl);end if;
    pl :=create_parameter_list('Elsa');
    add_parameter(pl,'DESTYPE', text_parameter,'PRINTER');
    run_product(REPORTS,'C:\ORANT\REPORT60\myrep.rep',1,BATCH,FILESYSTEM,pl);
    destroy_parameter_list(pl);
    END;
    'myrep.rep' is a simple report, consisting of:
    select user from dual;
    generated by the wizard.
    When I run the form in preview for the web in formbuilder 6i, then it works very well,
    it prints my report.
    But when I run it from the cgi 'ifcgi60.exe' by the command
    start -> programs -> oracle forms 6i -> run a form on the web
    it returns
    http://pent2.easyware.be/dev60cgi/ifcgi60.exe?
    form=myform.fmx&userid=&otherparams=useSDI=yes&
    lookAndFeel=generic&colorScheme=teal
    then the error returned in the webbrowser is
    'REP-3002: Error initializing printer. Please make sure a printer is installed.'
    if parameter 'DESTYPE' is set to 'SCREEN' then it works very well, I can print by clicking the print icon.
    Please can someone help me.
    Best Regards,
    Carl Willems.
    [email protected]<HR></BLOCKQUOTE>
    null

  • Parameter Form not calling the Main report - Gives REP-0110, REP-1070, REP-0110 error

    I am using run_report_object to call a report in which the user has to input some paramters. I have followed the instructions as in the Oracle White paper document on Forms/Reports integration.
    The paramter report does come up but when I hit the submit button, I get an error
    REP-0110: Unable to open file 'rclug005'.
    REP-1070: Error while opening or saving a document.
    REP-0110: Unable to open file 'rclug005
    I've checked the privileges and everything's fine on that front. Also, I can get to open the report with the web.show document built-in with paramform setting = No.
    I am guessing something's wrong with the html constructed in the parameter form which is,
    <form method=post action="http://myserver/dev60cgi/RWCGI60.EXE?">
    <input name="hidden_run_parameters" type=hidden value="server=myserver &report=rclug005&destype=Cache&desformat=html&userid=uid/pwd@test">
    In the Report Before Form trigger, I've copied the foll. html code from the Oracle White paper,
    vc_parameter_form :=
    '<html><body bgclor="ffffff"><form method=post action="'||:p_action||'">'||
    '<input name="hidden_run_parameters" type=hidden
    value= "'||vc_hidden_runtime_values||'">'||'<center><p>
    <table border=0 cellspacing=0 cellpadding=0><tr><td>
    <input type=submit></td><td> width=15
    <td><input type=reset></td></tr></table><p><hr></p>';
    I've set the :p_action parameter to a value of http://myserver/dev60cgi/RWCGI60.EXE?
    Also, In the end of the report before form trigger I added this
    srw.set_before_form_html(srw.text_escape, vc_parameter_form);
    Any help/tips is appreciated & Thanks.

    Thanks Danny,
    I am building the variable exactly as in the White paper in the "before form" trigger using exactly the same values give there.
    vc_hidden_runtime_values := 'server='||:p_servername||'&report='||vc_report_name||'.rep&destype='||:destype||'&desformat='||:desformat||'&userid='||:p_userinfo;
    My report has some extra parameters too it expects. So do I have to include the names of those parameters too in the string above?
    For example, in my report a user parameter is named 'print_date', which I do see and populate with value in the parameter form, then do I have to build that in the vc_hidden_runtime_values string above.
    I am using Report 6.0.8.11.3 on 9iAS.

  • Reports: REP-0177 & REP-3000 errors :-( (RH 6.2.2 HA 1.0)

    Hi Folks, hi Oracle,
    we have some serious problems here with Oracle Reports 6i Patch 6 which is running under Red Hat HA (Red Hat 6.2.2 High Aviability Server 1.0, based on Zoot)
    Because HA installs without X i have installed all needed X-packes to get a X11 system, and it runs fine.
    Then i set up request for a reports from the console i get the following message:
    [oracle@webserver1-do bin]$ ./rwcli60 REPORT=xxxx.rdf USERID=xxxxx/xxxxx@xxxx SERVER=xxxxx DESTYPE=SYSOUT DESFORMAT=PDF benu_id=x masszeile=xxx
    REP-0177: Error while running in remote server
    REP-3000: Internal error starting Oracle Toolkit.
    REP-3000: Internal error starting Oracle Toolkit.
    If i change the DISPLAY to a faked adress, i become the 111-errors (cant connect to X11-Socket), so i think the repserver connects to X but have some other problems with X.
    If i change DISPLAY to an another Linux-Server with fully installed X11 & KDE, the report runs fine.
    And all the same if the call the report over apache.
    I have read the Bug-Info about Bug 1108326, but i have the same, if i change the format to HTML.
    Any suggestions?
    H.-C.G|rsoy
    null

    hello,
    be aware, that you have to set the display in the environtment of the server (meaning the startup-script of the server).
    regards,
    the oracle reports team

  • REP-0081 error when emailing report output

    I am using RUN_REPORT_OBJECT to execute a report from a form. I have the report set up as a Report object in the form. The report runs fine to screen or to file, but I am getting an error when attempting to email report in batch mode:
    REP-0081: Error during file I/O operation.
    REP-0110: Unable to open file 'mpa02448.pdf'.
    scaba 14
    Execution Mode = Batch
    Report Destination = Mail
    Report Destination Name = [email protected]
    Report Destination Format = PDF
    I am able to send email to the same address via UTL_SMTP directly from the form, so it is not an email handler problem.
    Any ideas?

    I have verified the latest patches.
    Addresses are indeed in Windows address book.
    As far as verifying permissions on the file, the file does not exist. It would appear that the error is generated when creating the PDF file, before emailing occurs. Again, however, I do not have problems writing to file directly.
    Is there a default directory used when emailing report for file creation? Perhaps the permissions on that directory need to be changed. Please advise.

Maybe you are looking for

  • Memory install problems with my iMac. Can someone help me?

    I read several post before leave it my question here-like having similar RAM memory problems-but looks like nobody has the right answer. This is my dilemma. I have an iMac/Intel Core 2 Duo/2.8 GHz/RAM 2 GB/800 MHz,(Anodized Aluminum) 1st Generation -

  • Query regarding Crystal Reports Server

    Hi, I am new to Crystal Reports. I have created a couple of .rpt files using CR2008 and I am loading these report files in my aspx pages using CrystalReportViewer control. I am planning to host my webApp on IIS in production environment. Maximum simu

  • How to change the utilised join for a particular report

    Hi, I have a discoverer report which is very similar to a previously developed report. I copied the report and now I want to change the join that is utilised by the new one (Two different joins exist between the two folders being used). How can I do

  • Unable to Use in Snow Leopard

    Hi, I am using SL and Acrobat 9.1.3 and whenever I attempt to create a PDF document using the prescribed 'Save As Adobe PDF', the program crashes with the following error message: "Save as Adobe PDF quit unexpectedly while using the AdobeACE plugin".

  • Edit in photoshop other then 240 dpi

    If I choose edit in Photoshop the dng raw file is opening with 240 dpi in photoshop. Is it possible to change that standard to 300 dpi?