Host table and Terminal Service

Source: Internet
Author: User
Two errors have plagued the creation of web service with vs2005 in the past two days:

=> [Error 1]: the website has been redirected in the host table.

Method: The hosts table file is stored in the system. Windows 9x is stored in the C: \ Windows directory. Windows NT/2000 is stored in C: \ winnt \ system32 \ drivers \ etc directory. Windows XP is saved in c: \ windows \ system32 \ drivers \ etc. If not found, you can search by using the system's search tool. After finding it, open it directly with notepad, and delete all the content of other lines except the beginning of "#", for example, "127.0.0.1 onlinestore.smgbb.cn ", click Save to save the file. Of course, you can also choose to delete websites that are blocked and you want to access, so that other blocked websites will not be affected.

=> [Error 2]: start debugging:
Unable to attach. The binding handle is invalid.
[Method]: simply enable the terminal service in the control panel, performance maintenance, management tools, and services.
Sadly, my newly installed XP did not change the service, and there was also a remote item in my computer \ attributes. I did not find any feasible method for searching through the Internet.

However, start without debugging and view in browser of the. asmx file can be displayed normally. Probably because they are not fully debugged.

In addition, if http: // localhost/WebService exists directly during Web Service creation, the system prompts the serviceProgramAn error occurs, probably because the local server is not properly configured.
If D exists, the disk is displayed normally.

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.