Dear All,
I am writing the plugin in VPC. I am getting an error when i click connect in plug-in registration tool2.2 version even i entered the correct details. The error is
" Unable to connect the Discovery service"
Error Description
Unhandled Exception: System.Net.WebException: Unable to connect to the remote server
at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at PluginRegistrationTool.CrmSdk.Discovery.CrmDiscoveryService.Execute(Request Request)
at PluginRegistrationTool.CrmConnection.RetrieveOrganizations()
at PluginRegistrationTool.ConnectionsForm.OpenConnection(CrmConnection con)
Inner Exception: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 192.168.0.50:50
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
I have entered all the correct values.Before that it was worked.Right now it is giving an error.
Details
Discovery Server:CRM-SRV-01
port :50(this is localsdkport value in registry)
Domain:Contoso
username:administrator
Please anybody gives the solution. I strucked this point.
I am looking for your responses.
Thanks & Regards,
Sudhakar.
Thanks & Regards, Sudhakar