Problems running VB code in ASP, but works fine in HTML

Started by ufans, October 14, 2007, 10:08:47 AM

Previous topic - Next topic

ufans

I have the dynamicreceive.html sample code working great, but I can't get the following code to work

<%@ Language=VBScript %>

<%
Set x10Obj = Server.CreateObject("X10.ActiveHome")
'x10Obj.OnRecvAction "DoRecvAction"

x10Obj.SendAction "sendplc", "a3 on"

set x10Obj = Nothing
%>


I have IIS setup to run ASP files and the fact that the dynamicreceive.html code works means that the DLL is correctly registered.  Don't know what is up.  The only thing I can think of is security setting in IIS that prevents the running of ASP that impacts other programs/DLLs.

Anyone have an idea or a work-around?