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?
-
7How does it feel to have posted the 3,000,000th question on SO?– Lloyd PowellApr 27, 2012 at 15:55
-
2Congratulations on the 3M post!!!– Sergey KalinichenkoApr 27, 2012 at 15:55
-
1@ThePower I've just posted 33 questions so far!– neuDev33Apr 27, 2012 at 17:37
-
1@neuDev33 ThePower meant that your 33-rd question became Stack Overflow's 3000000's.here is the link.– Sergey KalinichenkoApr 27, 2012 at 17:46
-
1@dasblinkenlight Oh I see, didnt know that! Yayy i guess!!– neuDev33Apr 27, 2012 at 17:47
2 Answers
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.
-
-
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
Just delete the webservice from app reference and re add.. it will work again.the error happens just because port number of webservice changed.