The basic connection has been closed when WebService is called.

Source: Internet
Author: User

Scenario:

. Net Windows service calls remote WebService. If the basic link is disabled, you can directly access WebService through IE,ProgramThe call is always good or bad, and it's weird. I tried many methods on the Internet, but none of them worked.

Solution Process:

It took about an hour to download a software on that server yesterday. I found that the basic connection was disabled during the hour, this is a situation. Is it because of the network connection of the server? So I tried to keep surfing the Internet on the server and found that the program had no problem of closing the basic connection. Then, the problem appeared again without accessing the Internet. I have never encountered this problem before. Can the server set the corresponding Internet access mode? When I access the Internet, the connection is enabled. When I do not access the Internet, the connection is closed? Which of the following friends can help me answer this question?

Solution:

The problem may be caused by the server configuration. If a solution cannot be found for the moment, you have to simulate regular web page access with webbrowser so that the server remains in the network connection state for a long time.

Hope someone can help me solve this problem...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.