Avatar of vensali
vensali
Flag 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.
Visual Basic.NETRemote Access

Avatar of undefined
Last Comment
vensali

8/22/2022 - Mon
krishna kishore mellacheruvu venkata

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.
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.
krishna kishore mellacheruvu venkata

do one thing configure the ip address with the same name in your hosts file and try.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
kaufmed

Is the dongle provided by the website?
ASKER CERTIFIED SOLUTION
vensali

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
vensali

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