简体   繁体   English

服务元数据可能无法访问

[英]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". 我正在尝试运行我的项目。我收到此错误“添加服务失败。服务元数据可能无法访问。请确保您的服务正在运行并公开元数据”。 在此处输入图片说明

add this endpoint to your application.config file: 将此端点添加到您的application.config文件中:

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 服务元数据可能无法在WCF中访问 - Service metadata may not be accessible In WCF 添加服务失败。 服务元数据可能无法访问 - Failed to add a service. Service metadata may not be accessible WCF:无法添加服务。 服务元数据可能无法访问 - WCF:Failed to add a service. Service metadata may not be accessible WcfTestClient:添加服务失败。 服务元数据可能无法访问 - WcfTestClient: Failed to add a service. Service metadata may not be accessible 添加服务失败。 服务元数据可能无法访问。 确保您的服务正在运行并公开元数据 - Failed to add a service. Service metadata may not be accessible. Make sure your service is running and exposing metadata 添加服务失败无法访问服务元数据。 错误:无法从http:// localhost获取元数据: - Failed to add a service Service metadata may not be accessible . Error: Cannot obtain Metadata from http://localhost: 运行WCF服务获取错误添加服务失败。 服务元数据可能无法访问 - Run WCF service getting error Failed to add a service. Service metadata may not be accessible WCF测试客户端:无法添加服务。可能无法访问服务元数据。确保您的服务正在运行并公开元数据 - WCF Test Client : Failed to add a service. Service metadata may not be accessible. Make sure your service is running and exposing metadata WCF无法添加服务。 可能无法访问服务元数据。 确保您的服务正在运行并公开元数据 - WCF Failed to add a service. Service metadata may not be accessible. Make sure your service is running and exposing metadata 添加服务失败。 服务元数据可能无法访问。 确保您的服务正在运行并公开元数据。 WCF错误 - Failed to add a service. Service metadata may not be accessible. Make sure your service is running and exposing metadata. WCF Error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM