|
From: <as...@ca...> - 2002-02-01 19:39:17
|
Hi,
I believe I have the COM+ Components and everything all working
properly. My only problem is I can't seem to get any ASP Scripts to
work.
I can however get this to display info about the DNS server:
<%
Set oMan = Server.CreateObject("ASPDns.ManageServer")
oMan.GetDNSInfo ".", vRes
Response.Write vRes
Set oMan = Nothing
%>
But if I try something like this:
<%
Dim oMan, vRes
Set oMan = CreateObject("ASPDns.ManageServer")
Response.Write oMan.PrimaryZone("acme.com", "dns.foo.com",
"dns2.foo.com")
%>
It doesn't work, but gives this error:
Error Type:
Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'PrimaryZone'
/dns3.asp, line 4
If anyone could send me an ASP code that works to add zones and do
some functions that would be great, I just want to get one piece of
code working to where it will add a zone, then I think I can figure
out more.
Thanks,
Lech
|