Link to home
Start Free TrialLog in
Avatar of vensali
vensaliFlag for India

asked on

Not able to connect to external website www.smscountry.com from windows service (The remote name could not be resolved)

the said website can be connected through windows forms application. i am able to open through browser.

 when i connect to internet through dongle, i can connect to the said sms gatewary (smscountry.com) and send sms from windows service application.

but when the same service is connected through office lan ( internet through proxy server) , i am getting the above error message.
however i am able to open Smscountry.com through webbrowser and windows forms application

I feel it is definitely has to to do with proxy settings.  how  can i resolve this.
Avatar of krishna kishore mellacheruvu venkata
krishna kishore mellacheruvu venkata
Flag of India image

did you try to remove the proxy settings? Although this may be the security feature added in your Office lan.

If yes, then please speak to your administrator to resolve this, if it is a work impacting.
Avatar of vensali

ASKER

if i remove proxy settings, internet will not work.  i am sure  that it has to do with proxy server settings. but what exactly can ask  administrator to look into. Because, the website is opening in browser and through the same sms gateway, i can send the sms through windows forms application. only through windows service i am getting this error.
do one thing configure the ip address with the same name in your hosts file and try.
Is the dongle provided by the website?
ASKER CERTIFIED SOLUTION
Avatar of vensali
vensali
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vensali

ASKER

actually it was found to be rights issue  for service. i gave local administrator rights to windows service and is working fine.