|
From: Tim v. d. H. <ti...@vd...> - 2002-11-19 11:11:59
|
Hi Ricky and all,
Followed your instructions and it seems to be installed
correctly. However, it keeps complaining about those
parentheses.... Just removing them won't do ay good, because
then the program thinks the dots (.) in the IP (and optional
server address) are field delimiters and returns the rror ')'
expected after the second dot.
What to do?
THanks,
Tim
> > -----Oorspronkelijk bericht-----
> > Van: Ricardo Pena [mailto:ric...@em...]
> > Verzonden: 18 November 2002 17:06
> > Aan: Tim van den Hoff
> > Onderwerp: RE: [Aspdns-users] install problem
> >
> >
> > Hey Tim,
> >
> > First make sure you've configured it in Component Services. Do the
> > following:
> >
> > - Click START -> PROGRAMS -> ADMINISTRATIVE TOOLS -> Component
> > Services
> > - Next, navigate the tree to Component Services -> Computers
> > -> My Computer -> COM+ Applications
> > - Under COM+ Applications you'll see a list of existing applications
> > (usually default ones)
> > - Right-click on COM+ Applications -> Click New -> Click Application
> > - Click NEXT -> Click 'Empty Application'
> > - Type a name for the app (something meaningful like ASPDNS
> > would be good)
> > - Choose Server Application then click NEXT
> > - This is important: Choose 'This user', then find the user
> > you want the component to run as. For this particular
> > component, the user you choose must have Administrative
> > privileges, otherwise, it won't have permission to make DNS
> > changes and your attempts to use it through ASP will fail.
> > - Enter the password (twice) for this user and click NEXT
> > - Finally, click FINISH
> >
> > After doing the above, you have just created an application. Now you
> > have to add the component to it. In the tree, you'll see the ASPDNS
> > application. Do the following:
> >
> > - Under the ASPDNS item in the tree, click on COMPONENTS to
> > highlight it
> > - Right-click on it then click NEW -> COMPONENT
> > - You'll get a wizard. Click 'Install New Component'
> > - Find the .dll (wherever you put it) and click on it then
> click OPEN
> > - You'll see the component info next
> > - Click NEXT -> FINISH
> >
> > You're done! Now it will be available for use via ASP pages.
> > Lastly, make sure you don't use the parentheses in your code. If it
> > complains about parentheses, get rid of them and you'll be fine.
> > Oh, one more thing, make sure the 'dnscmd.exe' file is in the same
> > folder that the .dll is in.
> > Make sure it is in the same folder of the .dll you pointed
> > the component services to.
> >
> > Hope this helps,
> >
> > ricky
> >
> >
> >
> >
> > -----Original Message-----
> > From: asp...@li...
> > [mailto:asp...@li...]On Behalf Of Tim
> > van den Hoff
> > Sent: Monday, November 18, 2002 9:44 AM
> > To: asp...@li...
> > Subject: [Aspdns-users] install problem
> >
> >
> > hello all,
> >
> > I've got a problem installing ASP DNS, I think.
> > I run a win2k spII machine, installed the VB Runtime program and the
> > dnscmd.exe file. I want to use an ASP file to add and del A records
> > on the same server.
> >
> > I read something about installing it as a com+ component with admin
> > privileges, how do I go about this kind of thing?
> >
> > When I try to run the ASP file with the following code, I get this
> > error:
> >
> > Microsoft VBScript compilation error '800a0414'
> >
> > Cannot use parentheses when calling a Sub
> >
> > /addhost.asp, line 5
> >
> > oMan.AddHost("schoolradar.nl", "test",
> > "192.168.0.1","ns1.broz.nl",vRes)
> >
> >
> > This is the code:
> >
> > <%
> >
> > Dim oMan, vRes
> > Set oMan = CreateObject("ASPDns.ManageServer")
> > oMan.AddHost("schoolradar.nl", "test",
> > "192.168.0.1","ns1.broz.nl",vRes)
> >
> > %>
> >
> >
> > What do I have to do?
> >
> > THanks a lot!
> >
> > Tim vd Hoff
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: To learn the basics of securing
> > your web site with SSL, click here to get a FREE TRIAL of a Thawte
> > Server Certificate: http://www.gothawte.com/rd524.html
> >
> > _______________________________________________
> > Aspdns-users mailing list Asp...@li...
> > https://lists.sourceforge.net/lists/listinfo/aspdns-users
> >
> >
>
|