WIndows service with vpn problem

  • Thread starter Thread starter Comcast Mail
  • Start date Start date
C

Comcast Mail

I have a program that will connect web server using vpn. It runs perfectly
if it runs as a stand along program. But it fails to connect to server while
using windows service. The code sample likes

HttpWebRequest aRequest = (HttpWebRequest)WebRequest.Create(uri);


aRequest.GetResponse();

Any one knows why the windows service failed to connect the server via vpn?
Actually I vpn already connected. Just the windows service can not find the
server go through vpn.
 
Chances are it's timing out ... Service intiation is only
given 20 seconds or in some cases less. Time the request
without the VPN connection!

- Rob
 
Back
Top