Question : Visual Studio 2010 - Connection - works only on remote server but not on local computer

I recently moved my SQL 2005 database - running on a Windows Server 2003 to my local computer running on Windows 7 Ultimate 64 bit on to SQL 2008 R2.  The move was successful and queries and all works fine in SQL Server Mananagement Studio.
However, somehow in the Restore I ended up with Windows Authentication rather than the User Name and Password Authentication that is on the production Server.  I figured I didn't need modify the Authentication back to User Name and Password, as I'm just need the database to develope new interfaces in Visual Studio 2010.  I tried to ADD CONNECTION in Server Explorer.  This fails with an error with I hit Test Connection - THIS CONNECTION CANNOT BE TESTED BECAUSE THE SPECIFIED DATABASE FILE DOES NOT EXIST.
Yet I know that it does in   SQL Server Mananagement Studio.
What am I missing?

Answer : Visual Studio 2010 - Connection - works only on remote server but not on local computer

>>  This fails with an error with I hit Test Connection - THIS CONNECTION CANNOT BE TESTED BECAUSE THE SPECIFIED DATABASE FILE DOES NOT EXIST.

Are you sure you try to connect to your local server where the database exists.
Also check whether the database is restored in your local SQL Server or in some other server.
Random Solutions  
 
programming4us programming4us