7

I am calling a web service from .net development environment located on my company's server. Everything was working fine until yesterday and it was returning correct data. However, today it suddenly gives me an error "Unable to connect to remote server". I entered the service URL in the browser, and that works fine. Does anybody have any idea what this problem could be about?

5
  • 7
    How does it feel to have posted the 3,000,000th question on SO? Apr 27, 2012 at 15:55
  • 2
    Congratulations on the 3M post!!! Apr 27, 2012 at 15:55
  • 1
    @ThePower I've just posted 33 questions so far!
    – neuDev33
    Apr 27, 2012 at 17:37
  • 1
    @neuDev33 ThePower meant that your 33-rd question became Stack Overflow's 3000000's.here is the link. Apr 27, 2012 at 17:46
  • 1
    @dasblinkenlight Oh I see, didnt know that! Yayy i guess!!
    – neuDev33
    Apr 27, 2012 at 17:47

2 Answers 2

3

First thing that comes to my mind is that the proxy configuration is now different between your application and your browser. Alternatively, it could be an antivirus program running on your machine that had its configuration updated.

2
  • Thanks, any suggestion on how to get around it?
    – neuDev33
    Apr 27, 2012 at 17:55
  • If you don't have permissions to change things, then most likely there's nothing you can do without your admin's help. At least try to confirm what the problem is. If there's an antivirus (or firewall) then check its log (usually accessible) for your activity and your browser activity; good to compare. Check your browser's proxy information; and ultimately engage someone in the networking department to help you understand what changed overnight. Apr 27, 2012 at 18:24
0

Just delete the webservice from app reference and re add.. it will work again.the error happens just because port number of webservice changed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.