The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Re: SlimP3 - XPL = Homeseer 2



Maybe the user running the xplhal service (localsystem ?) doesn't have the
permission to launch the dcom server "HomeSeer.Application" ?
Goto "Start/Run...", type "dcomcnfg". In the management
console, navigate to
My Computer/DCOM Config. Locate the HomeSeer Class. Check the properties,
especially under Security the Launch and Access Permissions. If these are
set to Use Default, then click look at the properties of My Computer in the
treeview of the management console (i.e. not the My Computer on the
desktop).
But first examine the eventlog. If it is related to what I describe here
you should find entries there.
Hth,
Tom

On 8/26/05, JohnQuirk <johnquirk@xxxxxxx> wrote:
>
> Hi John,
> Good to hear from you again. I can confirm that the script works
> fine outside of XPL, which is what I'm finding so frustrating.
>
> Any advice on debugging.
>
> Thanks
>
> JohnQ
>
>
> --- In ukha_xpl@xxxxxxx, "John B"
<home-automation@j...>
> wrote:
> > Hi John,
> >
> > As Tony says, this looks like a problem creating the HS object.
> > CreateObject should work fine from within xPLHal - I use it to do
> stuff
> > with databases using ADO.
> >
> > Can you try putting the following lines into a file in Notepad:
> >
> > Set hs = CreateObject("HomeSeer.Application")
> > hs.Writelog "XPL","M2"
> > hs.ExecX10 "M2", "on", 0, 0
> > Set hs = Nothing
> >
> >
> > Then save it as a VBS file and try running it.
> >
> > If it fails with the same error (Object variable or with block
> variable
> > not set) then you know it's an error within HS.
> > If it works, then we need to look at why it doesn't work from
> within
> > xPLHal.
> >
> > HTH,
> >
> > John
>
>
>
>
> xPL Links: http://www.xplproject.org.uk http://www.xplhal.com
> http://www.xpl.myby.co.uk
> To Post a Message: ukha_xpl@xxxxxxx
> To Subscribe: ukha_xpl-subscribe@xxxxxxx
> To Unsubscribe: ukha_xpl-unsubscribe@xxxxxxx
>
>
>  ------------------------------
> YAHOO! GROUPS LINKS
>
>
>    - Visit your group "ukha_xpl<http://groups.yahoo.com/group/ukha_xpl>"
>    on the web.
>     - To unsubscribe from this group, send an email to:
>   
ukha_xpl-unsubscribe@xxxxxxx<ukha_xpl-unsubscribe@xxxxxxx?subject=Unsubscribe>
>     - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>    Service <http://docs.yahoo.com/info/terms/>.
>
>
>  ------------------------------
>


[Non-text portions of this message have been removed]




xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.