Forum Discussion
Lane_Schafer_55
Nimbostratus
Mar 31, 2006iControl web referance error in VS 2k5
Hey, i keep getting an error in VS 2k5 when trying to add the iControl url https:///iControl/iControlPortal.cgi? that says this
"Unable to cast COM object of type 'System.__ComObject' to in...
Apr 06, 2006
This seems to be a common issue that people have reported with VS.NET. The EnvDTE control seems to be a internal extensibility component of VS. This seems to be a bug with VS.NET. I've worked around this by typing the full url to the WSDL the first time in the web reference wizard. For some reason in my install, browsing to our WSDL listing and then clicking on a WSDL file will result in this error but fully specifying the WSDL file on the initial request will work. But, we've had customers using the Express versions of VS that say neither method works.
The only other option is to go with the manual route. VS.NET comes with a command line tool (wsdl.exe) to parse wsdl documents into C or VB classes. You can either get the WSDL from the BIG-IP directly via a browser or from the SDK. Place it in your project directory, use WSDL.exe to create the client bindings, and then add it as an existing file to your project. Kind of a pain I know, but until MS comes out with a fix for this, there may not be any other option.
-Joe
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