I think you are asking about Server name which is required to connect to SQL Server from Visual Studio...
I have already posted the some sort of solution in previous posts...
Do you have SSMS(SQL Server Management Studio)? If YES then you can run the following query
Any way post the output of following query.. then I will tell you the connection string
SELECT @@VERSION, @@SERVERNAME, @@SERVICENAME
SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')
NOTE: Refer this link to resolve your issue....
http://blog.sqlauthority.com/2007/04/23/sql-server-fix-error-40-could-not-open-a-connection-to-sql-server/Raja_89, if this helps please login to Mark As Answer. | Alert Moderator