If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > REP-51002: Bind to Reports Server rep_ORAserver failed

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
Join Date: Dec 2003
Location: ha noi
Posts: 24
Question REP-51002: Bind to Reports Server rep_ORAserver failed

Hi,
I tried to make the report and the server returned the error massage.
Some one tell me what the error is. How to correct it.
Thanks a lot.
Reply With Quote
  #2 (permalink)  
Old
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 7,612
FYI... A little know restriction exists within 9iAS R2.
The Forms builtin function RUN_REPORT_OBJECT will fail
when the name of the Reports Server contains an underscore character.
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Don't say, show. Don't promise, prove.
Reply With Quote
  #3 (permalink)  
Old
Registered User
 
Join Date: Dec 2003
Location: ha noi
Posts: 24
Red face how in detail - REP-51002: Bind to Reports Server...?

Hi,
could you show me in detail to correct my error.
My trigger look like:

Declare
CheckOK Boolean := False;
v_connect_string Varchar2(500) := ' ';
Username Varchar2(50) := ' ';
Pwd Varchar2(100) := ' ';
v_url Varchar2(500) := ' ';

Begin
UTIL_P.Check_input_Conditions (CheckOK => CheckOK);
if CheckOK then
username := 'brokersys'; --get_application_property(Username);
pwd := 'sys'; --get_application_Property(password);
v_connect_string := 'ibs'; --get_application_property(Connect_String);
v_url := '/reports/rwservlet?'||--'http://abc:8888/reports/rwservlet?server=rep_ORAserver'||
--'report=print_bao_cao_kqgd.rdf&desformat=htmlcss'| |
'&userid='||LTRIM(RTRIM(username)) || '/' || LTRIM(RTRIM(pwd))||'@'||v_connect_string||
'&ip_From_Branch='||:PRINT_BAO_CAO_KQGD_B.FROM_BRA NCH ||
'&ip_To_Branch=' ||:PRINT_BAO_CAO_KQGD_B.TO_BRANCH ||
'&ip_From_Date=' ||TO_CHAR(:PRINT_BAO_CAO_KQGD_B.FROM_DATE,'DD/MM/YYYY') ||
'&ip_To_Date=' ||TO_CHAR(:PRINT_BAO_CAO_KQGD_B.TO_DATE,'DD/MM/YYYY') ||
'&ip_ho_name=' ||LTRIM(RTRIM
'&paramform=no';
web.show_document(v_url, '_blank');

else
Display_Err_P.Display_error('ERR','Check Again!');
End if;
Exception
When Others then
Message(SQLERRM);Message(SQLERRM);
End ;


Thank in advance???
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On