Re: Cannot connect to SQL express database ????
- From: "Rick Byham, \(MSFT\)" <rickbyh@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 19 Apr 2007 13:55:38 -0700
Did you stop and restart SQL Server 2005 Express Edition after setting 1500 as the fixed port?
Are you attempting to connect to the Express Edition by name in the format computer_name\SQLExpress ?
Is the SQL Server Browser service running?
Can you connect to the Express Edition by the port number using computer_name,1500 or by IP address in the format 127.025.144.315,1500 ?
--
Rick Byham (MSFT)
This posting is provided "AS IS" with no warranties, and confers no rights.
"calderara" <calderara@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:F1AB79D1-899E-40C6-BE14-21D0305C36CA@xxxxxxxxxxxxxxxx
Thnaks for your reply...
I have check seetings as describe in this link.
What happen is that I have SQL express install on a Vista machine
Then I set use of tcp port from the surface configuration tool and set port
to 1500
From a simple remote machine running w2000, I try to establish an ODBC
connection to my VIsta machine where SQL express is installed.
For that I have install on my 2000 machine the SQL native client for 2005
and try to define a DSN name but when trying to connect...no way...
Any ideas ?
regards
serge
"Rick Byham, (MSFT)" wrote:
Probably either the SQL Server Express instance has not enabled remote
connections, or a firewall is blocking the connection.
Run through the short tutorial in Books Online and see if that solves the
problem. The tutorial is also online at
http://msdn2.microsoft.com/en-us/library/ms345318.aspx Note that lesson 2 is
Connecting from Another Computer.
--
Rick Byham (MSFT)
This posting is provided "AS IS" with no warranties, and confers no rights.
"calderara" <calderara@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:067F10D8-72B1-4858-AE9F-E5EEF213BEF1@xxxxxxxxxxxxxxxx
> Dear all,
>
> I have setup a database under SQLexpress 2005 which is install on a > Vista
> OS.
> I can manage without any problem my database from the VIsta > workstation.
>
> Then on an other PC, I am trying to create a connection to that databse
> with
> .NET 1.1, but no luck
>
> I ma using similar conenction string as for an SQL server databse > excpet
> that Server="MyWorkStationName\SQLEXPRESS".
>
> I have place the conenctionstring in a config file as follow :
>
>
> "Database=Line_Config;Server=MyWorkStationName\SQLEXPRESS;uid=rptuser;Pwd=reporting"
>
> What is wrong that prebvent me from connection to database ?
>
> Is it possible to connect to an SQLExpress database located on an other > PC
> ?
>
> thnaks for help
> regards
> serge
.
- Follow-Ups:
- Re: Cannot connect to SQL express database ????
- From: calderara
- Re: Cannot connect to SQL express database ????
- References:
- Re: Cannot connect to SQL express database ????
- From: Rick Byham, \(MSFT\)
- Re: Cannot connect to SQL express database ????
- Prev by Date: Re: How can I verify that the sqlserver on my development is accessable from internet
- Next by Date: RE: Cannot generate SSPI context on laptop from different domain
- Previous by thread: Re: Cannot connect to SQL express database ????
- Next by thread: Re: Cannot connect to SQL express database ????
- Index(es):
Relevant Pages
|