473,326 Members | 2,023 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

ASP not working, but same code in VBS works

Hi all!
I'm working with a SDK provided for some X10 software I have.

If I use the code in an ASP page, nothing happens.. no error, just
nothing. I haven't had a problem with ASP in the past on this computer
and other ASP pages render fine.

If I use the (almost) identical code in a stand alone VBS it works fine.
Both the ASP and VBS are running on the same computer and it's an XP SP2
with IIS installed.

Here's the code

ASP:
<%@ Language=VBScript %>
<%
Set x10Obj = Server.CreateObject("X10.ActiveHome")

x10Obj.SendAction "sendplc", "c2 off"
set x10Obj = Nothing
%>

Here is the VBS code:
Set x10Obj = CreateObject("X10.ActiveHome")

x10Obj.SendAction "sendplc", "c2 off"
set X10Obj = Nothing
Like I said the asp page does nothing, but the vbs runs fine.. the
device goes off.

I can't figure out why the asp wouldn't work, it's virtually the same
code other than the server.createobject and createobject.. but since
it's on the same machine that shouldn't matter.

Anyone have any ideas or suggestions?

Thanks!
Jan 22 '06 #1
0 1228

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Jeff Johnson | last post by:
I'm using forms authentication to protect a subfolder within my site. I've got it working fine except for two issues: (1) When I do a RedirectFromLogin page I have to put a cookie path ("/"...
4
by: earwicker | last post by:
I recently deployed a web application which contains a user registration form with the usual fields: name, address, email, password, etc. Each of the TextBoxes uses a validation control to verify...
8
by: Brad Simon | last post by:
I have written a shopping cart using ASP .NET (VB). It has been running quite successfully on a site for about a year or so. I use the SessionID as the key to hold information on the shopping...
3
by: RobertS | last post by:
I'm trying to figure out what I need to do to configure IIS 5.1 on XP Pro to work when referencing WebResources.axd. For example, I have an aspx script that works fine when run from Visual Web...
8
by: Gaurav | last post by:
Hi All, I have written the 'c' code for specific purpose and tested it over many files and it is crashing in only one case. When I ran the same code in the debug mode within the VS against the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.