Azeem ahmad
Azeem ahmad

Reputation: 591

Service metadata may not be accessible

I am trying to run my project.I am getting this error "Failed to add a service. Service metadata may not be accessible. Make sure your service is running and exposing metadata".enter image description here

Upvotes: 1

Views: 87

Answers (1)

Serve Laurijssen
Serve Laurijssen

Reputation: 9763

add this endpoint to your application.config file:

    <services>
      <service .....>
        <endpoint binding="mexHttpBinding" bindingConfiguration="" name="mexService" contract="IMetadataExchange" />
        <endpoint ...... the usual endpoints />
      </service>
</services>

Upvotes: 2

Related Questions