Windows Service network connection

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • George Jin

    #1

    Windows Service network connection

    My windows service program can not connect to the internet. But if it runs
    as a stand along program, it looks perfectly and can connect internet. ANy
    one knows why my windows service can not connect the the internet? and even
    can not resole the host name by dns! following is my code snippet
    HttpWebRequest aRequest = (HttpWebRequest )WebRequest.Cre ate(uri);

    aRequest.GetRes ponse();

    --
    Thanks
    George Jin
    (214) 672 - 7286


Working...