Re: WMI Path Problem - UPDATE
- From: maxv@xxxxxxxxxxxxxxxxxxxx (Max L. Vaughn [MSFT])
- Date: Wed, 22 Feb 2006 14:53:27 GMT
We've seen the generic error message before when adding records to the DNS
server. In the past, we've suggested that customer not set the TTL
attribute to a specific value, but rather let it default to the DNS server
default value.
Try changing the line: inParams("TTL")=3600 to inParams("TTL")=0
There are a wide variety of DNS management Samples. Have you had the
opportunity to review these samples:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dns/dns/dns
_wmi_provider_scripting_examples.asp?frame=true
The examples contain a sample of how to add a resource record without
having to perform a query.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dns/dns/dns
_wmi_provider_samples_managing_dns_resource_records.asp?frame=true#_dns_add_
a_resource_record
The access denied error could be generated by a couple of different issues.
1. Check to make sure that the credentials being used to modify the DNS are
members of the Local Administrators group on the DNS server.
2. Check the WMI permissions and make sure that the "Local Administrators"
or Administrators group has launch permissions, you can use 'WMI Control"
snapin to view WMI permisisons.
3. Verify the DCOM permissions, make sure the "Local Administrators" or
Adminsitrators group has permission to launch and execute objects on the
DNS target.
Sincerely,
Max Vaughn [MS]
Microsoft Developer Support, Windows Systems - Managed Technologies
Disclaimer: This posting is provided "AS IS" with no warranties, and
confers no rights. You assume all risk for your use.
.
- Follow-Ups:
- Re: WMI Path Problem - DIDN'T WORK
- From: vbnetdev
- Re: WMI Path Problem - UPDATE
- From: vbnetdev
- Re: WMI Path Problem - UPDATE
- From: vbnetdev
- Re: WMI Path Problem - DIDN'T WORK
- References:
- WMI Path Problem
- From: vbnetdev
- RE: WMI Path Problem
- From: "Gary Chang[MSFT]"
- Re: WMI Path Problem
- From: vbnetdev
- Re: WMI Path Problem - UPDATE
- From: vbnetdev
- Re: WMI Path Problem - UPDATE
- From: "Gary Chang[MSFT]"
- Re: WMI Path Problem - UPDATE
- From: vbnetdev
- WMI Path Problem
- Prev by Date: Re: First chance exception
- Next by Date: Question on ListView
- Previous by thread: Re: WMI Path Problem - UPDATE
- Next by thread: Re: WMI Path Problem - UPDATE
- Index(es):
Relevant Pages
|