开发者

Connections to SQL Server Files (*.mdf) require SQL Server Express 2005 to function properly

开发者 https://www.devze.com 2023-03-11 21:59 出处:网络
I am trying to add new existing item .mdf database file created in SQL Server Express 2008 R2. When I try that i got error \"Connections to SQL Server Files (*.mdf) require SQL Server Expr开发者_运维

I am trying to add new existing item .mdf database file created in SQL Server Express 2008 R2.

When I try that i got error "Connections to SQL Server Files (*.mdf) require SQL Server Expr开发者_运维百科ess 2005 to function properly."

What I have to do?


Try this:

Jon Gallant's Blog: Solution to the exception: "Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function properly."

Otherwise, these may also help:

  1. ASP.NET: Connections to SQL Server files [...];
  2. Predicate: Connections to SQL Server files (*.mdf) [...].

I do hope this helps! =)


In Visual studio 2010, Change the Sql Server Instance Name as follows:

Tools > Options > DataBase tools > Data Connection > Sql Server Instance Name as blank

0

精彩评论

暂无评论...
验证码 换一张
取 消