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.
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.