Stan.Wingu
Stan.Wingu

Reputation: 11

There was an error downloading metadata from the address. Please verify that you have entered a valid address

I have created a solution in Azure which consumes a WCF service. My problem is that I can't add a service reference. It gives me the error:

There was an error downloading metadata from the address. Please verify that you have entered a valid address.

Why am I getting this error?

Upvotes: 0

Views: 2752

Answers (1)

Steve Konves
Steve Konves

Reputation: 2668

I know I'm late to the party, but for the sake of people from the furture, here's what we've figured out so far ...

If you want to find the exact error being thrown, you can set includeExceptionDetailInFaults to true.

In your service's web.config:

<!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
      <serviceDebug includeExceptionDetailInFaults="true"/>

Note: this will not solve the problem, but will let you know exactly what is causing it.

Another note: I stole the opening line from xkcd.

Upvotes: 1

Related Questions