dbTalk Databases Forums  

connect to server

microsoft.public.sqlserver.clients microsoft.public.sqlserver.clients


Discuss connect to server in the microsoft.public.sqlserver.clients forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ann
 
Posts: n/a

Default connect to server - 07-09-2003 , 03:01 PM






I'm new to SQL server. I installed SQL server on windows
2003 server.

And I installed the client on my windows Xp workstation.

When I try to connect with the SQL server, it gives error
message:


LOgin failed for User(NUll) Reason: not associated with a
trusted SQL server connection.

Earlier, When I installed SQL server, I chose Windows
authentication. After installation I go to SQL-EM,
security Logins and set a password for sa.

Don't know why can't connect
Any suggestions will be appreciated






Reply With Quote
  #2  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: connect to server - 07-09-2003 , 04:27 PM






If you are using Windows Authentication then you can't use sa since that is
a SQL Login. You need to add your domain account as a Login in SQL Server.
But you need to ensure your workstation is on the same domain as the server.

--

Andrew J. Kelly
SQL Server MVP


"ann" <xiaowei.cao (AT) state (DOT) mn.us> wrote

Quote:
I'm new to SQL server. I installed SQL server on windows
2003 server.

And I installed the client on my windows Xp workstation.

When I try to connect with the SQL server, it gives error
message:


LOgin failed for User(NUll) Reason: not associated with a
trusted SQL server connection.

Earlier, When I installed SQL server, I chose Windows
authentication. After installation I go to SQL-EM,
security Logins and set a password for sa.

Don't know why can't connect
Any suggestions will be appreciated








Reply With Quote
  #3  
Old   
xiaowei
 
Posts: n/a

Default Re: connect to server - 07-10-2003 , 08:35 AM



Thank you.

Yes, I did try to use domain account, there wes the same
message. not trusted SQL server connection

Our web server where SQL server is on does not joined our
domain. our domain now is in netware system. So we plan
to use the windows 2003 web server as a standalone,
although it is in the same subnet with novell network.

So now I tried to connect the sql server in workstations,
I failed.
What is the best solution to our enviroment?

Thank you in advance for further assistance.



Quote:
-----Original Message-----
If you are using Windows Authentication then you can't
use sa since that is
a SQL Login. You need to add your domain account as a
Login in SQL Server.
But you need to ensure your workstation is on the same
domain as the server.

--

Andrew J. Kelly
SQL Server MVP


"ann" <xiaowei.cao (AT) state (DOT) mn.us> wrote in message
news:044901c34654$d506b690$a301280a (AT) phx (DOT) gbl...
I'm new to SQL server. I installed SQL server on
windows
2003 server.

And I installed the client on my windows Xp
workstation.

When I try to connect with the SQL server, it gives
error
message:


LOgin failed for User(NUll) Reason: not associated
with a
trusted SQL server connection.

Earlier, When I installed SQL server, I chose Windows
authentication. After installation I go to SQL-EM,
security Logins and set a password for sa.

Don't know why can't connect
Any suggestions will be appreciated







.


Reply With Quote
  #4  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: connect to server - 07-10-2003 , 09:34 AM



If your sql server is not in the domain then you can't use NT authentication
like that. I would suggest you switch to Mixed authentication and use SQL
Server logins instead.

--

Andrew J. Kelly
SQL Server MVP


"xiaowei" <xiaowei.cao (AT) state (DOT) mn.us> wrote

Quote:
Thank you.

Yes, I did try to use domain account, there wes the same
message. not trusted SQL server connection

Our web server where SQL server is on does not joined our
domain. our domain now is in netware system. So we plan
to use the windows 2003 web server as a standalone,
although it is in the same subnet with novell network.

So now I tried to connect the sql server in workstations,
I failed.
What is the best solution to our enviroment?

Thank you in advance for further assistance.



-----Original Message-----
If you are using Windows Authentication then you can't
use sa since that is
a SQL Login. You need to add your domain account as a
Login in SQL Server.
But you need to ensure your workstation is on the same
domain as the server.

--

Andrew J. Kelly
SQL Server MVP


"ann" <xiaowei.cao (AT) state (DOT) mn.us> wrote in message
news:044901c34654$d506b690$a301280a (AT) phx (DOT) gbl...
I'm new to SQL server. I installed SQL server on
windows
2003 server.

And I installed the client on my windows Xp
workstation.

When I try to connect with the SQL server, it gives
error
message:


LOgin failed for User(NUll) Reason: not associated
with a
trusted SQL server connection.

Earlier, When I installed SQL server, I chose Windows
authentication. After installation I go to SQL-EM,
security Logins and set a password for sa.

Don't know why can't connect
Any suggestions will be appreciated







.




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.