Hi, I'm trying to create, modify and get a DNS Resource Record using the DNS Provider, yet every time I do it, I get the following message: Couldn't create instance of Microsoft.Provisioning.Providers.DnsResourceRecord_type Resource Record The XML I am using
is something like this for GetResourceRecord: 10.1.1.1 Administrator xxxxx myDomain.com a www The setup I have at the moment is ( all seperate machines ): Webservice API running on Windows Server 2003. MPS Engine running on Windows Server 2000. DNS server
running on Windows Server 2003 with MPS DNS Client. I can create a DNSZone without problems, so the security & authorization seems to be okay, it is only creating, modifying and retrieve DNS Resource Records that is causing problems. Thanks in advance for
any help. Sieu
Putting the properties get the same response of: Couldn't create instance of Microsoft.Provisioning.Providers.DnsResourceRecord_type Resource Record. No I am not getting the XML response, I am calling the SubmitMPSRequest of the MPSGeneral web service and the
output is from the errorReturn output parameter, which I check when there is no XML Response. I'm seem to also be having problems creating secondary zone files the XML Request I am looks like this: 10.2.1.1 Administrator xxxxx myzone.com secondary admin@myzone.com
COMMIT 10.2.1.2 10.2.1.2 And this is the following error ( again there was XML Response ): Error calling CreateZone method for zone myzone.com Error: Invalid parameter Source: System.Management StackTrace: at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus
errorCode) at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options) at Microsoft.Provisioning.Providers.DnsManagement.CreateDNSZone(String xi_strServerIdentifier, String xi_strUserName,
String xi_strPassword, String xi_strZoneName, String xi_enumZoneType, String xi_strAdminEmail, String xi_enumCommitFlag, String xi_enumDebugLevel, String PropertyTree, String& xo_strOperationStatus, String& xo_strZoneFileName) It seems to me that the webservices
are built using the new MPS .NET Client Wrapper API and, to be blunt, it feels like beta software. The MPS I am using is 1.1, do you think this would have anything to do with it? Sieu
I've managed to get it to work.... you need to use the rrtype names of DNS WMI Provider and also the wmi properties so the following XML would work with DNS Provider -> CreateResourceRecord method: 10.1.1.1 myZone.com MicrosoftDNS_AType Commit Administrator
******** myZone.com www 11.111.11.1 This returns an error of: Error in CreateResourceRecord method for zone nasstar.com: Generic failure .. .. but still creates the relevant resource record on the zone. ----- With regards to the error when creating secondary
zones.. I seemed to have embarrasingly misspelt the "IpAddr" property as "IPAddr" (spot the error). Changing seems to have solved the problem. Sieu
sn@nasstar.c...
Member
55 Points
11 Posts
Unable to create DNSResourceRecord_Type
Mar 01, 2005 10:38 AM|LINK
Conrad
Participant
1137 Points
228 Posts
Re: Unable to create DNSResourceRecord_Type
Mar 02, 2005 03:47 AM|LINK
Agramont Services - (Hosting, MPS, SaaS architecture, Virtualization, and more)
email: conrad (at) agramontservices (dot) com
HMC Control Panels
sn@nasstar.c...
Member
55 Points
11 Posts
Re: Unable to create DNSResourceRecord_Type
Mar 02, 2005 08:37 AM|LINK
sn@nasstar.c...
Member
55 Points
11 Posts
Re: Unable to create DNSResourceRecord_Type
Mar 04, 2005 09:53 AM|LINK