Showing posts with label connect. Show all posts
Showing posts with label connect. Show all posts

Sunday, March 25, 2012

can not connect with system account

we have two non-sql servers (a & b) that connect to a third sql server with
their system account (servername$). We have permissioned the system accounts
in SQL. However, server a is able to connect with it's system account and b
is not.
When I schedule a batch file to connect to the sql server using osql, server
b 's connection errors out with the error: Login failed for user 'NT
AUTHORITY\ANONYMOUS LOGON'.
DBA72 wrote:
> we have two non-sql servers (a & b) that connect to a third sql
> server with their system account (servername$). We have permissioned
> the system accounts in SQL. However, server a is able to connect with
> it's system account and b is not.
> When I schedule a batch file to connect to the sql server using osql,
> server b 's connection errors out with the error: Login failed for
> user 'NT AUTHORITY\ANONYMOUS LOGON'.
Why not create an account for SQL Server and use it for the service.
David Gugick
Imceda Software
www.imceda.com
|||This is for an SMS setup and apparently, under advanced security settings,
the SMS service on other servers is supposed to run under the system account.
"David Gugick" wrote:

> DBA72 wrote:
> Why not create an account for SQL Server and use it for the service.
> --
> David Gugick
> Imceda Software
> www.imceda.com
>
|||Are these two (three) servers in different domains? Are any of them running
on NT 4 servers? The fact that you received anonymous logon errors says the
SQL Server domain controller doesn't know anything about the system account
that this server is passing to the SQL Server.
Another possibility is that server b's system account password has not been
able to successfully synchronize with its domain controller.
Lastly, the NT AUTHORITY accounts are not; they are Windows AD Groups. So,
either NT AUTHORITY\SYSTEM or NT AUTHORITY\ANONYMOUS LOGON can be granted
access to your SQL Server. However, they include several systems and/or
unkown users. Give whatever access very limited rights with your SQL Server
and user databases. Luckily, these accounts are restricted to the domain
that hosts them; so, if you are in a secured WAN\LAN, it will be less of a
threat.
Sincerely,
Anthony Thomas

"DBA72" <DBA72@.discussions.microsoft.com> wrote in message
news:BF1203C3-3219-484A-99BC-661B4B8C6A72@.microsoft.com...
This is for an SMS setup and apparently, under advanced security settings,
the SMS service on other servers is supposed to run under the system
account.
"David Gugick" wrote:

> DBA72 wrote:
> Why not create an account for SQL Server and use it for the service.
> --
> David Gugick
> Imceda Software
> www.imceda.com
>

can not connect with system account

we have two non-sql servers (a & b) that connect to a third sql server with
their system account (servername$). We have permissioned the system accounts
in SQL. However, server a is able to connect with it's system account and b
is not.
When I schedule a batch file to connect to the sql server using osql, server
b 's connection errors out with the error: Login failed for user 'NT
AUTHORITY\ANONYMOUS LOGON'.DBA72 wrote:
> we have two non-sql servers (a & b) that connect to a third sql
> server with their system account (servername$). We have permissioned
> the system accounts in SQL. However, server a is able to connect with
> it's system account and b is not.
> When I schedule a batch file to connect to the sql server using osql,
> server b 's connection errors out with the error: Login failed for
> user 'NT AUTHORITY\ANONYMOUS LOGON'.
Why not create an account for SQL Server and use it for the service.
David Gugick
Imceda Software
www.imceda.com|||This is for an SMS setup and apparently, under advanced security settings,
the SMS service on other servers is supposed to run under the system account
.
"David Gugick" wrote:

> DBA72 wrote:
> Why not create an account for SQL Server and use it for the service.
> --
> David Gugick
> Imceda Software
> www.imceda.com
>|||Are these two (three) servers in different domains? Are any of them running
on NT 4 servers? The fact that you received anonymous logon errors says the
SQL Server domain controller doesn't know anything about the system account
that this server is passing to the SQL Server.
Another possibility is that server b's system account password has not been
able to successfully synchronize with its domain controller.
Lastly, the NT AUTHORITY accounts are not; they are Windows AD Groups. So,
either NT AUTHORITY\SYSTEM or NT AUTHORITY\ANONYMOUS LOGON can be granted
access to your SQL Server. However, they include several systems and/or
unkown users. Give whatever access very limited rights with your SQL Server
and user databases. Luckily, these accounts are restricted to the domain
that hosts them; so, if you are in a secured WAN\LAN, it will be less of a
threat.
Sincerely,
Anthony Thomas
"DBA72" <DBA72@.discussions.microsoft.com> wrote in message
news:BF1203C3-3219-484A-99BC-661B4B8C6A72@.microsoft.com...
This is for an SMS setup and apparently, under advanced security settings,
the SMS service on other servers is supposed to run under the system
account.
"David Gugick" wrote:

