Hi I am using sql server fulll edition.
any idea how should I solve this issue, I search on net but not found any helpful answer.
Thanks
SQL Server 2005(Full Version) does not support the "user instance"(automatic creation of databases from code) directive in the connection string. Its a feature of sql server express edition.
Also if your connection string has user Instance attribute, then try removing the "User Instance=True;"
Automatic creation of databases from code is a feature of the SQL Express Edition. Try modifying your connection string after having manually created the FOO
database:
server=SERVERNAME;database=FOO;uid=sa;pwd=
User instancing is a feature of Sql Express only and is not available in full Sql Server. You need to construct your connection string to point at the DB server without any USer Instancing defined
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With