Moderator: Phil Barton
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>();
What happens if you type that URI into a web browser? Does it recognize a service on the other end (whether it's available or not, e.g. 503 error) or is it unable to find anything?
There may be information logged in the event viewer on your machine that could provide more detailed information as to why the communication isn't happening.
Select uses WCF to communicate between tiers of the system and WCF relies on MSDTC. DTC has to be enabled and allowed through the firewall. Can you connect with the Select client from your machine?
telnet ptmail.premier-Title.com 8081
and I got
Connecting To ptmail.premier-Title.com...Could not open connection to the host, on port 8081: Connect failed
my assumption is that if the firewall settings at the client were correct, I would have gotten some sort of connection, right?
SoftPro tech support confirms that the service is up and running correctly at the client's site and the client's IT person is working on the firewall settings.