> DBA72 wrote:
> Why not create an account for SQL Server and use it for the service.
> --
> David Gugick
> Imceda Software
> www.imceda.com
>

can not connect with system account

we have two non-sql servers (a & b) that connect to a third sql server with
their system account (servername$). We have permissioned the system accounts
in SQL. However, server a is able to connect with it's system account and b
is not.
When I schedule a batch file to connect to the sql server using osql, server
b 's connection errors out with the error: Login failed for user 'NT
AUTHORITY\ANONYMOUS LOGON'.DBA72 wrote:
> we have two non-sql servers (a & b) that connect to a third sql
> server with their system account (servername$). We have permissioned
> the system accounts in SQL. However, server a is able to connect with
> it's system account and b is not.
> When I schedule a batch file to connect to the sql server using osql,
> server b 's connection errors out with the error: Login failed for
> user 'NT AUTHORITY\ANONYMOUS LOGON'.
Why not create an account for SQL Server and use it for the service.
--
David Gugick
Imceda Software
www.imceda.com|||This is for an SMS setup and apparently, under advanced security settings,
the SMS service on other servers is supposed to run under the system account.
"David Gugick" wrote:
> DBA72 wrote:
> > we have two non-sql servers (a & b) that connect to a third sql
> > server with their system account (servername$). We have permissioned
> > the system accounts in SQL. However, server a is able to connect with
> > it's system account and b is not.
> > When I schedule a batch file to connect to the sql server using osql,
> > server b 's connection errors out with the error: Login failed for
> > user 'NT AUTHORITY\ANONYMOUS LOGON'.
> Why not create an account for SQL Server and use it for the service.
> --
> David Gugick
> Imceda Software
> www.imceda.com
>|||Are these two (three) servers in different domains? Are any of them running
on NT 4 servers? The fact that you received anonymous logon errors says the
SQL Server domain controller doesn't know anything about the system account
that this server is passing to the SQL Server.
Another possibility is that server b's system account password has not been
able to successfully synchronize with its domain controller.
Lastly, the NT AUTHORITY accounts are not; they are Windows AD Groups. So,
either NT AUTHORITY\SYSTEM or NT AUTHORITY\ANONYMOUS LOGON can be granted
access to your SQL Server. However, they include several systems and/or
unkown users. Give whatever access very limited rights with your SQL Server
and user databases. Luckily, these accounts are restricted to the domain
that hosts them; so, if you are in a secured WAN\LAN, it will be less of a
threat.
Sincerely,
Anthony Thomas
"DBA72" <DBA72@.discussions.microsoft.com> wrote in message
news:BF1203C3-3219-484A-99BC-661B4B8C6A72@.microsoft.com...
This is for an SMS setup and apparently, under advanced security settings,
the SMS service on other servers is supposed to run under the system
account.
"David Gugick" wrote:
> DBA72 wrote:
> > we have two non-sql servers (a & b) that connect to a third sql
> > server with their system account (servername$). We have permissioned
> > the system accounts in SQL. However, server a is able to connect with
> > it's system account and b is not.
> > When I schedule a batch file to connect to the sql server using osql,
> > server b 's connection errors out with the error: Login failed for
> > user 'NT AUTHORITY\ANONYMOUS LOGON'.
> Why not create an account for SQL Server and use it for the service.
> --
> David Gugick
> Imceda Software
> www.imceda.com
>

Can not connect to SQL Server from DMZ

We just moved to a new office. After setting up the servers, we found
that the apllication (including SQL Query Analyzer) in DMZ can not
access SQL server that is behind the firewall. We can ping the SQL
server from the server in DMZ and we also checked and confirmed port
1433 is open from the firewall. Could anyone help me out?
Thanks,Run the following test:
ISQL -Stcp:sqlnamehere -Uuserid -Ppassword -Q"select @.@.version"
Post the Error message.
Winsock Error messages should be returned if it fails.
Example:
11001 == Host Not Found
10060 == Connection Timeout
10061 == Connection Refused
Thanks,
Kevin McDonnell
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.

Can not connect to SQL Server database with http://Localhost

