Forum Discussion
ilya_f_132450
Nimbostratus
Aug 27, 2013Error “01020020:3: The text string cannot be converted to an IP address.” when trying to create Virtual Server with C#.
Hello!
I am very new to F5 API, actually first I day I tring it. I cannot create Virtual Server. I found few posts related to the same error, but they are connected either to PowerShell or other lang...
Aug 28, 2013
I'm thinking that the error may have come from using a wildcard in the wildmasks array. I believe you have to use dot notation for the wildmask (in your case 255.255.255.255 for a value). Most likely the code is trying to do a internal call to inet_addr("*") returning that error.
Here's a sample I wrote a while back in PowerShell (similar to the C code you'd be writing) that does a VirtualServer create.
https://devcentral.f5.com/wiki/iControl.PsProvisionVEForLocalDev.ashx
Hope this helps...
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects