Click here to Skip to main content
15,905,420 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i install sql server in pc1, and i have 5 PC i want make my program work in the 5 pc and connect with the sql server in pc1.

when i build my program i user local host (.).

this is connection string ="Server= .; Database= WhiteWhaleDB; Integrated Security = true"

What I have tried:

How i connect with sql server from another pc
Posted
Updated 22-Sep-16 0:25am

"Data Source=ipaddress,1433;Initial Catalog=database;Integrated Security=False;Connect Timeout=30;user ID=username;password=password" use this connection string along with below configuration.

Turn off the firewall on both machines.
Enable SQL Authentication on SQL Server
 
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