U3D connection to SQL Server database error: Unable to connect because the target computer was actively refused.

Source: Internet
Author: User
Tags microsoft sql server 2005 mssqlserver

U3D Connect SQL Server first System.Data.dll the Unity installation directory into the Asset/plugins directory of the project, and then write a script to connect to the database, in the above two steps without error, prompt this mistake, To consider whether the relevant services for SQL Server are turned on, and to enable the TCP/IP protocol in SQL Server Configuration Manager, proceed as followsOpen Start-Program-microsoft SQL Server 2005-configuration tools-sql Server configuration manager--SQL Server 2005 Network configurations C5>-mssqlserver protocol , and then the right-hand window has a TCP/IP protocol, right-click "Enable". The SQL Server (MSSQLSERVER) service is stopped and then started in the start-Program-administration tools-services. The problem is solved!

Reprinted from http://ge19881022ge.blog.163.com/blog/static/152818147201433085543772/

U3D connection to SQL Server database error: Unable to connect because the target computer was actively refused.

Related Article

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.