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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display RPT on Web Page

Status
Not open for further replies.

tjb2

Programmer
Jul 24, 2003
17
US
I have the following code:
<OBJECT ID="CRViewer" CLASSID="CLSID:C4847596-972C-11D0-9567-00A0C9273C2A" WIDTH=100% HEIGHT=95% CODEBASE=" address server 1/ActiveXViewer.cab#Version=8,0,0,371">
<PARAM NAME="EnableRefreshButton" VALUE=0>
<PARAM NAME="EnableGroupTree" VALUE=0>
<PARAM NAME="DisplayGroupTree" VALUE=0>
<PARAM NAME="EnablePrintButton" VALUE=1>
<PARAM NAME="EnableExportButton" VALUE=1>
<PARAM NAME="EnableDrillDown" VALUE=0>
<PARAM NAME="EnableSearchControl" VALUE=0>
<PARAM NAME="EnableAnimationControl" VALUE=0>
<PARAM NAME="EnableZoomControl" VALUE=0>

Sub Page_Initialize

On Error Resume Next

Dim webBroker
Dim webSource

Set webBroker = CreateObject("WebReportBroker.WebReportBroker")
Set webSource = CreateObject("WebReportSource.WebReportSource")

webSource.ReportSource = webBroker
webSource.URL = " address of server 2/folder1/folder2/folder3/report.rpt"
webSource.PromptOnRefresh = True
CRViewer.ReportSource = webSource
CRViewer.ViewReport

End Sub

Where server 1 is a webserver on my network and server 2 is a webserver on another network.

The Crystal Viewer loads fine and i get the gray screen that will contain the report but no report. My suspicion is that Crystal should be loaded on the other web server. Can anyone shed some light?

Thanks In Advance,

T [ponder]
 
Yes, there are files that need to be installed on the web server. In the BusinessObjects knowledgebase, search for "merge module" and you should find them.

-Dell

A computer only does what you actually told it to do - not what you thought you told it to do.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top