ASP Page - Open Crystal Viewer, in VBScript

Results 1 to 2 of 2

Thread: ASP Page - Open Crystal Viewer, in VBScript

  1. #1
    Join Date
    Dec 1969

    Default ASP Page - Open Crystal Viewer, in VBScript

    Hello,<BR><BR>I&#039;m using dreamweaver MX.<BR>I want to open a crystal report in the browser to view a report, using the crystal viewer.<BR>I&#039;m having serious problems with this.. There does not appear to be any useful help anywhere!<BR>I&#039;ve spend days searching thew web trying to find useful info ...<BR><BR>I&#039;ve loaded Crystal Reports - Pro V8.5 onto the WEB Server.<BR>The below code is partly ok, I think its more the DLL is a problem. My error messages are in the line of <BR>"Invalid ProgID", & It does not see my ActiveX Viewer as being valid??<BR>[&#039;Set CRViewer1 = Server.CreateObject("CrystalRuntime.CrystalReportV iewer") ] Is this declaration correct ??<BR><BR>Is this a problem with my PC, is this something that I can fix in Dreamweaver or does it need to be the IIS server PC!<BR><BR><BR>Any help would be great.<BR>Thanks,<BR>Tony.<BR><BR>**************** ********** My Code ************************************<BR>&#060;%<BR >Dim CRViewer1<BR>Set CRViewer1 = Server.CreateObject("CrystalRuntime.CrystalReportV iewer")<BR>Dim WebBroker, WebSource<BR>Set WebBroker = CreateObject("WebReportBroker.WebReportBroker")<BR >Set WebSource = CreateObject("WebReportSource.WebReportSource")<BR >WebSource.ReportSource = WebBroker<BR>WebSource.URL = "http://sdloe0002/finance/Travel_Project/Trvl_Screens/RptTest.rpt"<BR><BR>CRViewer1.ReportSource = WebSource<BR>CRWiewer1.ViewReport<BR>%&#062;<BR><B R>

  2. #2
    Join Date
    Dec 1969

    Default RE: ASP Page - Open Crystal Viewer, in VBScript

    I&#039;ve never used Crystal Reports.<BR><BR>However, if you&#039;re getting "Invalid ProgID" when executing this line:<BR>Set CRViewer1 = Server.CreateObject("CrystalRuntime.CrystalReportV iewer")<BR>Then either the DLL for "CrystalRuntime.CrystalReportViewer" is not present, or it&#039;s not installed correctly. The third option is that you&#039;ve misspelt the ProgID entirely...?<BR><BR>Craig.<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts