Search This Blog

Monday, June 20, 2016

The provided uri did not return any Service Endpoints! {0}" Data[1] in CRM plugin

Error:
System.InvalidOperationException: Data[0] = "The provided uri did not return any Service Endpoints! {0}" Data[1] = "" at 
Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1..ctor(Uri serviceUri, Boolean checkForSecondary) at 
Microsoft.Xrm.Sdk.Client.OrganizationServiceConfiguration..ctor(Uri serviceUri) at 
Microsoft.Xrm.Sdk.Client.ServiceConfigurationFactory.CreateConfiguration[TService](Uri serviceUri) at Microsoft.Xrm.Sdk.Client.ServiceProxy`1..ctor(Uri uri, Uri
 homeRealmUri, ClientCredentials clientCredentials, ClientCredentials deviceCredentials) at RMSystem.MyService.SaveAdditionalRef(clsRegistration reg, ResultSet& 
Cause:
This error is due to memory shortness on the CRM server. CRM automatically shuts down its exposed webservice interface when resources get scarce.

Solution:
There are three steps to solve this issue.


  • Open a connection to the CRM server and open the IIS manager. In here, navigate to the application pools, find the CRMAppPool, right-click it and click Recycle and try again to test app.
  • type iisreset in a command prompt on the server which hosts the CRM website and try again to test app.
  • Reset the Asynchronous processing service(run->type service.msc, Reset Microsoft dynamics CRM Asynchronous processing service) and try again to test app.




No comments:

Post a Comment

Note: Only a member of this blog may post a comment.