|
From: <as...@ca...> - 2002-01-31 09:27:51
|
THE solution:
1. After installing ASPDNS with (or without the setup program) you
will have
a ASPDNS dll correctly installed on your system, but...
2 .First use the simpletest.vbs file at the end of this message (I
have not
created it for you, some virus-checking programs may issue warnings
or even
delete the file, if attached to a email message)
3. If the component answers (either success or failure), then jump to
step
6, else if you cannot see some output from simpletest, then try to
see if
the component registers correctly using (at the command prompt):
prompt>regsrv32.exe <path where aspdns.dll can be found>aspdns.dll
4. If you get an error message, some file is missing, but the only
dependencies of ASPDNS are the VB runtime and (at runtime)
dnscmd.exe, so
install them, and try again (remember to put all the file in one
directory,
eventually make copies of the files, but **DO** put 'em all
toghether).
5. When you have your component registered (probably it is already the
case), then you can set it up as a COM+ server. Notice you can
already use
the component, but not with IIS, so...
6. How to set up a COM+ component:
1. open the Component Services MMC (under Programs\Administrative
tools);
2. goto: Console root\Component services\Computers\ My Computer\COM+
Applications;
3. right-click & select New->Application;
4. after the welcome screen select "Create an empty application"
button;
5. Give the application a name and leave Server Application selected;
6. Set the identity appropriately: the user under which the
components run
HAS to be in the Administrators group (or at least DNS admins);
7. Now select the newly created application and right-click
Components;
select New->Component;
8. Click "Import components that are already registered";
9. (Multi)select the ProgIds (ASPDNS.xxx);
10. You are finished!
DO forget the error about COMCT332.OCX. I did not state clearly
enough this
component only affects DNSEplorer.exe, a simple utility provided with
ASPDNS
as a demo, NOT ASPDND itself; ASPDNS does not use COMCT332.OCX in any
way,
so the error can be ignored.
Have a good day, and continue to use Opensource software,
gsa
PS. HOW to create the simpletest.vbs file:
1. create a file in the ASPDNS installation directory and name it
simpletest.vbs;
2. right-click, select edit and copy the lines:
Dim oDNS, vRes
Set oDNS = CreateObject("ASPDNS.ManageServer")
oDNS.GetDnsInfo ".", vRes
MsgBox vRes
3. save & double click on the icon; you should get a message either
success
or failure, from the ASPDNS component; the message is textual and
selfexplanatory. If you get no message check: aspdns.dll, dnscmd.exe
and
simpletest.vbs mus be all in the same directory.
----- Original Message -----
From: <as...@ca...>
To: <gsa...@so...>; <mas...@so...>
Cc: <asp...@li...>
Sent: Monday, January 28, 2002 4:03 AM
Subject: [Aspdns-users] Can't get ASP pages to work
> Hi,
>
> I am trying to get an asp page to work.
>
> is this all I should put:
>
> <%
> Dim oMan, vRes
> Set oMan = CreateObject("ASPDns.ManageServer")
> oMan.PrimaryZone("acme.com", "dns.foo.com", "dns2.foo.com")
> %>
>
> or did I not configure permissions correctly. Can someone help me
in
> doing so and if anyone has a copy of some ASP scripts they wrote
that
> would be cool too.
>
> Thanks
>
> Lech
>
>
> _______________________________________________
> Aspdns-users mailing list
> Asp...@li...
> https://lists.sourceforge.net/lists/listinfo/aspdns-users
>
|