Interview Question in Sql Server 2005


 

Interview Question :: SqlExpress verification

Hi,
I uninstalled and reinstalled SqlServer 2005, Visual Studio .Net 2005, and SqlExpress because I thought it might help with another problem I was having.

Now when I try add a new db in a VS project, I get this message: "Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function properly. Please verify the installation of the component or download from the URL:..."

I checked "Services" , both MSSQLSERVER and MSSQLEXPRESS are running.

I can go through SQL Server Management Studio and connect to both through Windows Authentication.

I checked Add/Remove, SqlExpress is not listed there.

What do I need to do to make the connection through Visual Studio?
by ksk