Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to do database connection using sql server database. i am doing this connectivity in visual basic ASP.NET2010, after right click on the database connection CREATE NEW SQL SERVER DATABASE window is open, here i want to give server name.

i given the server name as .\SQLEXPRESS and my database name as minedb. but it wont accept.

so what is the sql server name... please help me
Posted
Comments
joginder-banger 10-Dec-13 5:23am    
try to .(dot).
. it's working in windows based security.

Check the instance name which is available and running in windows services (instance name is given by you while installation of sql server)

For Ex: server name(computer name or IP)\instance name,port

Note: If it is default port (1433), no need to mention
 
Share this answer
 
v2
Hi,

Just use . or localhost in the database dropdown all the databases will come.
 
Share this answer
 
Hi,

Data Source=.

Data Source=System Name(eg: SUBBARAO-PC)

Try this once
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900