Forum Discussion

Sam_Moraza_8610's avatar
Sam_Moraza_8610
Icon for Nimbostratus rankNimbostratus
Oct 26, 2012

Getting current connections error

Trying to get pool members current connections and I get the following error:

 

 

System.InvalidOperationException: There is an error in XML document (252, 79). ---> System.InvalidOperationException: Instance validation error: 'STATISTIC_CONNQUEUE_CONNECTIONS' is not a valid value for CommonStatisticType.

 

...

 

at iControl.LocalLBPoolMember.get_statistics(String[] pool_names, CommonIPPortDefinition[][] members)

 

at Default.refreshMembers() in Default.aspx.cs:line 92.

 

 

 

string[] pool_names = new string[] { pool_name };

 

iControl.CommonIPPortDefinition[][] members = new iControl.CommonIPPortDefinition[1][];

 

members[0] = new iControl.CommonIPPortDefinition[1];

 

members[0][0] = new iControl.CommonIPPortDefinition();

 

members[0][0].address = memAddress;

 

members[0][0].port = memPort;

 

 

Line 92:

 

LocalLBPoolMemberMemberStatistics[] stats =

 

interfaces.LocalLBPoolMember.get_statistics(pool_names, members)

 

Any help is appreciated.

 

Thanks,

 

Sam

 

 

pool_name, memAddress and memPort have correct values.

 

5 Replies

  • Hi Sam, looks like you may be connecting to a higher version of the product than the .Net assembly you are using. In certain situations when new enumeration types are added to a release, and you haven't updated the client library, the client code doesn't know how to convert those types into something native on the client.

     

    What version BIG-IP are you using and which version of the .Net assembly?

     

    Let me know if updating the assembly doesn't fix this issue.

     

    -Joe

     

  • Thanks Joe for responding. I have web app ASP.NET 4.0 using C. BIG-IP version is 11.1.0 Build 2185.0 Hotfix HF4

     

    using iControl 11.1.0.
  • I just downloaded iControlAssembly 11.2.0 and that one worked great.

     

     

    Thanks.

     

    -Sam
  • Xue-Lin_Lin_839's avatar
    Xue-Lin_Lin_839
    Historic F5 Account

    Any matrix we could refer to? v11.2 is higher than v11.1 so the fix done in v11.2 instead of v11.1 HF4.

     

    Thanks

     

  • Xue-Lin_Lin_839's avatar
    Xue-Lin_Lin_839
    Historic F5 Account
    Posted By Joe on 10/29/2012 08:33 AM

     

    Hi Sam, looks like you may be connecting to a higher version of the product than the .Net assembly you are using. In certain situations when new enumeration types are added to a release, and you haven't updated the client library, the client code doesn't know how to convert those types into something native on the client.

     

    What version BIG-IP are you using and which version of the .Net assembly?

     

    Let me know if updating the assembly doesn't fix this issue.

     

    -Joe

     

     

    Any matrix we could refer to? v11.2 is higher than v11.1 so the fix done in v11.2 instead of v11.1 HF4.

     

    Thanks!