There was an error downloading metadata from the address

前端 未结 10 1381
情歌与酒
情歌与酒 2020-12-16 22:21

I am trying to add service reference.

There was an error downloading metadata from the address

this is the error which is being displayed again and again?

相关标签:
10条回答
  • 2020-12-16 22:43

    Another possibility in this situation is that there is no endpoint listening. I.e., the service you are trying to add isn't "up". I made this mistake when trying to add a reference to a WCF service I was working on, but I forgot to Open it.

    0 讨论(0)
  • 2020-12-16 22:47

    I know this is an oldie, but I thought I would add what worked for me so that I can find it again down the road ;)

    In my case, the AppPool user didn't have access the %Windir%\temp, which apparently is necessary in order for the MEX data to be generated.

    Shout out to Amy Peng in this thread for her tip!

    0 讨论(0)
  • 2020-12-16 22:51

    You may also just need to build / rebuild the project.

    0 讨论(0)
  • 2020-12-16 22:51

    Check IIS is serving the service URL. In my case, I had changed my Windows password, but had forgotten that these credentials were being used by IIS in both the application and the app pool.

    0 讨论(0)
  • 2020-12-16 22:52

    It was happening the same to me and I found that I've had forgotten to add the "Service Contract" and the "Operation Contract" annotations on the interface of my WCF service

    0 讨论(0)
  • 2020-12-16 22:52

    Just try to Build the project without any error and give service reference again.

    0 讨论(0)
提交回复
热议问题