Finding Report Server Name [message #362055] |
Sun, 30 November 2008 05:40  |
ashutosh.chowdhary
Messages: 13 Registered: July 2008 Location: Pune
|
Junior Member |
|
|
Hi All,
I am calling reports from the forms for that I have hard code the report server name in my code.
Is there is any alternative to set the report server name dynamically at run time, means how to find the report server name and pass that into as a parameter in my code.
Regards,
Ashutosh
|
|
|
|
Re: Finding Report Server Name [message #366287 is a reply to message #362055] |
Fri, 12 December 2008 11:53  |
kwilla2001
Messages: 1 Registered: December 2008 Location: USA
|
Junior Member |
|
|
Hi Ashutosh,
I had the same situation a few days ago and this is what I did:
First locate the name of the reports server. it's usually the name of a file starting with rep_ in the /reports/server folder. or get it from the rwservlet, for example rep_s1_rep_server.
You need to modify formsweb.cfg : the line that starts with otherparms in your configuration, append to that line the following: REPORTSERVER=rep_s1_rep_server
In your form you need to add a new parameter REPORTSERVER. and before you call your report use the value from this parameter to pass it in the call.
I hope this helps.
M~
|
|
|