How to connect other pc to database SQL server 2008? I created C# Login form in my PC and it works properly, but when I try to my another PC in LAN I can't login is gives an error "A network-related or instance-specific error occurred while establishing a connection to SQL server". I tried to find a solution but no luck.
This is my sqlconnection object:
SqlConnection conn = new SqlConnection(@"Data Source=jason-PC\SQLEXPRESS; Initial Catalog=db_Lan; User Id=wew; Password=password;");
I have also enabled TCP/IP
and remote.
I hope you can help me because I am a beginner.