我将这个连接字符串用于 SQL Server Professional。没关系...
<add name="bd1" connectionString="Provider=SQLOLEDB.1;
Data Source=10.180.0.2;
User ID=sa;
Password=1234;
Initial Catalog=aa" />
但是当我更改为 SQL Server Express 2008 时。不起作用。
字符串连接
<add name="bd1" connectionString="Provider=SQLOLEDB.1;
Data Source=10.180.0.8;
User ID=sa;
Password=1234;
Initial Catalog=aa" />
我有这个错误
[DBNETLIB][ConnectionOpen (Invalid Instance()).]Invalid connection.