Failed to communicate with the server
Posted: Fri Mar 16, 2012 2:12 pm
I'm getting the following error:
Failed to communicate with the server. Check your network settings and ensure the server is running.
The error occurs on the line highlighted below. The URI has been confirmed by the client and they believe that the firewall settings are correct, but I have no direct control over that.
// Create the server object. Note the use of the constant to define custom login.
NetworkCredential credential = new NetworkCredential(username, pwd, SoftPro.ClientModel.Constants.ServerDomain);
SelectServer server = new SelectServer(null, new Uri("http://ptmail.premier-Title.com:8081"), credential);
//SelectServer server = new SelectServer(null, new Uri(@"http://ptmail.premier-Title.com:8081"));
// Create the order tracking client
SoftPro.OrderTracking.Client.OrderTracking ot = server.GetService<SoftPro.OrderTracking.Client.OrderTracking>();
Failed to communicate with the server. Check your network settings and ensure the server is running.
The error occurs on the line highlighted below. The URI has been confirmed by the client and they believe that the firewall settings are correct, but I have no direct control over that.
// Create the server object. Note the use of the constant to define custom login.
NetworkCredential credential = new NetworkCredential(username, pwd, SoftPro.ClientModel.Constants.ServerDomain);
SelectServer server = new SelectServer(null, new Uri("http://ptmail.premier-Title.com:8081"), credential);
//SelectServer server = new SelectServer(null, new Uri(@"http://ptmail.premier-Title.com:8081"));
// Create the order tracking client
SoftPro.OrderTracking.Client.OrderTracking ot = server.GetService<SoftPro.OrderTracking.Client.OrderTracking>();