Connection SQLServer2005 failed--[MICROSOFT][ODBC sql Server Driver][dbnetlib] General network error. Please check your network documentation

Source: Internet
Author: User
Tags sql server driver odbc sql server driver

Connection SQLServer2005 failed with error message:

Error type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft] [ODBC SQL Server Driver] [DBNETLIB] General network error. Please check your network documentation.

My connection string is: Driver={sql Server}; Server=192.168.10.139;database=testfax; uid=sa;pwd=xxxx;

Oddly enough, I will be able to connect to the server (local) or native name (Pcwhat), but the IP is not connected, even if writing 127.0.0.1 is unsuccessful.

Then finally found the answer on the Internet, because the TCP/IP protocol is not enabled (by default is disabled), so as long as the start of this protocol can be, see:

After this configuration, the other computer can be connected to the database through the IP address, do not believe it try it!

Connection SQLServer2005 failed--[MICROSOFT][ODBC sql Server Driver][dbnetlib] General network error. Please check your network documentation

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.