FRM- 41213: Unable to connect to the report server error [message #149117] |
Wed, 30 November 2005 02:25 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
bijayad
Messages: 11 Registered: August 2005
|
Junior Member |
|
|
Hi,
I am trying to integrate report within forms 9i. So, I have written following syntax:
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_SERVER,
'rep_hp11');
where 'rep_hp11' is the report server name created in the folder /Reports/conf/rep_hp11.conf.
But I am getting following error:
FRM- 41213: Unable to connect to the report server rep_hp11.
How to resolve this error.Please help me.
Regards,
Bijaya
|
|
|
|
|
|
|
|
|
|
Re: FRM- 41213: Unable to connect to the report server error [message #153086 is a reply to message #149117] |
Wed, 28 December 2005 23:59 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
ddshah
Messages: 16 Registered: December 2005
|
Junior Member |
|
|
Hello David,
the link is as follows:
http://www.orafaq.com/forum/t/56738/80375/
I am pasting the source code itself.
declare
report_id Report_Object;
ReportServerJob VARCHAR2(100);
vc_rep_status VARCHAR2(100);
vjob_id VARCHAR2(100);
repsvr varchar2(21) := 'rep_MYSERV';
BEGIN
report_id:= find_report_object('REPORT1');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,file);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME,'rpout1.html');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,'HTMLCSS');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,repsvr);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER, 'paramform=no');
ReportServerJob:=run_report_object(report_id);
vjob_id := substr(reportserverjob,length(repsvr)+2);
vc_rep_status := REPORT_OBJECT_STATUS(ReportServerJob);
WHILE vc_rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED', null)
LOOP
vc_rep_status:=REPORT_OBJECT_STATUS(ReportServerJob);
END LOOP;
IF vc_rep_status='FINISHED' THEN
WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'|| vjob_id ||'?server='||repsvr,'_blank');
ELSE
message ('Report failed with error message '|| vc_rep_status);
END IF;
END;
FRM-41213 ERROR STOPPED AFTER I USED THE ABOVE CODE.
Hope you'll find this OK.
[Updated on: Thu, 29 December 2005 00:31] Report message to a moderator
|
|
|
|
|
|
|