dbTalk Databases Forums  

SLQ Server 2008 express edition remote connectivity issue

microsoft.public.sqlserver.setup microsoft.public.sqlserver.setup


Discuss SLQ Server 2008 express edition remote connectivity issue in the microsoft.public.sqlserver.setup forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
M.K
 
Posts: n/a

Default SLQ Server 2008 express edition remote connectivity issue - 11-19-2009 , 09:37 PM






Hi,

Running SQL Server 2k8 Express Edition with Advanced Services on Windows XP
(SP3).

Everything fine is going but unable to connect remotely to SQL Server and
getting the following error message:

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)


Already allowed remote connections to the server.

Anyone can help please?

Reply With Quote
  #2  
Old   
Balaji
 
Posts: n/a

Default Re: SLQ Server 2008 express edition remote connectivity issue - 11-20-2009 , 05:19 AM






Hi,

In SQL Express by default remote connections are disabled. i.e Named Pipes
and TCPIP protocols are disabled. If you have already enabled these
protocols make sure that your SQL Browser service is running because SQL
Express is installed as named instance and uses dynamic port each time it
starts.

Regards,
Balaji

"M.K" <mianksaeed (AT) yahoo (DOT) com> wrote

Quote:
Hi,

Running SQL Server 2k8 Express Edition with Advanced Services on Windows
XP (SP3).

Everything fine is going but unable to connect remotely to SQL Server and
getting the following error message:

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)


Already allowed remote connections to the server.

Anyone can help please?

Reply With Quote
  #3  
Old   
M.K
 
Posts: n/a

Default Re: SLQ Server 2008 express edition remote connectivity issue - 11-20-2009 , 07:36 AM



Already enabled Named Pipes and TCIP and started SQL Browser service as
well.



"Balaji" <tbalajiprabhu (AT) gmail (DOT) com> wrote

Quote:
Hi,

In SQL Express by default remote connections are disabled. i.e Named Pipes
and TCPIP protocols are disabled. If you have already enabled these
protocols make sure that your SQL Browser service is running because SQL
Express is installed as named instance and uses dynamic port each time it
starts.

Regards,
Balaji

"M.K" <mianksaeed (AT) yahoo (DOT) com> wrote in message
news:%23MsZJLZaKHA.616 (AT) TK2MSFTNGP04 (DOT) phx.gbl...
Hi,

Running SQL Server 2k8 Express Edition with Advanced Services on Windows
XP (SP3).

Everything fine is going but unable to connect remotely to SQL Server and
getting the following error message:

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)


Already allowed remote connections to the server.

Anyone can help please?


Reply With Quote
  #4  
Old   
Rick Byham, MSFT
 
Posts: n/a

Default Re: SLQ Server 2008 express edition remote connectivity issue - 11-20-2009 , 10:36 AM



Firewall? Use firewall.cpl to open the UPP port 1434 for the SQL Server
Browser service.
And open the TCP port used by you instance of SQL Server. This is probably
port 1433, but Express installs using dynamic ports. This is probably only a
problem if you have another instance of SQL Server running on the computer.
--
Rick Byham, MSFT
(Implies no warranty or rights)


"M.K" <mianksaeed (AT) yahoo (DOT) com> wrote

Quote:
Already enabled Named Pipes and TCIP and started SQL Browser service as
well.



"Balaji" <tbalajiprabhu (AT) gmail (DOT) com> wrote in message
news:elPEMNdaKHA.4312 (AT) TK2MSFTNGP04 (DOT) phx.gbl...
Hi,

In SQL Express by default remote connections are disabled. i.e Named
Pipes and TCPIP protocols are disabled. If you have already enabled these
protocols make sure that your SQL Browser service is running because SQL
Express is installed as named instance and uses dynamic port each time it
starts.

Regards,
Balaji

"M.K" <mianksaeed (AT) yahoo (DOT) com> wrote in message
news:%23MsZJLZaKHA.616 (AT) TK2MSFTNGP04 (DOT) phx.gbl...
Hi,

Running SQL Server 2k8 Express Edition with Advanced Services on Windows
XP (SP3).

Everything fine is going but unable to connect remotely to SQL Server
and getting the following error message:

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)


Already allowed remote connections to the server.

Anyone can help please?


Reply With Quote
  #5  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: SLQ Server 2008 express edition remote connectivity issue - 11-20-2009 , 04:24 PM



M.K (mianksaeed (AT) yahoo (DOT) com) writes:
Quote:
Already enabled Named Pipes and TCIP and started SQL Browser service as
well.
You restarted the server after enabling TCP, didn't you?



--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx

Reply With Quote
  #6  
Old   
M.K
 
Posts: n/a

Default Re: SLQ Server 2008 express edition remote connectivity issue - 11-24-2009 , 10:54 PM



Yes I already has restarted the machine after enabling TCP

"Erland Sommarskog" <esquel (AT) sommarskog (DOT) se> wrote

Quote:
M.K (mianksaeed (AT) yahoo (DOT) com) writes:
Already enabled Named Pipes and TCIP and started SQL Browser service as
well.

You restarted the server after enabling TCP, didn't you?



--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000:
http://www.microsoft.com/sql/prodinf...ons/books.mspx

Reply With Quote
  #7  
Old   
Rick Byham, MSFT
 
Posts: n/a

Default Re: SLQ Server 2008 express edition remote connectivity issue - 11-25-2009 , 10:26 AM



Still, check the firewall.
However if you've already done that, let's check TCP connections.
On the client, can you PING the server by IP address?
Can you PING the server by name? If not, perhaps your DNS cache is stale.
ipconfig /flushdns will clear it.
On the client what are you using as your tool? Consider installing the
client tools are the client. Try connecting with sqlcmd.exe.
Check the SQL Server error log. It will list the port that SQL Server is
listening on.
Can you connect to the IP address and port, in the format
xxx.xxx.xxx.xxx,port# like 123.123.123.123,1433
--
Rick Byham, MSFT
(Implies no warranty or rights)


"M.K" <mianksaeed (AT) yahoo (DOT) com> wrote

Quote:
Yes I already has restarted the machine after enabling TCP

"Erland Sommarskog" <esquel (AT) sommarskog (DOT) se> wrote in message
news:Xns9CC9EE29410D2Yazorman (AT) 127 (DOT) 0.0.1...
M.K (mianksaeed (AT) yahoo (DOT) com) writes:
Already enabled Named Pipes and TCIP and started SQL Browser service as
well.

You restarted the server after enabling TCP, didn't you?



--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000:
http://www.microsoft.com/sql/prodinf...ons/books.mspx

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.