Forum Discussion
Abhijit_Gadkari
Nimbostratus
Dec 13, 2005Trying to integrate F5 with VS 2005
When I tried adding the web reference to VS 05 C windows project
https://1.1.0.5/iControl/iControlPortal.cgi , I got the following error.
Error:
Unable to cast COM object of type 'System.__ComObject' to interface type 'EnvDTE.IVsExtensibility'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3C536122-57B1-46DE-AB34-ACC524140093}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
Basically, I could NOT add the web reference to C project because of this error.
Any help would be appreciated.
Thanks.
3 Replies
- This is very bizarre. I'm seeing this as well and it seems to stem from the fact that the url for the selected wsdl is coming from a HTML page that we return with a listed set of available WSDL files. I've verified that this is also the case for other (non-F5) wsdl files when referenced from inside the "Add Web Reference" dialog.
If you specify the entire path for the WSDL file in the first request within the Add Web Reference dialog, then the import seems to work successfully.
This looks to me like a VS2005 bug.
Try entering the following url in the "Add Web Reference" dialog and see if it works:
https://1.1.0.5/iControl/iControlPortal.cgi?WSDL=System.SystemInfo
You can replace the System.SystemInfo with whichever module and interface you are interested in. All of which are available from the WSDL listing page in the iControl portal (https://1.1.0.5/iControl/iControlPortal.cgi).
Alternately, you can use the WSDL command line tool included with VS.NET (that's how we build all our sample code). You'll just have to have the SDK (or copies of the WSDL from the servers).
Let me know if this works for you.
-Joe - Abhijit_Gadkari
Nimbostratus
Yes. This fix works.
I have posted this issue with MS PM. Waiting for the response from MS. Also, with C 2.0, lot of things has changed, so it would be great if the code samples are updated for the same.
Thanks. - Please post here on any status you find as I'm sure it will be beneficial to other users as well.
As for updates in the samples, what specifically are you looking for. We just released v9.2.2 of the SDK but we don't "officially" support VS2005. We've verified that it works but haven't updated all our sample code to the new project and solution formats.
-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
