Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting the Remotereportproxy

Status
Not open for further replies.

shawy

Programmer
Joined
Mar 11, 2003
Messages
4
Location
AU
Crystal Reports Version 9 (.Net)

Hi,

We have a problem connecting through a proxy to a web service using the crystal viewer inside a win32 application (.NET). Basically, we do the following:

1) Set the RemoteReportProxy (proxy) proxy creditionals

2) Set the Viewer.Reportsource = proxy

3) Add the report parameters to the viewer

4) Add the LogOnInfo to the viewer

Before the report is shown the viewer asks for the parameters again before displaying the report.

We have noticed that when we don't use the proxy server the viewer doesn't ask for the parameters.

Does anyone have any ideas how we can display the report without it asking for the parameters?

John

PS. We have also tried to programmically add the parameters in but this doesn't seem to work.
 
Found the solution!!

It was because I was setting the reportsource twice and I didn't know that the reportsource was actually the web service hidden away so on the 1st hit it was getting the parameters and on the 2nd hit I was setting the parameters but on the 2nd instance if that makes sense.

phew!

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top