none
Problems adding web reference via https url RRS feed

  • Question

  • Using VS 2010, IIS 7.5, Server 2008.

    In my project, I have used both Web References and Service References for various services that I consume.
    If there had been a change, I would go to the respective link in Solution Explorer and right click Update (or Configure).
    This has recently stopped working for HTTPS although it will work for HTTP. The dropdown boxes are still populated with the successful HTTPS updates from previous success and it is a recent problem.
    Oddly, if I run svcutil.exe from the command line, both HTTP and HTTPS work as they always have. It only seems to be VS 2010 that is having problems. I have also confirmed that VS 2010 from another machine also has the same problem.
    Additionally, Internet Explorer shows no warning and displays data as expected for both HTTP and HTTPS.

    We are unaware of any recent setting changes to SSL or IIS.

    Here is the error for Web Reference:
    There was an error downloading 'https://url.com/path/service.asmx'.
    The request failed with HTTP status 403: Forbidden.
    There was an error downloading 'https://url.com/path/service.asmx/$metadata'

    In the IIS Log:
    GET /path/service.asmx - 443 - IP Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.1008) 403 17 2148204801 15
    GET /path/service.asmx/$metadata - 443 - IP Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.1008) 403 17 2148204801 0

    Here is the error for Service Reference:
    There was an error downloading 'https://url.com/path/service.asmx'.
    The request failed with HTTP status 403: Forbidden.
    Metadata contains a reference that cannot be resolved: 'https://url.com/path/service.asmx'.

    In the IIS Log:
    GET /path/service.asmx - 443 - IP Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.1008) 403 17 2148204801 234
    GET /path/service.asmx/$metadata - 443 - IP Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.1008) 403 17 2148204801 234
    POST /path/service.asmx/mex - 443 - IP - 500 0 0 15
    POST /path/service.asmx - 443 - IP - 500 0 0 15

    We have tested this against against a WSDL file hosted directly on the server as well. 
    That yielded the same results - just replace all of the 'service.asmx' with 'file.wsdl' in the error messages above.

    Hopefully we are overlooking something simple but hours of searching has not yielded anything that will make it work.
    Some of the things we tried were:
    Give IIS write permission to Temp folder.
    Every combination of Require SSL / Don't Require SSL (Accept / Ignore).
    Reinstalling the cert (from trusted CA).

    • Moved by Amanda Zhu Friday, November 22, 2013 8:38 AM
    Thursday, November 21, 2013 10:59 PM

All replies

  • Hi,

    Thank you for your post.

    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System and Visual Studio Editor.

    Because your issue is on Web Services, I suggest that you can consult your issue on WCF, ASMX and other Web Services forum for better solution and support.

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, November 22, 2013 8:37 AM