1
I developed a C# application that uses SQL Express that initially the bd and the application were installed on a single machine. The client now needs the comic to be available from another computer on the network. I installed SQL express on the "other" machine and changed the Connection string to :
connectionString = "Data Source = 192.168.1.xx\SQLExpress,1433; Integrated Security=SSPI; Initial Catalog = baseDados;"/>
where 192.168.1.xx is the IP of the machine where the database is located. Tcp/Ip is enabled.
This is enough to make the connection ?
Trying to access program/database gives error :
"...Provider: TCP Provider, error 0 - A connection attempt failed because the connected component did not respond correctly after a period of time, the established connection failed because the connected host did not respond"
Can someone give me a hand?
Have you checked the firewall? By default some versions of SQL come with TCP protocol disabled.
– rubStackOverflow
yes, I also disabled the firewall on both computers..
– losorio