all groups > sql server new users > june 2007 >
You're in the

sql server new users

group:

Remote connection with SQLEXPRESS?


Remote connection with SQLEXPRESS? Ralf Kaiser
6/19/2007 12:00:00 AM
sql server new users: Hello,

i want to connect to another SQLEXPRESS server that is located inside our
local network. I am using "SQL Server Management Studio Express".

I have activated TCP/IP protocol for both servers and the SQL browser
service is running on both computers. To login i am using Windows
authentication with a user that is registered on both systems (both are in
the same domain, user is a domein user). When trying to connect i am
switsching the connection to TCP/IP.

When i try to connect to "OtherComputer\SQLEXPRESS" i get an error 26,
telling me that the remote computer cannot be found (i am able to "see" the
computer in the network neighbourhood and can PING it too).

Can anyone give me a hint what might be missing? Or is the management studio
express not able to do remote connections?

Thanks in advance,
Ralf

Re: Remote connection with SQLEXPRESS? Razvan Socol
6/19/2007 12:00:00 AM
Hello, Ralf

I guess the firewall at the server is blocking the connections.
You need to configure an exception for sqlservr.exe and for
sqlbrowser.exe.

See also:
http://support.microsoft.com/kb/914277
http://blogs.msdn.com/sql_protocols/default.aspx

Razvan
Re: Remote connection with SQLEXPRESS? Ralf Kaiser
6/19/2007 12:00:00 AM
"Razvan Socol" <rsocol@gmail.com> schrieb im Newsbeitrag
news:1182254690.307487.199810@p77g2000hsh.googlegroups.com...
[quoted text, click to view]

No. These both applications are defined in the firewall (both are XP
computers). Forgot that to mention in my original post. Sorry.

Re: Remote connection with SQLEXPRESS? Rick Byham, (MSFT)
6/19/2007 8:48:40 AM
This should work, so check some of the unlikely problems.
- Did you restart the SQLExpress instance after enabling listening on TCP?
That's required.

- Is "OtherComputer\SQLEXPRESS" by any chance installed as another name?
SQLEXPRESS is the default name, but you can name it
"OtherComputer\ACCOUNTING" during installation if you want to.

- Is "OtherComputer\SQLEXPRESS" started? (I know this is a duh... but
sometimes people don't check and that would cause this error.)

- Is the client using TCP? Using the SQL Server Configuration Manager on the
client, make sure TCP is enabled, and move TCP ahead of Named Pipes.

- Can you connect to the other computer by IPAddress,port number, like
123.45.67.245,1433 ? SQL Express listens on a dynamic port by default, so to
get the port number that was dynamically selected, check the error log for a
statement similar to "Server is listening on [ 'any' <ipv4> 1433]"
--
Rick Byham (MSFT)
This posting is provided "AS IS" with no warranties, and confers no rights.

[quoted text, click to view]
Re: Remote connection with SQLEXPRESS? Ralf Kaiser
6/20/2007 12:00:00 AM
"Rick Byham, (MSFT)" <rickbyh@REDMOND.CORP.MICROSOFT.COM> schrieb im
Newsbeitrag news:524508F1-B169-42B0-9C11-7C81033087CF@microsoft.com...

Hello Rick,

[quoted text, click to view]

I have restarted both computers after activating TCP (first only restarted
the services and because that did not work restarted the computers)

[quoted text, click to view]

No. The name is correct on "OtherComputer" i connect locally with this name.

[quoted text, click to view]

On "OtherComputer" all SQL relevant services are up and running

[quoted text, click to view]

Yes. It uses TCP

[quoted text, click to view]

That is the only thing i have not tried yet. Currently i have only tried to
connect using the computer names. Will try that today to see if it helps.

Thanks,
Ralf

Re: Remote connection with SQLEXPRESS? Ralf Kaiser
6/21/2007 12:00:00 AM
"Rick Byham, (MSFT)" <rickbyh@REDMOND.CORP.MICROSOFT.COM> schrieb im
Newsbeitrag news:524508F1-B169-42B0-9C11-7C81033087CF@microsoft.com...

[quoted text, click to view]

Hi Rick,

thanks for THAT hint!! I had to define port 1433 in my firewall to make it
work.

Ciao,
Ralf

AddThis Social Bookmark Button