I followed an example from the Chap 12 of "Beginning Active Server
Pages 3.0 (Wrox 1999)" to connect to my Access and SQL Server databases
with the following Coonection Strings.
objConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=G:\databases\Movie2000.mdb;" & _
"Persist Security Info=False"
objConn.Open "Provider=SQLOLEDB" & _
"User ID=sa;Initial Catalog=Movie;" & _
"Data Source=G:\Program Files\Microsoft SQL
Server\MSSQL\Data\Movie2000.mdf"
I copied the Movie2000.mdb to my HD, G:\databases. It worked very well
with the http://Localhost, where my Connect.asp file is located. I can
open and display a Recordset object from the ASccess Movies table. But
the connection to SQL Server database failed.
Do I need to modify the ADO connection string properties, i.e.
Provider and/or Dara Source?
TIA,
Jeffrey
Hi
With SQL Server, the client does not know where the DB is on disk, you just
refer to it by name.
objConn.Open "Provider=SQLOLEDB" & _
"User ID=sa;Initial Catalog=Movie;" & _
"Data Source=Movie2000"
This can be accessed after the database is restored or attached into SQL
Server.
Regards
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
<cjeffwang@.gmail.com> wrote in message
news:1118821257.151086.23940@.g43g2000cwa.googlegro ups.com...
> I followed an example from the Chap 12 of "Beginning Active Server
> Pages 3.0 (Wrox 1999)" to connect to my Access and SQL Server databases
> with the following Coonection Strings.
> objConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
> "Data Source=G:\databases\Movie2000.mdb;" & _
> "Persist Security Info=False"
> objConn.Open "Provider=SQLOLEDB" & _
> "User ID=sa;Initial Catalog=Movie;" & _
> "Data Source=G:\Program Files\Microsoft SQL
> Server\MSSQL\Data\Movie2000.mdf"
> I copied the Movie2000.mdb to my HD, G:\databases. It worked very well
> with the http://Localhost, where my Connect.asp file is located. I can
> open and display a Recordset object from the ASccess Movies table. But
> the connection to SQL Server database failed.
> Do I need to modify the ADO connection string properties, i.e.
> Provider and/or Dara Source?
> TIA,
> Jeffrey
>
|||Hi Mike,
I tried using your connection string, but still got an error message:
Error Type:
Microsoft VBScript compilation (0x800A0408)
Invalid character
/Bch12/ConnectSQL.asp, line 30
"User ID=sa;Initial Catalog=Movie;" & _
Any suggestions? Thanks.
Jeffrey
sql

Can not connect to SQL Server database with http://Localhost

I followed an example from the Chap 12 of "Beginning Active Server
Pages 3.0 (Wrox 1999)" to connect to my Access and SQL Server databases
with the following Coonection Strings.
objConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=G:\databases\Movie2000.mdb;" & _
"Persist Security Info=False"
objConn.Open "Provider=SQLOLEDB" & _
"User ID=sa;Initial Catalog=Movie;" & _
"Data Source=G:\Program Files\Microsoft SQL
Server\MSSQL\Data\Movie2000.mdf"
I copied the Movie2000.mdb to my HD, G:\databases. It worked very well
with the http://Localhost, where my Connect.asp file is located. I can
open and display a Recordset object from the ASccess Movies table. But
the connection to SQL Server database failed.
Do I need to modify the ADO connection string properties, i.e.
Provider and/or Dara Source?
TIA,
JeffreyHi
With SQL Server, the client does not know where the DB is on disk, you just
refer to it by name.
objConn.Open "Provider=SQLOLEDB" & _
"User ID=sa;Initial Catalog=Movie;" & _
"Data Source=Movie2000"
This can be accessed after the database is restored or attached into SQL
Server.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
<cjeffwang@.gmail.com> wrote in message
news:1118821257.151086.23940@.g43g2000cwa.googlegroups.com...
> I followed an example from the Chap 12 of "Beginning Active Server
> Pages 3.0 (Wrox 1999)" to connect to my Access and SQL Server databases
> with the following Coonection Strings.
> objConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
> "Data Source=G:\databases\Movie2000.mdb;" & _
> "Persist Security Info=False"
> objConn.Open "Provider=SQLOLEDB" & _
> "User ID=sa;Initial Catalog=Movie;" & _
> "Data Source=G:\Program Files\Microsoft SQL
> Server\MSSQL\Data\Movie2000.mdf"
> I copied the Movie2000.mdb to my HD, G:\databases. It worked very well
> with the http://Localhost, where my Connect.asp file is located. I can
> open and display a Recordset object from the ASccess Movies table. But
> the connection to SQL Server database failed.
> Do I need to modify the ADO connection string properties, i.e.
> Provider and/or Dara Source?
> TIA,
> Jeffrey
>|||Hi Mike,
I tried using your connection string, but still got an error message:
Error Type:
Microsoft VBScript compilation (0x800A0408)
Invalid character
/Bch12/ConnectSQL.asp, line 30
"User ID=sa;Initial Catalog=Movie;" & _
Any suggestions? Thanks.
Jeffrey

