Re: SQL Connection in Workgroup
- From: Jo <Jo@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 13 May 2009 09:48:12 -0700
I have configured the surface configuration to use TCP/IP and Named ports but
this has not worked (this caught me out with a previour install).
The browser service is running
I will try and open UDP port 1434
Where can I get the SQL Server Client connectivity?
"Rick Byham, (MSFT)" wrote:
.
When connecting to SQL Server 2005 or 2008, your laptop asks the XP machine
what port is the named instance ComputerName\SQLEXPRESS listening on. The
SQL Server Browser Service on the XP computer uses UDP port 1434 to send
back the answer, such as TCP port 1234. So try opening UDP port 1434 on the
XP computer. And make sure the SQL Server Browser Service is started.
Also, the SQL Server error log will tell you what port SQL Server is
listening on. Look it up. Let's say it's TCP port 1434. You can try to
connect to ComputerName,portnumber like ComputerName,1434
That should bypass the name to port resolution issue. Not convenient but
useful for testing.
Also, your client is using DBNETLIB instead of the SQL Server Native Client.
This is allowed, but you might want to install the SQL Server 2005 client
connectivity on the laptop.
--
Rick Byham (MSFT), SQL Server Books Online
This posting is provided "AS IS" with no warranties, and confers no rights.
"Jo" <Jo@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3B3A2E8F-8AED-4028-9382-D52C07F533EB@xxxxxxxxxxxxxxxx
Hi I have a small problem.
I have SQL Server Express installed on an XP workstation in workgroup. My
database app is working well on the machine.
However I am unable to connect to the database from my laptop. I get the
error:
[DBNETLIB]{connectionopen (connect()).] SQLServer does not exist or access
dennied
System Details:
SQL Server Mahine:
O\S - Windows XP SP2
Workgroup: MYHOME
Firewall: Windows firewall
Exception set up for SQL Program and TCP/IP Ports 1433, 1434,
1443
SQLVersion: SQL Express 2005
Laptop:
O\S - Windows XP SP2
Workgroup: MYHOME
Firewall Switched off
I have the same user account and password on both machines.
I am able to browse to shared directories on the SQL Machine.
Any help would be appreciated as I am struggleing.
Thanks,
Jolyon
- Follow-Ups:
- Re: SQL Connection in Workgroup
- From: Rick Byham, \(MSFT\)
- Re: SQL Connection in Workgroup
- References:
- SQL Connection in Workgroup
- From: Jo
- SQL Connection in Workgroup
- Prev by Date: SQL Connection in Workgroup
- Next by Date: Connect to SQL server instance
- Previous by thread: SQL Connection in Workgroup
- Next by thread: Re: SQL Connection in Workgroup
- Index(es):
Relevant Pages
|