About how the. NET 2.0 program connects to SQL Server 2 K

Source: Internet
Author: User
. NET 1.1 and 2.0 are installed on machines A, B, and C in the same LAN.
Where a is installed with SQL Server 2 K, B and C are not installed with SQL Server 2 K, but C is installed with SQL Server 2005 Express
The same ProgramAfter. NET 1.1 is compiled, the SQL Server 2 K of machine A can be accessed during A, B, and C operations.
After. NET 2.0 is compiled, you can access SQL Server 2 k in a, but not in B, but in C.
Which of the following heroes has encountered this situation? How to do this so that the program in B can also access SQL Server 2 K of

2006-2-23:
After the test, the problem is solved. It's a port problem. It's so depressing!
I thought that when I was studying Oracle, the client was always unable to connect to the server. After a few days of being depressed, I finally turned off the firewall. This time I did not expect a similar problem.
However, I still don't understand why the 1.1 compiled program can access the database without opening the port.

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.