Forum Discussion

Derek_Powell_73's avatar
Derek_Powell_73
Historic F5 Account
Mar 27, 2006

Issues with Visual C# Express

Hi All,

 

 

I'm a bit stumped... I've just installed Visual Studio C express and loaded up a couple of the iControl SDK samples which work fine. However when I try to follow the video example of adding a "Web Reference" to a new project, I get all the way through authentication etc but when selecting the method/service I get the following error message in the box on the right hand side entitled "Web services found at this URL:"

 

 

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)).

 

 

Have I missed a step in installing SDK or is there some setup I need to do to define the interface ID's before adding the web reference.

 

 

Kindest regards

 

 

Derek

 

3 Replies

  • If you are referring to the error when trying to import the WSDL via a Web Reference, then this issue has been around since VS2005 first shipped. I'm not sure how this one made it past testing.

     

     

    Assuming you are talking about importing the WSDLs, the issue comes when you try to browse to our WSDL list on the BIG-IP and then try to click on the specific WSDL you are interested in. This is where I've seen the error in the past. To get around it, if you type in the full URL to the requested WSDL file in the original Web Reference dialog, the error doesn't seem to show itself.

     

     

    Another option is to download the WSDL to your workstation and run the wsdl.exe command line tool to parse the file and build the client bindings. This is what we've done for all the samples in the SDK. If you look in the wsdl directory in each project, there is a script file that does the same thing that the Web Reference dialog does under the covers.

     

     

    Hope this helps...

     

     

    -Joe

     

  • Derek_Powell_73's avatar
    Derek_Powell_73
    Historic F5 Account
    Hi Joe,

     

     

    Thanks for the response, I guess we are talking about the same problem, do you have an example of a full WSDL url as i've tried a few different ones including

     

     

    https://x.x.x.x/iControl/iControlPortal.cgi?WSDL=LocalLB.NodeAddress

     

     

    and

     

     

    https://x.x.x.x/iControl/iControlPortal.cgi?WSDL=LocalLB.NodeAddress.wsdl

     

     

    But I'm still getting the same error message. I will also try the manual method.

     

     

    Many thanks

     

     

    Derek

     

     

     

  • I'm not sure about the express versions of the products, but I've tested web reference integration with the full blown versions and the functionality works (if you specify the full URL on the first request).

     

     

    If VS can't load a web reference from a ssl based source, then this is really a VS issue, not one with our iControl. I'd suggest contacting MS product support for some assistance...

     

     

    One thing, did you do a full install of the product? Could be that something wasn't fully installed. That's the first place I would look.

     

     

    Anyone else out there had any luck with the express versions of .NET? If I can find a spare machine to load it on I'll give it a try and see what I find.

     

     

    -Joe