I'm having problems trying to run programs and access plugins from an IIS served ASP. My ASP files are written to be served by either Homeseer or IIS, but when I try to run a vbs file (Create Object ("Wscript.shell").Run abc.vbs) all I get is a ding sound and the vbs file does not execute. I did set the directory privldeges on IIS to allow write / runs script / run executables and user IIS default login user to have administrator group privledges but there must be something else.
When I use the syntax hs.Plugin("name").method from IIS it claims that the hs object does not support the method.
Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'hs.plugin'
I also know that Joe gets an error message from the Homeseer server on the same asp file in his case it is the standard script error message
Script error: x = hs.plugin("Web Agent").WebAgentAsp(request)
The actual asp code is below. Only in the IIS case is the hs = CreateObject statement used.
if typename(hs) = "Empty" Then
set hs = CreateObject("Homeseer.Application")
end if
x = hs.plugin("Web Agent").WebAgentAsp(request)
When I use the syntax hs.Plugin("name").method from IIS it claims that the hs object does not support the method.
Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'hs.plugin'
I also know that Joe gets an error message from the Homeseer server on the same asp file in his case it is the standard script error message
Script error: x = hs.plugin("Web Agent").WebAgentAsp(request)
The actual asp code is below. Only in the IIS case is the hs = CreateObject statement used.
if typename(hs) = "Empty" Then
set hs = CreateObject("Homeseer.Application")
end if
x = hs.plugin("Web Agent").WebAgentAsp(request)