Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Not associated with a trusted SQL Server connectio

Author  Topic 

ebrahimmortezapour
Starting Member

4 Posts

Posted - 2009-09-21 : 03:08:40
i maked linkedserver from sqlserver2000 to another sqlserver2000
with username and password when i read the tables list from linkesd
server an error "Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection"
occur

but when i connect to another sqlserver from Query analyzer with th same information it works good.
and both them Security Authentication option is
"Sql Server and Windows"

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-09-21 : 12:40:48
How is the linked server's security setup?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

ebrahimmortezapour
Starting Member

4 Posts

Posted - 2009-09-23 : 05:57:14
quote:
Originally posted by tkizer

How is the linked server's security setup?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."



test
Go to Top of Page

ebrahimmortezapour
Starting Member

4 Posts

Posted - 2009-09-23 : 06:09:48
tank you tara kizer
in query analyzer when i connect to sql server 2 in another computer with username = 'sa' and pass='' it connected successfuly
but when imake a linked server in sql server 1 and in security tab i choose "be made using this security text" with username = 'sa' and pass='' when i click on tables an error "sql server dos not exist or access denied"
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-09-24 : 00:20:33
That's a connectivity issue and not an authentication issue. You'll need to determine why the first server is unable to connect to the second server. It may be as simple as adding a SQL alias to Client Network Utility on the first server.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

ebrahimmortezapour
Starting Member

4 Posts

Posted - 2009-10-01 : 08:23:54
tank you very much it worked.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-10-01 : 13:04:10
You're welcome.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -