Imported image error - REP-6106: Error in XML Report Definition
I created a report with an image using Insert/Image. I've tried bmp, gif, jpg. The reports works fine so I save it. When I reopen this file, I get the REP-6106 error message "Invalid element 'image' in content of 'repeatingFrame'. expected elements [comments, geometryinfo...etc.....]".
Any ideas?
Thanks,
Albert
This is a bug, I have filed bug 2546295 to track this.
Thanks for finding this.
-Shaun
Similar Messages
-
Batch PDF Reports raising error REP-3002: Error initializing printer.
We are running Reports 6.0 in Windows NT 4.0. When run manually the PDF reports are able to see the PostScript Print Driver and generates PDF output. We have a batch job on the NT that gets kicked off from the Mainframe via XPATH, which spawns multiple report processes as needed to run the PDF reports. We get the error "REP-3002: Error initializing printer." under this scenario.
Any help to resolve this will be appreciated.
Thanks,
BabuHi,
i've changed to use RUN_REPORT_OBJECT as your advice and followed the instructions in "Oracle Reports Remote Printing Utility - An Oracle Technical White Paper December 2000". i tested orarrp by created the HTML file follow the steps in page 5 of the paper, it worked.
then i modified existed form, set report object property like this :
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE, BATCH);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE, FILE);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME,'test.rrpa');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'Rep60_NTSERVER2');
note : i'm not sure that i set the right value for REPORT_SERVER property, i got this value from TNSNAMES.ORA file.
then call the report with this statement :
:GLOBAL.ReportHandle := RUN_REPORT_OBJECT(report_id);
it showed the same error message :
"REP-3002 Error initializing printer. Please make sure a printer is installed."
i think i set something wrong, but i don't know where. could you help me ?
Hunsa -
Terminated with error: REP-50152:Error while sending mail
Hi
Gets this error while sending report mails to external email id's
Terminated with error: REP-50152: Error while sending mail - Sending failed; nested exception is: javax.mail.SendFailedException: Invalid Addresses; nested exception is: javax.mail.SendFailedException: 550 5.7.1 Unable to relay for [email protected]
Any setting to be done in report config file?
thanks
MGIt should be like this
<pluginParam name="mailServer">%MAILSERVER_NAME%</pluginParam>
Specify the name of your mail server in the place of %MAILSERVER_NAME% above
Also make sure that this is not commented out.
Thanks, -
REP-6104: Invalid XML report definition
Hello All,
We're encountering the above error. What could be the cause of the problem?
We're using Oracle 10g 10.1.2 on AIX as our report server.
Any help would be greatly appreciated. Thanks!
[2006/8/6 1:17:56:737] (C Engine) ----------------------------------------
[2006/8/6 1:17:56:738] (C Engine) | Report customization/generation begins |
[2006/8/6 1:17:56:740] (C Engine) ----------------------------------------
[2006/8/6 1:17:56:744] (C Engine) Processing XML report definition 1 of 1.
[2006/8/6 1:17:56:745] (C Engine) *** Parsing the XML document ***
[2006/8/6 1:17:56:746] (C Engine) Creating XML parser object...
[2006/8/6 1:17:56:934] (C Engine) XML Parser Created!
[2006/8/6 1:17:56:955] (C Engine) Parsing report definition in document buffer...
[2006/8/6 1:17:57:910] (C Engine)
Internal error
[2006/8/6 1:17:57:916] (C Engine) ERROR: XML definition failed to parse!
[2006/8/6 1:17:57:917] (C Engine) -------------------------------------------------------
[2006/8/6 1:17:57:918] (C Engine) | Report customization/generation failed! |
[2006/8/6 1:17:57:921] (C Engine) -------------------------------------------------------
[2006/8/6 1:17:57:922] Error 50103 (C Engine): 01:17:57 ERR REP-6104: Invalid XML report definition.
[2006/8/6 1:17:57:923] Error 50103 (C Engine):
[2006/8/6 1:17:57:924] Error 50103 (C Engine): 01:17:57 ERR REP-0002: Unable to retrieve a string from the report builder message file.
REP-6104: Invalid XML report definition.Hello,
What format do you use for your Reports ? JSP ? XML ? RDF ? REP ?
If you are using JSP or XML, try to save your Reports in Reports Buidler with the format RDF and use this RDF
Regards -
How add new field in layout in RDF using XML report definition
Hi, ALL
Do you know how add new field in layout of existing report in RDF using XML report definition. If I try change anything in RDF layout, layout which defined in XML override report layout.hello,
in reports 6i we have this limitation, that you can not add a field to a report unless you re-default the whole report, as we do not support positioning-information in the customization file.
regards,
the oracle reports team -
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,
AnandHi,
Edit the system registry and assign REPORTS_PATH then your problem will be cleared. -
Error in creating XML Report Definition
I have used App Engine to generate XML & XSD file having multiple rowsets.
Next I created a new Data Source of type rowset and uploaded thses 2 files.
But when I try to create a new Report Definition with data source type as rowset and the Data source name created before it throws the following error
Invalid XSD File: (235,18)
This XSD file is not valid. Please correct the error and upload again.
Could anyone assist me in solving this issue?Can you compare the XML tags from your file with the following example:
<function name="f_1formattrigger">
<textSource>
<![CDATA[function F_1FormatTrigger return boolean is
begin
null;
return (TRUE);
end;]]>
</textSource>
</function>
As I can see , in your file <textSource> tag is missing.
Regards -
Image encoding in XML report definition
For a number of reports I have the Report definition in XML-format. These files contain embedded images.
How do I extract image-files from the xml's. It doesn't look like the strings for the images are not base16 or base64 encoded?Are you working with something like this?
<?xml version="1.0" encoding="WINDOWS-1252" ?>
<report name="MODULE1" DTDVersion="9.0.2.0.10">
<xmlSettings xmlTag="MODULE1" xmlPrologType="text">
<![CDATA[<?xml version="1.0" encoding="&Encoding"?>]]>
</xmlSettings>
<data>
<systemParameter name="MODE" initialValue="Default"/>
<systemParameter name="ORIENTATION" initialValue="Default"/>
</data>
<layout>
<section name="main">
<body>
<image name="B_1">
<geometryInfo x="0.00000" y="0.00000" width="8.31250" height="6.25000"
/>
<visualSettings fillPattern="transparent" fillBackgroundColor="black"
linePattern="transparent" lineBackgroundColor="black"/>
<points>
<point x="0.00000" y="0.00000"/>
<point x="8.31250" y="6.25000"/>
<point x="0.00000" y="0.00000"/>
<point x="8.31250" y="6.25000"/>
</points>
<binaryData encoding="hexidecimal" dataId="image.B_1">
FF8DFF0E 0001A464 94640010 10100006 00060000 FFBD0048 0001B0C0 E0C0A001
E0D0E021 11013181 82A18161 61811332 52D182A3 33D3C393 33837304 84C5E404
44755473 8305D615 75F52676 8676E3D4 17970746 87C55676 36101121 21815181
F2A1A1F2 36248324 36363636 36363636 36363636 36363636 36363636 36363636
36363636 36363636 36363636 36363636 36363636 36363636 3636FF4C 102A0000
D29681A8 4EB94557 F3D8D588 912F1FCE A2478278 4E157FE8 D3B2F257 A1906D14
A809D102 9F646EFF 007CA66A B08C98EF 2E5344BB 4978EEAD 55093F75 6A4E8D29
345ECCA0 4F537A2C 9CB424CB 8DDE0D7D 53D4D002 D3E32E6D 1942F70F 5D29740C
7CF15A56 1A469E72 F449A09D 918DE7CF 5F9F877A 17106FEF 474C484E 6F41C067
0D1338AF 1D06311A 4E6608F0 F4C40540 859FBFE7 579924E1 495C31FF 9D
</binaryData>
</image>
</body>
</section>
</layout>
<webSource>
<![CDATA[<%@ taglib uri="/WEB-INF/lib/reports_tld.jar" prefix="rw" %>
<%@ page language="java" import="java.io.*" errorPage="/rwerror.jsp" session="false" %>
<%@ page contentType="text/html;charset=ISO-8859-1" %>
<!--
<rw:report id="report">
<rw:objects id="objects">
</rw:objects>
-->
<html>
<head>
<meta name="GENERATOR" content="Oracle 9i Reports Developer"/>
<title> Your Title </title>
<rw:style id="yourStyle">
<!-- Report Wizard inserts style link clause here -->
</rw:style>
</head>
<body>
<rw:dataArea id="yourDataArea">
<!-- Report Wizard inserts the default jsp here -->
</rw:dataArea>
</body>
</html>
<!--
</rw:report>
-->
]]>
</webSource>
<reportPrivate versionFlags2="0" templateName="rwbeige"/>
<reportWebSettings>
<![CDATA[]]>
</reportWebSettings>
</report>Image data is encoded in hexadecimal format (base16) but the hex digits are reversed compared to the original byte sequence.
For example, the first eight bytes in the source are :
FFD8FFE0 00104A46but appears as FF8DFF0E 0001A464 in the XML file.
You'll need a small program to read the file, extract the hex binary stream, process it and write back the data to a file.
Example in PL/SQL (tested on db version 11.2.0.2) :
DECLARE
fid utl_file.file_type;
len PLS_INTEGER := 1024;
buf RAW(512);
module_name VARCHAR2(260) := 'MODULE1';
dir_name VARCHAR2(30) := 'TEST_DIR';
BEGIN
for r in (
/* extract all image elements */
select img_name
, regexp_replace(img_data, '\s+') as img_data
from xmltable('//body/image'
passing xmltype(bfilename(dir_name, module_name||'.xml'), nls_charset_id('WE8MSWIN1252'))
columns img_name varchar2(30) path '@name'
, img_data clob path 'binaryData'
loop
/* output file */
fid := utl_file.fopen(dir_name, module_name || '_' || r.img_name || '.jpg', 'wb', 32767);
for i in 0..trunc((dbms_lob.getlength(r.img_data) - 1 )/len)
loop
/* read 1k of hex data and convert to binary */
buf := hextoraw(
regexp_replace(
dbms_lob.substr(r.img_data, len, i*len + 1)
, '\2\1'
utl_file.put_raw(fid, buf);
end loop;
utl_file.fclose(fid);
end loop;
END;
/ -
After Effects CS6 won't import images files, get an error.
HI,
Problem with AE CS6 and importing .png files in a folder. Please see the YouTube video, I took a screencast of the problem in action to show what it looks like, any help would be greatly appreciated.
The video will explain it in more detail, you will see the error:
https://www.youtube.com/watch?v=lIyXDu-pqLc
OS
Windows 7 64 bit.
Thank youHad a tech connect to my computer, tried a number of things, this was the culprit:
-
Error REP-0001 While starting the Report service
Hi
When trying to start the reports service from 9iAS, i am getting error message as "REP-0001 Unable to open the message file", and in the Window Title it shows "Message 16200 not found, No message file for product rw".
Regards
RanganathHi,
You(The user) need to have access permission to read the mesg files. The DBA installing Reports will be able to run the reports.
Grant read access to rwus.msb and rwus.msg files on $ORACLE_HOME/reports/mesg/
Try to run it, should work.
Thanks,
Oracle Reports Team. -
Error rep-1401 in formula of report buider
I am trying to read number from table for a speciific date for which that number does not exit i.e return value is null. I am unable to handle it.
My code look like this
declare
vnum number;
begin
select pnum into vnum from XYZ where pdate=:P1_date
if pnum is null
return 0;
else return pnum;
end if;
end;
I also tried
declare
vnum number;
begin
select pnum into vnum from XYZ where pdate=:P1_date
exception when no_data_found then
return 0;
else return pnum;
end if;
end;declare
vnum number;
begin
select pnum into vnum from XYZ where pdate=:P1_date;
return vnum;
exception when no_data_found then
return 0;
end; -
Hi all,
We are getting this error while running the an XML Report.
the concurrent program is ending with compilation with WARNING and
the DIGNOSTICS of the concurrent program is not showing any XML data with the ERROR "A name was started with an invalid character. Error processing resource " .
When the log file is checked, it says that 'ONE OR MORE POST PROCESSING FAILED".
Can any one help us ?hi Viral,
Actually we are using a .rdf file but not the data template...
And we have changed the .rdf file....
does it affect the XML output?
and if it does then what is the solution to this problem?
Thanks ,
Sachin -
Rep-52005 error when running a report from form with parameter form
I am trying to run a report from a web deployed form and this report has a parameter form. I am getting a Rep-52005: The specified key report does not exist in key map file.
I am using Oracle Forms/Reports 10.1.2.0.2. My code is below. The first part works fine where I run a report with no parameter form, but the second part when I have a parameter form gets the about error.
PROCEDURE call_report (
p_report_name VARCHAR2,
p_reportobj_name VARCHAR2 DEFAULT NULL,
p_parameter_list paramlist DEFAULT NULL,
p_parameter_string VARCHAR2 DEFAULT NULL
IS
repid report_object;
v_rep VARCHAR2 (100);
rep_status VARCHAR2 (100);
v_report_url VARCHAR2 (240);
v_interface VARCHAR2 (50);
v_report_parameter VARCHAR2 (1);
vc_user_name VARCHAR2 (100);
vc_user_password VARCHAR2 (100);
vc_user_connect VARCHAR2 (100);
vc_connect VARCHAR2 (300);
v_reportserv VARCHAR2 (30);
v_job_number number;
BEGIN
/* Get the database to run the report against and
find out if the report has any parameters */
SELECT report_parameter_flag
INTO v_report_parameter
FROM program_list
WHERE program_type = 'REPORTS'
AND UPPER (screen_id) = UPPER (p_report_name);
vc_user_name := get_application_property (username);
vc_user_password := get_application_property (password);
vc_user_connect := get_application_property (connect_string);
v_reportserv := 'rep_xxxx_ias10g_home';
v_report_url := 'http://xxxx.state.il.us';
v_job_number := length(v_reportserv) +2;
vc_connect :=
vc_user_name
|| '/'
|| vc_user_password
|| '@'
|| vc_user_connect;
v_interface := get_application_property (user_interface);
IF ( v_interface = 'WEB'
AND v_report_parameter = 'N'
THEN
repid := find_report_object(p_reportobj_name);
set_report_object_property (repid, report_comm_mode, synchronous);
set_report_object_property (repid, report_destype, cache);
set_report_object_property (repid, report_desformat, 'pdf');
-- v_reportserv := get_report_object_property (repid,report_server);
set_report_object_property (repid, report_server, v_reportserv);
set_report_object_property (repid, report_other, p_parameter_string);
v_rep := run_report_object (repid);
rep_status := report_object_status (v_rep);
IF rep_status = 'FINISHED'
THEN
web.show_document (
v_report_url
|| '/reports/rwservlet/getjobid='
|| substr(v_rep,v_job_number)
|| '?server='
|| v_reportserv
,'_blank'
ELSE
message ( rep_status
|| 'Report output aborted');
END IF;
ELSIF ( v_interface = 'WEB'
AND v_report_parameter = 'Y'
THEN
repid := find_report_object (p_reportobj_name);
set_report_object_property (repid, report_comm_mode, synchronous);
set_report_object_property (repid, report_destype, cache);
set_report_object_property (repid, report_desformat, 'pdf');
set_report_object_property (repid, report_server, v_reportserv);
set_report_object_property (
repid,
report_other,
'paramform=yes P_USER_CONNECT='
|| vc_connect
|| ' P_SERVERNAME='
|| v_reportserv
|| ' P_ACTION='
|| v_report_url
|| '/reports/rwservlet'
v_rep := run_report_object (repid);
rep_status := report_object_status (v_rep);
IF rep_status = 'FINISHED'
THEN
web.show_document (
v_report_url
|| '/reports/rwservlet/getjobid='
|| substr(v_rep,v_job_number)
|| '?server='
|| v_reportserv
,'_blank'
ELSE
message ( rep_status
|| 'Report output aborted');
END IF;
ELSE
run_product (
reports,
p_report_name,
synchronous,
runtime,
filesystem,
p_parameter_list,
NULL
END IF;
EXCEPTION
WHEN OTHERS
THEN
message (SQLERRM);
END;
My parameter form comes up and I enter the necessary information and hit submit query button. Then I get the Rep-52005: The specified key report does not exist in key map file.
Any help will be greatly appreciated!!
Shellie BrickerYour code seems to be implementing metalink note 139546.1 - Using Reports parameter forms with RUN_REPORT_OBJECT on the web.
For what I can see, the P_ACTION parameter should end in ?...
i.e.
P_ACTION=http://<hostname.domain:port>/reports/rwservlet?'
set_report_object_property (
repid,
report_other,
'paramform=yes P_USER_CONNECT='
|| vc_connect
|| ' P_SERVERNAME='
|| v_reportserv
|| ' P_ACTION='
|| v_report_url
|| '/reports/rwservlet?'
);If this does not fix your problem, then to troubleshoot further you would have to post the code in your Before Parameter Form trigger of your report.
Hope this helps,
UPDATE:
If the above does not fix your problem, my guess is that report name is not being generated in the hidden runtime values build by the code in the Before Parameter Form trigger.
i.e.
http://localhost:8889/reports/rwservlet?report=&destype=cache&desformat=PDF
The above code will throw error REP-52005: The specified key report does not exist in key map file.
Edited by: Rodolfo Ferrari on Jul 8, 2009 9:43 PM -
I have problems with reports builder, suddenly i recive the next error :
REP-0066 Error executing CA utility.
REP-3335 Unhandled internal CA Error
calaa 3
I don't have any problems accesing the data base, the free space in my hard disk is huge and all the software was reinstaled, but the error still apears, If anybody has experienced this or has any idea why this is hapening please let me know.
Tnx for your help.Hi Yuri
Is this specific to one RDF file only? There are no known reason for this error [which is very generic error]. All it tells is that some internal error is occured in CA utility and is very difficult to predict like this. I suggest, you get in touch with Oracle Support on this.
Thanks
Rohit -
Urgent:-REP-50152: Error while sending mail
hi
i am using reports10g. i have called a report from a form and destype=mail.
i have already mention the smtp server name in conf. file but still receiving this error
REP-50152: Error while sending mail - Sending failed; nested exception is: javax.mail.SendFailedException: Invalid Addresses; nested exception is: javax.mail.SendFailedException: 550 5.7.1 Unable to relay for [email protected]
thanksYour smtp server forbids relaying, which is very common. Often a smtp server is configured to send only mails within the same domain without authentication. Otherwise, you need a username and password for the smtp server. I'm not sure if you can configure Reports to send mail through an authenticated server.
Maybe you are looking for
-
Good web design software to replace iWeb
Hello There, I have been using iWeb for a while now, and despite its limitations, I like it. Now that Apple has discontinued (or will discontinue) MobileMe and some of the features wont be available any more, I decided to move to another web-design
-
Webcache.xml is not rewritten
We have been evaluating 9iAS,including the web cache, and found that our cacheing rules were being ignored. Eventually a co-worker pointed out the existence of $ORACLE_HOME/webcache/.webcache_tmp.xml. This proved to have the changes we had been makin
-
SAP Business Objects Data Services Designer Tutorial
Anyone know of a good one, with details? Not the SAP tutorial PDF. Video, blog, etc Google and BING find very little in the way of good designer tuts.
-
Best way to upgrade iTunes?
What's the best way to upgrade iTunes? I have an older version right now and I want to upgrade to 9.2. Do I simply install 9.2 over the same directory as my 9.1.1? Do I lose the library and settings?
-
So, I'm uising iPhoto for my home photography and Aperture for my professional stuff. My iPhoto library is over 200GB. My entire internal HDD is 500GB. My HDD is getting too full. I could just move my iphoto library to an exrternal HDD, but then