Failed to add a service. Service metadata may not be accessible. Make sure your service is running and exposing metadata.`

后端 未结 16 2181
清歌不尽
清歌不尽 2020-12-04 15:42

EDIT:

After I modified the web.config and I don\'t get error that\'s good.... then I add a new page (html) and write this small code to consume the serv

16条回答
  •  臣服心动
    2020-12-04 16:13

    FYI - YOU CAN also get this error from a machine that is not having enough memory free. I got this error on a machine I run with 16 gigs of memory. I had a VM running with 6 gigs and a LOT of memory intensive apps. Close some down and this problem went away.

    I still did get the error in the title of the question of

    Failed to add a service. Service metadata may not be accessible. Make sure your service is running and exposing metadata.`

    I did notice a larger message about memory though in using the WCF Test Client.

    Hope this helps someone else.

提交回复
热议问题