I am having some problems getting it to work with passing it the server,
username, and password.  Are you passing this information or just having it
use the ColdFusion account?  Everything works great when I type the command
in to the command prompt on the server, but when I use CFExecute to execute
it doesn't work.

This is what I am passing it in the arguments:
dnszones.vbs Create Primary Forward test.com /S webdev1 /U administrator /W
password

Gives me the following error from that:

Microsoft (R) Windows Script Host Version 5.1 for Windows
Copyright (C) Microsoft Corporation 1996-1999. All rights reserved.

Error 0x1A8 occurred in connecting to server webdev1.
Error description: Object required.

Please check the server name, credentials and WBEM Core.

Bernd VanSkiver
[EMAIL PROTECTED]
ColdFusion Developer
----- Original Message -----
From: "Neil H." <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 7:48 PM
Subject: Re: scripting windows 2000 dns


> Yeah we use the CFexecute with the DNS provider.  It works beautifully
>
> Neil
>
> ----- Original Message -----
> From: "Jon Hall" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, January 31, 2002 3:37 PM
> Subject: Re: scripting windows 2000 dns
>
>
> > In addition to cfexecute, you could just use cfobject to interact with
the
> > DNS provider object. I can't say it would be easy though. You are going
to
> > have to rely on the docs if you don't know vbs pretty well. I know a
> little,
> > but that code is nasty :)
> >
> > The other possibility if you need to use CF, is just to figure out how
to
> > recreate the zone files in CF, write them out, create the registry
> entries,
> > then restart the DNS server. The zone files themselves are just plain
> > text...
> >
> > jon
> > ----- Original Message -----
> > From: "Bernd VanSkiver" <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Thursday, January 31, 2002 2:35 PM
> > Subject: scripting windows 2000 dns
> >
> >
> > > I am trying to use WMI to manage DNS entries in a Windows 2000 DNS
> server.
> > > I have some VBS files that I can do this with from the command prompt,
> but
> > > am not sure how to run them with ColdFusion.  Here is a link to the
> > article
> > > I am looking at for instructions on how to accomplish this task:
> > > http://www.iisfaq.com/Articles/319/.  Just trying to automatially
> create,
> > > modify, and delete dns entries with ColdFusion, if anyone knows of a
> > better
> > > way to do this then using the VBS files I mentioned then please let me
> > know.
> > >
> > > Bernd VanSkiver
> > > [EMAIL PROTECTED]
> > > ColdFusion Developer
> > >
> >
> >
> 
______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to