Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function properly. Error in Visual Studio 2008…

In VS 2008 Menu select Tools and from the Options window, select Database Tools > Data Connections.

Make sure the SQL Server Instance Name(blank for default) – is set to the instance of SQLExpress installed.

You may leave this blank if only one instance is installed