Click here to Skip to main content
16,017,207 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi i am developing window application through vs 2008 and sqlserver 2008. its running perfectly in my system. but. i need to install and access my application to multiple system. so i put one system as server. i installed sql server in my server only. its running perfectly by (local). but i cannt access Db through LAN
Here is my connection string

Data Source=MyServer;Initial Catalog=SampleDb;User ID=sa;Password=abc
.

Its not working through LAN. Is any configuration in sqlserver product. help to resolve it.
Posted

1 solution

Hi,

First of all, you need to check several things:
1. Is TCP / IP enabled in SQL Server Configuration?
2. Is Windows Firewall not blocking SQL Server port?
3. Are remote connections enabled in SQL Server Management?

Please refer to this post:
SQL Server Manager can not connect to a remote database[^]
 
Share this answer
 

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