During this week, I was busy upgrading the code from. net1.1 to. net2.0, and encountered many problems. Now I want to report an urgent issue about SqlConnection. It took me a whole day to find out this problem. If the database server is local, SqlConnection can be connected successfully. If the database server (I tested Sq
This week, I was busy upgrading the code from. net 1.1 to. net2.0, and encountered many problems. Now I want to report an urgent issue about SqlConnection. It took me a whole day to find out this problem. If the database server is local, SqlConnection can be connected successfully. If the database server (I tested Sq
This week, I was busy upgrading the code from. net 1.1 to. net2.0, and encountered many problems. Now I want to report an urgent issue about SqlConnection. It took me a whole day to find out this problem.
If the database server is local, SqlConnection can be connected successfully.
If the database server (I tested Sql2000 Sp4) is not local, the connection may be successful or fail. The result depends on the operating system running on the database server.
Only when the operating system is Win2003, The SqlConnection connection is successful. For other operating systems, the SqlConnection connection fails.
This situation does not exist in. net 1.1, but I have not seen any instructions in. net 2.0 SDK. If you change SqlConnection to OleDbConnection, almost all database servers on the platform (in fact, only Win2003 is tested, and WinXp SP2) can be connected successfully.
I wonder if there is any solution!