Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
edited tags
Link
Stu Thompson
  • 3.4k
  • 7
  • 35
  • 49
Added method of connection
Source Link
Kieran
  • 127
  • 6

I am trying to remotely access MS SQL Server Express 2008.

  • I have turned on service "SQL Server Browser"
  • I have turned on service "SQL Server (SQLExpress)"
  • I have enabled TCP/IP and set dynamic ports to blank and tcp port to 1433 in properties
  • I can connect localy(using ip) so my credentials are correct.
  • I have a exceptions record in my windows firewall setting port 1433 as open.
  • I have performed a system reboot making all services are still turned on.

After i try and connect via a remote computer I get this error.

Cannot connect to XXX.XXX.XXX.XX
============================

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)
-----------------------------------------------
Error Number: 3
Severity: 20
State: 0

Your ideas and solutions will be greatly appreciated.

KJ

EDIT Hi and thanks for the quick responses. At present there is no connection string. I am trying to connect using: SQL Server Management Studio 2008

I am trying to remotely access MS SQL Server Express 2008.

  • I have turned on service "SQL Server Browser"
  • I have turned on service "SQL Server (SQLExpress)"
  • I have enabled TCP/IP and set dynamic ports to blank and tcp port to 1433 in properties
  • I can connect localy(using ip) so my credentials are correct.
  • I have a exceptions record in my windows firewall setting port 1433 as open.
  • I have performed a system reboot making all services are still turned on.

After i try and connect via a remote computer I get this error.

Cannot connect to XXX.XXX.XXX.XX
============================

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)
-----------------------------------------------
Error Number: 3
Severity: 20
State: 0

Your ideas and solutions will be greatly appreciated.

KJ

I am trying to remotely access MS SQL Server Express 2008.

  • I have turned on service "SQL Server Browser"
  • I have turned on service "SQL Server (SQLExpress)"
  • I have enabled TCP/IP and set dynamic ports to blank and tcp port to 1433 in properties
  • I can connect localy(using ip) so my credentials are correct.
  • I have a exceptions record in my windows firewall setting port 1433 as open.
  • I have performed a system reboot making all services are still turned on.

After i try and connect via a remote computer I get this error.

Cannot connect to XXX.XXX.XXX.XX
============================

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)
-----------------------------------------------
Error Number: 3
Severity: 20
State: 0

Your ideas and solutions will be greatly appreciated.

KJ

EDIT Hi and thanks for the quick responses. At present there is no connection string. I am trying to connect using: SQL Server Management Studio 2008

added 39 characters in body; edited title
Source Link
splattne
  • 28.8k
  • 20
  • 100
  • 150

remote Remote login to sql server expressSQL Server Express 2008

I am trying to remotely access ms sql expressMS SQL Server Express 2008.

  • I have turned on service "SQL Server Browser"
  • I have turned on service "SQL Server (SQLExpress)"
  • I have enabled TCP/IP and set dynamic ports to blank and tcp port to 1433 in properties
  • I can connect localy(using ip) so my credentials are correct.
  • I have a exceptions record in my windows firewall setting port 1433 as open.
  • I have performed a system reboot making all services are still turned on.

After i try and connect via a remote computer I get this error.

Cannot connect to XXX.XXX.XXX.XX =================================== 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) ------------------------------ Error Number: 3 Severity: 20 State: 0 

Cannot connect to XXX.XXX.XXX.XX
============================

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)
-----------------------------------------------
Error Number: 3
Severity: 20
State: 0

yourYour ideas and solutions will be greatly appreciated.

KJ

remote login to sql server express 2008

I am remotely access ms sql express 2008.

  • I have turned on service "SQL Server Browser"
  • I have turned on service "SQL Server (SQLExpress)"
  • I have enabled TCP/IP and set dynamic ports to blank and tcp port to 1433 in properties
  • I can connect localy(using ip) so my credentials are correct.
  • I have a exceptions record in my windows firewall setting port 1433 as open.
  • I have performed a system reboot making all services are still turned on.

After i try and connect via a remote computer I get this error.

Cannot connect to XXX.XXX.XXX.XX =================================== 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) ------------------------------ Error Number: 3 Severity: 20 State: 0 

your ideas and solutions will be greatly appreciated.

KJ

Remote login to SQL Server Express 2008

I am trying to remotely access MS SQL Server Express 2008.

  • I have turned on service "SQL Server Browser"
  • I have turned on service "SQL Server (SQLExpress)"
  • I have enabled TCP/IP and set dynamic ports to blank and tcp port to 1433 in properties
  • I can connect localy(using ip) so my credentials are correct.
  • I have a exceptions record in my windows firewall setting port 1433 as open.
  • I have performed a system reboot making all services are still turned on.

After i try and connect via a remote computer I get this error.

Cannot connect to XXX.XXX.XXX.XX
============================

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)
-----------------------------------------------
Error Number: 3
Severity: 20
State: 0

Your ideas and solutions will be greatly appreciated.

KJ

Source Link
Kieran
  • 127
  • 6
Loading