locked
SMS RRS feed

  • Question

  • User1577815627 posted

    Dear all,

     

    I have developed a windows services for sending SMS,when i run in my environment its working, If i run in remote server.getting a error like"unable to connect t remote server"

    When analysing the issue , the problem is here :

    request = (HttpWebRequest)WebRequest.Create(postData.ToString());

    Stream newStream = request.GetRequestStream()

     

    Kindly help me out of tis issue.

     

    Thanks & Regards,

    V.Revathi

    Wednesday, July 16, 2014 1:12 AM

Answers

  • User1577815627 posted

    I found the Issue,

    this is issue was cleared this way.

    1. open services.msc

    2.  Right click on the service - Properties.

    3. click on Log on tab.

    4.  select this account, click Browse and give the user name and OK.

    5. then password and Ok.

    The issue was solved.as this service rights where given to system admin.

     

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, July 16, 2014 8:46 AM

All replies

  • User1401801381 posted

    hi,

    maybe your server has no access to your sms service

    you can wrap the code that causes the problem in a try/catch and analyse the exception and innerexceptions to get a more accurate message

    Wednesday, July 16, 2014 1:37 AM
  • User1992938117 posted

    Check if your system firewall is blocking this request?

    Wednesday, July 16, 2014 1:37 AM
  • User1577815627 posted

    I found the Issue,

    this is issue was cleared this way.

    1. open services.msc

    2.  Right click on the service - Properties.

    3. click on Log on tab.

    4.  select this account, click Browse and give the user name and OK.

    5. then password and Ok.

    The issue was solved.as this service rights where given to system admin.

     

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, July 16, 2014 8:46 AM