X10 Community Forum

🖥️ActiveHome Pro => SDK => Topic started by: randy on January 07, 2006, 04:32:47 AM

Title: Help with ASP issue?
Post by: randy on January 07, 2006, 04:32:47 AM
Hello,

I've been working on an ASP project for
some time now. I have created several
variations of the vbscript example found on
this website. The ASP project I am working
on utilizes the following object setup and
usage:

Set x10Object = Server.CreateObject
("X10.ActiveHome")
x10Object.SendAction "sendplc", "o1 on"
Set x10Object = Nothing

Execution works great a few times and then
I get a COM Surrogate error in a popup
window and a few errors in Event Viewer. I
have posted here before and contacted X10
support several times (no response from
X10). Any thoughts or suggestions would be
greatly appreciated.
Title: Re: Help with ASP issue?
Post by: homeinsecure on October 13, 2011, 05:25:23 AM
Hi!  your code is ok, I have tahe same problem on my computer (xp sp3)
the only issue I found is to desactivate DEP (data execution prevention) for the dllhost.exe and X10 service

to do that:
1. Click Start
2. Select Control Panel
3. Select System
4. Click the Advanced tab
5. In the Performance region select Settings
6. Click the Data Execute tab in the dialog box that opens
7. Select Turn on DEP for all programs and services except for those I select
8. Click Add.
9. The open dialog box will open. Browse and select DLLHOST.EXE and x10net.dll
10. Click Open
11. Click Apply
12. Click Ok
13. Reboot