HTTP 401 RRS feed

  • Question

  • Hello all,

    I'm currently getting this error and could not get a solution for it.

    The exact error message is :

    Metadata contains a reference that cannot be resolved: 'http://localhost:33333/CustomAuthenticationDataService.svc'.
    The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was ''.
    The remote server returned an error: (401) Unauthorized.
    If the service is defined in the current solution, try building the solution and adding the service reference again.

    With Best Regards Dipayan Sukul

    Thursday, February 7, 2013 5:35 PM


  • Hi,

    It looks like you don't have permission to access the service metadata. I would like to know what kind of authentication you have used. If the only purpose is to add a service reference, you can turn off security settings, add the service reference, and then turn on security settings again.

    Best Regards,

    Ming Xu.

    Ming Xu
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Haixia_Xie Thursday, February 14, 2013 10:09 AM
    Friday, February 8, 2013 10:37 AM