Cannot connect to sql database using Config app tool.

Topics: Building and extending application blocks, Data Access Application Block
Oct 14, 2007 at 8:11 PM
hi All

I'm new comer , the first time to work with Ent lib , I try to use modify sql connection string using configuration application tool integrated in Visual Studio against sql server 200 , I got this error .


I don't know how to solve my problem , someone please help me to overcome this problem .

Thanks in advance .
sorry for my poor English , I'm a Vietnamese student .
Oct 22, 2007 at 10:45 PM
What does your connection string look like? I think you're trying to do something SqlServer 2000 doesn't support. You would get the same error regardless of the tool you use to access it.

Oct 23, 2007 at 3:31 AM
Thanks fsimonazzi for replying .

I don't know that Ent Lib doesn't support SQL 2000, but I can connect to Northwind database in SQL 2000 .
Here is my SQL connection which connect to Northwind database .
<add name="_LocalSqlServer" connectionString="Data Source=.;Initial Catalog=Northwind;User ID=sa;Password=852456****258654;User Instance=False"
providerName="System.Data.SqlClient" />

I got the problem as above because I set User Instance property in my sql Connection = True . Now my problem have solved , but I'm not good at using Ent Lib 3.1 .

Thanks & Regards,
QuachNguyen (VN)
Oct 25, 2007 at 5:28 AM

This is not an issue of entlib not supporting SQL 2000, but instead that SQL 2000 does not support the feature you're requesting in your connection string. This feature is supported by SQL Server 2005 Express (see

Oct 25, 2007 at 7:42 AM
Thanks fsimonazzi for your replying , now I understand .