Question

I want to connect to microsoft dynamics CRM via tools or code, but every time I try I get this error :

the provided uri did not return any service endpoints

Also when I go to its discovery.svc link I get the following error :

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. Finally, you can contact Microsoft Support.

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. I cant find any thing that could solve my problem in the internet and I'm stock in this simple problem for several days.

Was it helpful?

Solution

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:

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

Then it'll works fine

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top