question

mksmata avatar image
mksmata asked

SQL Express Connection error on network

Dear Friends, I have a windows server 8 and installed Sqlserver 2008 Express on server. its Ip address is 192.168.1.12, subnet mask is 255.255.255.0 and gateway 192.168.1.13 and pref DNS is 218.248.255.162 and alternet DNS is 218.248.255.163. I have a database offlinework on it and create login test1 with sql authentication. Now i want to connect its database from another machine having win xp prof sp 2 ver. and its ip is 192.168.1.15 and pref DNS is 192.168.1.12 and rest settina same as server. when i try to connect this database system gives erro =================================== Cannot connect to 192.168.1.12. =================================== A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
sql-server-2008
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

sqlaj 1 avatar image
sqlaj 1 answered
Is this a named instance or the default? (SQL Browser enabled?) Have you checked Configuration Manager to confirm the protocol being used is enabled? Is this instance listening on the default port 1433? Are 2 instances trying to listen on the same port?
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.