Word :    Username :           
 

Archived from groups: microsoft.public.win2000.dns,microsoft.public.windows.server.dns (More info?)

 

I coded several functions to be able to handle the adding/removing of
domains plus adding/editing/removing RRs from Microsoft DNS service w/ WMI.

My only problem now, that I have added in ~7500 domains, I am having
issues where I am getting the following error:

SWbemServicesEx error '80041002'

Not found

This is the line of code that is failing:

Set objLocator = CreateObject("WbemScripting.SWbemLocator" )
Set objService = objLocator.ConnectServer("x.x.x.x","root\microsoftdns" )
Set objServer = objService.Get("MicrosoftDNS_Server.Name="".""" )
THIS LINE> Set objDNSSet = objService.Get("MicrosoftDNS_Zone" )

PS: There is a real IP in there.

If I recompile the mof and reregister the DLL, then it starts working again.

Any ideas?

Sponsored Links
Register or log in to remove.
Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > Win2k Server DNS/WMI Issue
Go to:

There are 577 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them