Can not connect to SQL Server 2005 Developer edition remotely

I setup a SQL Server 2005 Developer edition, which is bundled with Visual Studio .NET 2005 Professional edition. The SQL Server authentication mode is enabled in this database server. But when I try to connect it from another PC using SQL Server authentication, it failed. Is it a limitation on the developer edition?

Hi,

although you didn′t post the erro rmessage, I assume that remote connectivity is not enabled, change the remote flag which can be see in this screen:

http://www.sqlserver2005.de/SharedFiles/Remoteconnection.jpg

HTH, jens suessmeyer.

http://www.sqlserver2005.de

|||

Hi,

I still can't login remotely to the server, the error message is:

Cannot connect to 137.xxx.xx.xx\STD2005
error: 26 - Error Locating Sever/Instance Specified

I setup a MSSQL Server 2005 Standard edition on a remote computer 137.xxx.xx.xx (I'm sure the network has no any problem, since this remote computer has a SQL2000 server that I can use the Enterprise Manager in my PC to connect to it), and the named instance called STD2005. I try to connect to it through the Management Studio in my PC, using the sa account and one acccount that I created before, both not work. Any idea?

|||Hi,

so you are usinga named instance. I assume you didn′t put the named instance on the defaulport, which is as a default used to connect to a sql server instance. If the named instances has another port you have to specify it with the syntax:

Servername\InstanceName,Portnumber

HTH, Jens Suessmeyer.

http://www.sqlserver2005.de
|||Also: Can we rule out a firewall problem? Is the SQL Browser service running on the server machine?

Best,
Nils Loeber
|||

In SQL 2005 Developer Edition TCP\IP is disabled by default. You can go to Server Configuration and enable it. I hope that helps.

JB

Thursday, March 22, 2012

Can not connect to SQL server 2000 on windows authentication mode

Hello everyone,

We have SQL server 2000 on windows 2000. From our desktop MS Access was connected to database through ODBC. Since yesterday (after our consultant had updated another asp application in the same server) we are getting “SQL Server Error: 18452. ….. Login failed for user ‘(null)’. Reason: not associated with a trusted SQL Server connection. “

The consultant saying he did not touch any settings on server (?). And the problem is even server’s security property shows it has mixed mode authentication. But I cannot connect to server even through my SQL server enterprise manager in windows authentication mode. I can connect if I use SQL server authentication. Through ODBC I can connect also and test fine, if I use SQL authentication. But the Access application wouldn’t connect using SQL authentication in ODBC.

So, can any one help me to find out what else could be done to make sure that the server is going to accept windows authentication. I’m thinking any other settings or registry change … etc. Please help.

Thanks

You are getting the error during the communication with the Web Servcie, right ? Then you probably changed the Security of the ASP application to not allow Integrated authentication. Are you using an asp or an ASP.nET application ?

HTH, jens K. Suessmeyer.

http://www.sqlserver2005.de|||

Hi Jens,

No our web service is fine. We are trying to connect through ODBC and SQL enterprise manager.

|||

Hi Taposh,

Did any of the security settings on the SQL Server itself changed? (ie. was some Windows user account access removed from SQL security settings?) You can verify this by using Enterprise manager and login using "sa" and expand the server; expand Security, and then click Logins.

Unfortunately, there are a few scenarios in which you will receive an 18452 error back from the server. Some of the typical scenarios include; missing login rights for Windows users; client and server on different domains (Kerberos trust issue).

Please have a look at http://blogs.msdn.com/sql_protocols/archive/2006/12/02/understanding-kerberos-and-ntlm-authentication-in-sql-server-connections.aspx

I would also recommend searching on the web using the error message as the key phrase.

HTH,
Jimmy

Can not connect to SQL Server

A user who has been connected to our server for several years can not longer
connect.
The error through ODBC shows the following :
Connection failed:
SQLState: '01000'
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Connection Open
(Connect()).
Connection failed:
SQLState: '08001'
SQL Server Error: 6
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Specified SQL Server not
found.
No one else in the firm is having troubles connecting to the server. The
server has SP4 applied.Can he ping the server by hostname? Check to his ODBC connection to ensure
that it is correct. It sounds like a name resolution problem.
--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Snoopstah" <Snoopstah@.discussions.microsoft.com> wrote in message
news:84167888-D06E-4E37-8030-103ABF66F29D@.microsoft.com...
>A user who has been connected to our server for several years can not
>longer
> connect.
> The error through ODBC shows the following :
> Connection failed:
> SQLState: '01000'
> [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Connection Open
> (Connect()).
> Connection failed:
> SQLState: '08001'
> SQL Server Error: 6
> [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Specified SQL Server
> not
> found.
> No one else in the firm is having troubles connecting to the server. The
> server has SP4 applied.|||They can ping and connect to other named instances on the server.
I have since found if they put "SERVERNAME\PortNumber" instead of
"SERVERNAME\INSTANCENAME" in their definition it all works.
Why is that ?
"Hilary Cotter" wrote:
> Can he ping the server by hostname? Check to his ODBC connection to ensure
> that it is correct. It sounds like a name resolution problem.
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
> "Snoopstah" <Snoopstah@.discussions.microsoft.com> wrote in message
> news:84167888-D06E-4E37-8030-103ABF66F29D@.microsoft.com...
> >A user who has been connected to our server for several years can not
> >longer
> > connect.
> >
> > The error through ODBC shows the following :
> > Connection failed:
> > SQLState: '01000'
> > [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Connection Open
> > (Connect()).
> > Connection failed:
> > SQLState: '08001'
> > SQL Server Error: 6
> > [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Specified SQL Server
> > not
> > found.
> >
> > No one else in the firm is having troubles connecting to the server. The
> > server has SP4 applied.
>
>

Can not connect to SQL Server

A user who has been connected to our server for several years can not longer
connect.
The error through ODBC shows the following :
Connection failed:
SQLState: '01000'
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Connection Op
en
(Connect()).
Connection failed:
SQLState: '08001'
SQL Server Error: 6
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Specified SQL
Server not
found.
No one else in the firm is having troubles connecting to the server. The
server has SP4 applied.Can he ping the server by hostname? Check to his ODBC connection to ensure
that it is correct. It sounds like a name resolution problem.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Snoopstah" <Snoopstah@.discussions.microsoft.com> wrote in message
news:84167888-D06E-4E37-8030-103ABF66F29D@.microsoft.com...
>A user who has been connected to our server for several years can not
>longer
> connect.
> The error through ODBC shows the following :
> Connection failed:
> SQLState: '01000'
> [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Connection
Open
> (Connect()).
> Connection failed:
> SQLState: '08001'
> SQL Server Error: 6
> [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Specified S
QL Server
> not
> found.
> No one else in the firm is having troubles connecting to the server. The
> server has SP4 applied.|||They can ping and connect to other named instances on the server.
I have since found if they put "SERVERNAME\PortNumber" instead of
"SERVERNAME\INSTANCENAME" in their definition it all works.
Why is that ?
"Hilary Cotter" wrote:

> Can he ping the server by hostname? Check to his ODBC connection to ensure
> that it is correct. It sounds like a name resolution problem.
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
> "Snoopstah" <Snoopstah@.discussions.microsoft.com> wrote in message
> news:84167888-D06E-4E37-8030-103ABF66F29D@.microsoft.com...
>
>sql

Can not connect to SQL Server

I installed SQL Server 2005 (server and client components) on Windows Server 2003 with SP1. I can connect to this sql server from any other machine. However, I can not connect from this machine to sql servers on other machines. I have tried named pipe and TCP/IP. Neither of them works. The error message is can not establish connection. Any suggestion?

Thanks,

What is the exact error message ?

HTH, Jens Suessmeyer.

http://www.sqlserver2005.de
|||

Here is the error message:

An error has occured while establishing a connection to server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Cound not open a connection to SQL Server) (Microsoft SQL Server, Error 53)

Had enabled the remote connection from other server and can connect that server from other machines.

Thanks,

|||Is a firewall (Perhaps the WIndows default one) installed and configured on the server ? Perhaps then outgoing traffic on the ports is restricted.

-Jens.|||

Also, if you're connecting to a named instance, make sure that you're either specifying the port number in the connection string or you have SQL Browser running on the server machine.

Thanks,
Il-Sung.

Can not connect to SQL server

I am using SQL server 2005 express edition. I have instaled the managment studio, so I can create the databases and login. Than after it I have changed from Windows authentication to SQL server authentication. So I opened the VWD on another client pc and I tried to connect to specified database, but I get the error COULD NOT CONNECT TO SQL SERVER, check if the server allow the remote connections.

I have chenked it and it is configured to allow remote connections. Why this happens ?? I had never these problems when I used the sql server 2005 beta version. The client pc and this sql server have connections so there is no problem with network connection at all.

Any suggestions ??

PS: I also tried using syntax:

Server name: myserver\SQLEXPRESS (instance)

Best regards

This might occur also if you didnt specify the correct username/password for the SQL authentication method.

Make sure that the database contain that user and is already mapped to the db.

Regards

|||

Hello !! Thank You for answering !!

Actually I found that problem was DISABLED TCP / IP on the SQL server. I have enabled it and now it work fine. When installing the SQL server express the tcp/ip is disabled so it will not respond on the request for other pc`s.

Best regards

Can not connect to SQL Server

A user who has been connected to our server for several years can not longer
connect.
The error through ODBC shows the following :
Connection failed:
SQLState: '01000'
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Connection Open
(Connect()).
Connection failed:
SQLState: '08001'
SQL Server Error: 6
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Specified SQL Server not
found.
No one else in the firm is having troubles connecting to the server. The
server has SP4 applied.
Can he ping the server by hostname? Check to his ODBC connection to ensure
that it is correct. It sounds like a name resolution problem.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Snoopstah" <Snoopstah@.discussions.microsoft.com> wrote in message
news:84167888-D06E-4E37-8030-103ABF66F29D@.microsoft.com...
>A user who has been connected to our server for several years can not
>longer
> connect.
> The error through ODBC shows the following :
> Connection failed:
> SQLState: '01000'
> [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Connection Open
> (Connect()).
> Connection failed:
> SQLState: '08001'
> SQL Server Error: 6
> [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Specified SQL Server
> not
> found.
> No one else in the firm is having troubles connecting to the server. The
> server has SP4 applied.
|||They can ping and connect to other named instances on the server.
I have since found if they put "SERVERNAME\PortNumber" instead of
"SERVERNAME\INSTANCENAME" in their definition it all works.
Why is that ?
"Hilary Cotter" wrote:

> Can he ping the server by hostname? Check to his ODBC connection to ensure
> that it is correct. It sounds like a name resolution problem.
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
> "Snoopstah" <Snoopstah@.discussions.microsoft.com> wrote in message
> news:84167888-D06E-4E37-8030-103ABF66F29D@.microsoft.com...
>
>

Can not connect to SQL from Client VB UI

The error message that i get is: PROVIDER CANNOT BE
FOUND. IT MAY NOT BE PROPERLY INSTALLED.
When i run the same connection from the server to the
application installed on the server it works fine.
Any ideas would be helpful
Thanks
Tom
It could be do to an MDAC issue. You want to check the
version of MDAC and make sure it is installed correctly. You
can just try reinstalling the latest MDAC version on the
clients or use the component checker to check the MDAC
installation. You can download component checker and MDAC
versions from:
http://msdn.microsoft.com/data/mdac/default.aspx
-Sue
On Mon, 10 Jan 2005 12:43:03 -0800, "TOM"
<TOM@.discussions.microsoft.com> wrote:

>The error message that i get is: PROVIDER CANNOT BE
>FOUND. IT MAY NOT BE PROPERLY INSTALLED.
>When i run the same connection from the server to the
>application installed on the server it works fine.
>Any ideas would be helpful
>Thanks
>Tom

Can not connect to SQL from Client VB UI

The error message that i get is: PROVIDER CANNOT BE
FOUND. IT MAY NOT BE PROPERLY INSTALLED.
When i run the same connection from the server to the
application installed on the server it works fine.
Any ideas would be helpful
Thanks
TomIt could be do to an MDAC issue. You want to check the
version of MDAC and make sure it is installed correctly. You
can just try reinstalling the latest MDAC version on the
clients or use the component checker to check the MDAC
installation. You can download component checker and MDAC
versions from:
http://msdn.microsoft.com/data/mdac/default.aspx
-Sue
On Mon, 10 Jan 2005 12:43:03 -0800, "TOM"
<TOM@.discussions.microsoft.com> wrote:

>The error message that i get is: PROVIDER CANNOT BE
>FOUND. IT MAY NOT BE PROPERLY INSTALLED.
>When i run the same connection from the server to the
>application installed on the server it works fine.
>Any ideas would be helpful
>Thanks
>Tomsql

Can not connect to SQL Express from a different computer

Hello,

I have the following problem: I can not connect to an instance of SQL Express from a computer different than the one that the SQL Express is installed on.

When trying to connect through Management Express Studio Express CTP I get the following error:

****

TITLE: Connect to Server

Cannot connect to (nameofserver)\SQLEXPRESS.


ADDITIONAL INFORMATION:

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476

****

I can connect to the Express instance without problems from the same computer on which the server is installed on.

SQL Express is installed on a computer running Windows 2003 with SP1.

That computer also has SQL Server 2000, Workgroup Edition installed.

Both, SQL Express and Management Studio have been downloaded form the MSDN web site last week (so, I believe, they're the latest available versions).

In the SQL Server Configuration Manager, under SQL Server 2005 Network Configuration -> Protocols for SQLEXPRESS, Shared Memory, Named Pipes and TCP/IP are enabled, VIA is disabled.

In the SQL Server Configuration Manager, under SQL Server 2005 Native Client Configuration -> Client Protocols, Shared Memory, Named Pipes and TCP/IP are enabled, VIA is disabled.

After enabling these protocols the computer was restarted.

SQL Server Browser service is running.

Both, SQL Server and SQL Server Browser, were set to run under the deafult NetworkService account during setup.

There is a warning in the Event Log (Application section) logged by the SQLBrowser which says:

The configuration of the AdminConnection\TCP protocol in the SQL instance SQLEXPRESS is not valid.

I've searched a lot and tried a lot of different things, but I have not been able to resolve this issue. Please help.

Have you checked the following link: http://blogs.msdn.com/sqlexpress/archive/2005/05/05/415084.aspx ?|||

Thanks for the link.

I have already tried all the things listed in the article multiple times (enabled protocols, SQL Browser Service running, there is no firewall on the server, I disabled firewall on the client when trying to connect).

(I haven't tried the registry thing because I'm dealing with the final relase of SQL Express and not the CTP.)

I believe my problem has to do with the warning that's logged by the SQL Server Browser service in the Event Log:

The configuration of the AdminConnection\TCP protocol in the SQL instance SQLEXPRESS is not valid.

I have found a couple of references to the same message on the Internet, but none of them offered a solution.

Any other suggestions?

|||

I am also seeing these same symptoms, except I'm just trying to access SQL Express from the same machine it is installed on. I've followed all of the suggested steps I could find, and still get the error message about configuration of AdminConnection\TCP protocol not being valid. I've also, in desperation, disabled the firewall altogether: that didn't change the behavior at all.

I can't get a TCP Connect to SQL Express to work to save my soul.

Can not connect to SQL Database

We periodically receive an error message: Database 'db
name' can not be found or is busy...
We seem to get it more often with users who attempt to
connect to our DB using a wireless network card in their
laptop. However, we periodically get it with users on
our network. Is this a connectivity problem and if so,
does anyone have any ideas on what we can do to resolve
this.
The last time a user using the wireless card got the the
error, we had them sign on to the network from a desktop
and they were able to access the DB.
Sounds like a connectivity issues. Are those wireless users able to ping SQL
Server, when their database connection fails?
Also, could you post the actual error message, when trying to connect? What
you showed us, looks like an error reported by an application.
HTH,
Vyas, MVP (SQL Server)
http://vyaskn.tripod.com/
"john.pederson (removethis) @.akorn.com"
<anonymous@.discussions.microsoft.com> wrote in message
news:0aa401c4999f$1e826b90$7d02280a@.phx.gbl...
We periodically receive an error message: Database 'db
name' can not be found or is busy...
We seem to get it more often with users who attempt to
connect to our DB using a wireless network card in their
laptop. However, we periodically get it with users on
our network. Is this a connectivity problem and if so,
does anyone have any ideas on what we can do to resolve
this.
The last time a user using the wireless card got the the
error, we had them sign on to the network from a desktop
and they were able to access the DB.
|||Sent you a reply - not much info for you to go on.

>--Original Message--
>Sounds like a connectivity issues. Are those wireless
users able to ping SQL
>Server, when their database connection fails?
>Also, could you post the actual error message, when
trying to connect? What
>you showed us, looks like an error reported by an
application.
>--
>HTH,
>Vyas, MVP (SQL Server)
>http://vyaskn.tripod.com/
>
>"john.pederson (removethis) @.akorn.com"
><anonymous@.discussions.microsoft.com> wrote in message
>news:0aa401c4999f$1e826b90$7d02280a@.phx.gbl...
>We periodically receive an error message: Database 'db
>name' can not be found or is busy...
>We seem to get it more often with users who attempt to
>connect to our DB using a wireless network card in their
>laptop. However, we periodically get it with users on
>our network. Is this a connectivity problem and if so,
>does anyone have any ideas on what we can do to resolve
>this.
>The last time a user using the wireless card got the the
>error, we had them sign on to the network from a desktop
>and they were able to access the DB.
>
>.
>

can not connect to SQL after fail-over

Hello,
I really hope someone knows what maybe the cause for this issue:
I recently added a new win2k3 node to a SQL cluster. I have installed SQL
2000 and SQL 2000 sp4 on the new node. All the groups including the SQL
group fails over without any problems to the new node. However, once it
moves over to the new node, I have the following issues:
1. The SQL Server Service Manager on the taskbar is stopped and in the
"Services" drop down, nothing is listed.
2. I can no longer telnet to port 1433 on the SQL virtual server.
The sql resources are are online and the services are running on the new nod
e.
Any help would be greatly appreciated!!
WGFind what port the SQL service is actually listening on, and try to connect
to that port explicitly using the virtual server IP addres followed by the
port number wiht a comma in between. For instance:
osql -S36.7.9.101,1433 -Usa -Ppassword
Linchi
"Walid" wrote:

> Hello,
> I really hope someone knows what maybe the cause for this issue:
> I recently added a new win2k3 node to a SQL cluster. I have installed SQL
> 2000 and SQL 2000 sp4 on the new node. All the groups including the SQL
> group fails over without any problems to the new node. However, once it
> moves over to the new node, I have the following issues:
> 1. The SQL Server Service Manager on the taskbar is stopped and in the
> "Services" drop down, nothing is listed.
> 2. I can no longer telnet to port 1433 on the SQL virtual server.
> The sql resources are are online and the services are running on the new n
ode.
> Any help would be greatly appreciated!!
> WG

can not connect to SQL after fail-over

Hello,
I really hope someone knows what maybe the cause for this issue:
I recently added a new win2k3 node to a SQL cluster. I have installed SQL
2000 and SQL 2000 sp4 on the new node. All the groups including the SQL
group fails over without any problems to the new node. However, once it
moves over to the new node, I have the following issues:
1. The SQL Server Service Manager on the taskbar is stopped and in the
"Services" drop down, nothing is listed.
2. I can no longer telnet to port 1433 on the SQL virtual server.
The sql resources are are online and the services are running on the new node.
Any help would be greatly appreciated!!
WGFind what port the SQL service is actually listening on, and try to connect
to that port explicitly using the virtual server IP addres followed by the
port number wiht a comma in between. For instance:
osql -S36.7.9.101,1433 -Usa -Ppassword
Linchi
"Walid" wrote:
> Hello,
> I really hope someone knows what maybe the cause for this issue:
> I recently added a new win2k3 node to a SQL cluster. I have installed SQL
> 2000 and SQL 2000 sp4 on the new node. All the groups including the SQL
> group fails over without any problems to the new node. However, once it
> moves over to the new node, I have the following issues:
> 1. The SQL Server Service Manager on the taskbar is stopped and in the
> "Services" drop down, nothing is listed.
> 2. I can no longer telnet to port 1433 on the SQL virtual server.
> The sql resources are are online and the services are running on the new node.
> Any help would be greatly appreciated!!
> WG

can not connect to SQL after fail-over

Hello,
I really hope someone knows what maybe the cause for this issue:
I recently added a new win2k3 node to a SQL cluster. I have installed SQL
2000 and SQL 2000 sp4 on the new node. All the groups including the SQL
group fails over without any problems to the new node. However, once it
moves over to the new node, I have the following issues:
1. The SQL Server Service Manager on the taskbar is stopped and in the
"Services" drop down, nothing is listed.
2. I can no longer telnet to port 1433 on the SQL virtual server.
The sql resources are are online and the services are running on the new node.
Any help would be greatly appreciated!!
WG
Find what port the SQL service is actually listening on, and try to connect
to that port explicitly using the virtual server IP addres followed by the
port number wiht a comma in between. For instance:
osql -S36.7.9.101,1433 -Usa -Ppassword
Linchi
"Walid" wrote:

> Hello,
> I really hope someone knows what maybe the cause for this issue:
> I recently added a new win2k3 node to a SQL cluster. I have installed SQL
> 2000 and SQL 2000 sp4 on the new node. All the groups including the SQL
> group fails over without any problems to the new node. However, once it
> moves over to the new node, I have the following issues:
> 1. The SQL Server Service Manager on the taskbar is stopped and in the
> "Services" drop down, nothing is listed.
> 2. I can no longer telnet to port 1433 on the SQL virtual server.
> The sql resources are are online and the services are running on the new node.
> Any help would be greatly appreciated!!
> WG
sql