Help with get_netmask

I’m having a problem with the get_netmask method within the SelfIP interface.

I’m using the following code:

//The following three lines work fine

string[] str_iplist = iSelfIP.get_list();

string str_IP = "ip: " + str_iplist[0];

string str_VlanName = "Name: " + iSelfIP.get_vlan(str_iplist[0]);

//The next line produces an error:

long l_IPMask = iSelfIP.get_netmask(str_iplist[0]); //errors

Error

An unhandled exception of type ‘System.InvalidOperationException’ occurred in system.xml.dll

Additional information: There is an error in XML document (12, 42).

Does anyone have any ideas?

Thanks,

Tony

Tony, could you post this to the appropriate iControl forum (4.x for BIG-IP v4.x and 9.x for BIG-IP v9.+

Also, if you could specify which version of BIG-IP you are using that will help with the diagnosis.

-Joe