penkehenke
Programmer
Hello!
Crystal Advanced Developer v.10
Web application: ASP
Web Server: IIS5
I'm working on a solution where SDK is installed on
the webserver and RAS on another server.
My web application returns an error when I'm trying to open
the report. (clientDoc.Open)
Error message:
clientdoc.dll (0x80040154)
Class not registered
If I install RAS directly on the webserver it works alright.
Why does it not work with the SDK?
The code I use is the following:
Dim ClientDoc, ObjFactory, RptAppSession
Set ObjFactory = CreateObject("CrystalReports10.ObjectFactory.1")
Set RptAppSession = ObjFactory.CreateObject("CrystalReports.ReportAppSession")
RptAppSession.Initialize
Set ClientDoc = RptAppSession.CreateService("CrystalReports.ReportClientDocument")
clientDoc.Open Session("reportname")
Hope somebody can help me on this...
Crystal Advanced Developer v.10
Web application: ASP
Web Server: IIS5
I'm working on a solution where SDK is installed on
the webserver and RAS on another server.
My web application returns an error when I'm trying to open
the report. (clientDoc.Open)
Error message:
clientdoc.dll (0x80040154)
Class not registered
If I install RAS directly on the webserver it works alright.
Why does it not work with the SDK?
The code I use is the following:
Dim ClientDoc, ObjFactory, RptAppSession
Set ObjFactory = CreateObject("CrystalReports10.ObjectFactory.1")
Set RptAppSession = ObjFactory.CreateObject("CrystalReports.ReportAppSession")
RptAppSession.Initialize
Set ClientDoc = RptAppSession.CreateService("CrystalReports.ReportClientDocument")
clientDoc.Open Session("reportname")
Hope somebody can help me on this...