LocalDB Connection Failed

Source: Internet
Author: User

Recent project attempt to abandon sqlexpress2005 use LocalDb2014, encountered problems: LocalDB installation success, can normally add instances, but the same WinForm program on different Win7 computer some can connect, and some how can not be connected to the database, The exception will pop up: (Provider:sql Network Interfaces, error:26–error locating server/instance Specified). there is very little information on the web, and there is a website explaining the problem. https://blogs.msdn.microsoft.com/sql_protocols/2007/05/13/ sql-network-interfaces-error-26-error-locating-serverinstance-specified/. But it doesn't seem to apply to localdb.

The operating system I tested was Win7, and I tried to find out that installing the SQL Management tool Sqlmanagementstudio (which I had 2014) (which required Win7 SP1) could be connected, but it was cumbersome. Inconvenient to install on customer's computer. Discover the installation with the constant attempts of colleagues. Net4.5 can also be connected, very happy. The official web site does not indicate the need. net4.5 environment, I understand that there may be an update in net4.5 that solves this problem.

LocalDB Connection Failed

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.