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
<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