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

vensali
vensali used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
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.

Author

Commented:
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.
Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

ǩa̹̼͍̓̂ͪͤͭ̓u͈̳̟͕̬ͩ͂̌͌̾̀ͪf̭̤͉̅̋͛͂̓͛̈m̩̘̱̃e͙̳͊̑̂ͦ̌ͯ̚d͋̋ͧ̑ͯ͛̉Glanced up at my screen and thought I had coded the Matrix...  Turns out, I just fell asleep on the keyboard.
Most Valuable Expert 2011
Top Expert 2015

Commented:
Is the dongle provided by the website?
Commented:
Sorry for the late reply. actually it was found to be rights issue  for service. i gave local administrator rights to windows service and is working fine.

Author

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

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial