简体   繁体   English

Microsoft Dynamics的Discovery.svc

[英]microsoft Dynamics's discovery.svc

I want to connect to microsoft dynamics CRM via tools or code, but every time I try I get this error : 我想通过工具或代码连接到Microsoft Dynamics CRM,但是每次尝试都出现此错误:

the provided uri did not return any service endpoints 提供的uri没有返回任何服务端点

Also when I go to its discovery.svc link I get the following error : 另外,当我转到其Discovery.svc链接时,也会收到以下错误消息:

An error has occurred. 发生了错误。 Try this action again. 重试此操作。 If the problem continues, check the Microsoft Dynamics CRM Community for solutions or contact your organization's Microsoft Dynamics CRM Administrator. 如果问题仍然存在,请检查Microsoft Dynamics CRM社区以获取解决方案或与您组织的Microsoft Dynamics CRM管理员联系。 Finally, you can contact Microsoft Support. 最后,您可以联系Microsoft支持。

I check the IIS binding and its just bind to 5555 for HTTP and 5556 for HTTPS and also the above error occur on server side too, I mean when I go to http://myAddress:5555/XRMServices/2011/Discovery.svc both in server and clients I get the error. 我检查IIS绑定,并将其绑定到HTTP的5555和HTTPS的5556,并且服务器端也发生上述错误,我的意思是当我同时访问http://myAddress:5555/XRMServices/2011/Discovery.svc在服务器和客户端中,我得到了错误。 I cant find any thing that could solve my problem in the internet and I'm stock in this simple problem for several days. 我在互联网上找不到任何可以解决我的问题的东西,而且我在这个简单的问题中待了几天。

I think after I solved my problem this could be useful for somebody. 我认为解决了我的问题之后,这可能对某人有用。 There was two problem first my server has configuration problem and server needs restart to free its memory. 首先有两个问题,我的服务器存在配置问题,服务器需要重新启动以释放其内存。 so it's not bad if you check how memory you are using, and if its possible restart the server. 因此,如果您检查内存的使用方式并可能重新启动服务器,那也不错。

and after that I have a proxy problem that could be fix with creating a file name app.config and writing this lines: 之后,我遇到了代理问题,可以通过创建文件名app.config并编写以下代码来解决此问题:

<?xml version="1.0" encoding="utf-8" ?> 
<configuration> 
    <system.net> 
         <defaultProxy > 
         </defaultProxy>
   </system.net>
</configuration>

Then it'll works fine 这样就可以了

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM