Please login or register.

Login with username, password and session length

Author Topic: Help with ASP issue?  (Read 8978 times)

randy

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 23
Help with ASP issue?
« 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.
Logged

homeinsecure

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 1
Re: Help with ASP issue?
« Reply #1 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

Logged
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.