代码改变世界

Sql Server Express 2005提示"failed to generate a user instance of sql server "

2017-01-11 15:48  slmk  阅读(201)  评论(0编辑  收藏  举报

解决方法:

修改连接字符串“Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\mydb.mdf;Integrated Security=True;User Instance=False"