Remote name not resolved exception

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

We have an application that works in several hospitals. At one hospital
when the exe tries to connect to our website (using a WebRequest object)
they receive a "Remote name could not be resolved" exception when
Passthrough in ActiveSync is set to Internet and a "407 Proxy Auth req"
error when Passthrough is set to Work.

Any ideas?
 
Mike,

Are you always using ActiveSync when you get the error?
When I debug my application that communicates with a web service through
ActiveSync I have to supply some proxy credentials.

Don't know if this is the same problem, just a thought.

Chris.
 
The proxy server may requirs Authenticatoin to logon itself

use NetworkCredential to set username and password

System.Net.WebRequest MyReq;
MyReq.Credentials = new System.Net.NetworkCredential("UserName","Password");
MyReq.Proxy = new System.Net.WebProxy("host",port number);
......

bye
Prakash
 
Back
Top