Forum

Free Download More Info
Welcome to the Personal Stock Streamer Developers Forum. Anyone can read messages, but you must be a registered user in order to post. (Sorry, we did this in order to prevent forum spam.)

Everyone who is registered for the Developers Forum on this site should now also have permission to log in and post to the Support Forum.  This was done by hand, so we may have missed a couple of people.  Please let us know if you do not have access to both forums.
Subscribe to RSS Feed
PSS Developers Forum -> Using PSS in ASP - Help!
Not logged in.
2006-10-17 21:14:59
1 of 1
#957
I'm trying to use the PSS COM object in ASP/VBScript on a Windows 2000 web server running IIS.

Looking in the registry I can see that two PSS COM objects exist (PSSScript.PSSScriptModule and PSSScript.PSSScriptModule.1)

I can even create them from the ASP page, because if I try to create another random object I get an error that the ProgId can't be found, but when I create either of the PSS objects it doesn't give me that error and isobject(pss) returns true

However I can't access the Application object inside the main PSS Object

Here is the code I'm using:

<%
set pss=Server.CreateObject("PSSScript.PSSScriptModule")
Response.Write("IsObject:" & isobject(pss) & "<br>")
set app=pss.Application
set doc=app.ActiveDocument
%>
Version: <%=app.Version%><br>
Current Document: <%=doc.Name%><br><br>


However it is failing on the line where I am trying to access the Application property (set app=pss.Applicatoin)

IIS is returning this error:


IsObject:True

Microsoft VBScript runtime error '800a01bd'

Object doesn't support this action

/index.display~.asp, line 4




Any ideas what I'm doing wrong? I use other COM objects from within ASP all the time. I've rebooted the web server, and I've also signed up for a trial account at money.net -- the actual PPS program works fine, it's just the COM object I can't seem to access the Application object inside of it


Posted by: Nafai