Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a VB.NET application which uses SQL Server Express 2008. This application could have any number of users. One user will be the server, so there won't be any problem in connecting (.\SQlExpress). But other users have to access the database through LAN, where I couldn't connect. I have given \SQLExpress (should I try with the IP address of server?). I get an error. Why?

We are not giving them SSMS, only SQL Server Express.

Code used to connect is VB.NET.

share|improve this question

migrated from Nov 6 '11 at 19:18

This question came from our site for professional and enthusiast programmers.

Welcome, prabal! I've voted to close because this is a question regarding setting up SQL Server, not software development. I have, however, posted an answer. – Adam Robinson Nov 6 '11 at 17:25
Hi, I've also voted to close as the question's not quite right for SO - If you have more questions like this in future, try Server Fault. That said, welcome! – Basic Nov 6 '11 at 17:45

By default, SQL Server express is not configured to allow for connections from other computers. In order to do this, you'll need to access the SQL Server configuration snap-in and enable TCP/IP connections. You'll also need to ensure that the firewall on that computer is configured to allow connections to SQL Server.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.