Link to home
Start Free TrialLog in
Avatar of QPR
QPRFlag for New Zealand

asked on

Not associated with a trusted SQL Server connection.

I have added a new server registration and all is running fine for this new instance and the app that uses it.
However, I open QA and I connect to server X and run....

select * from y.myTable (Y is the new instance)
and I get the error...
Server: Msg 18452, Level 14, State 1, Line 1
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.

Both servers have windows and sql authority.
I am logged on as myself and am a member of SA on both boxes.
Any ideas?
Avatar of QPR
QPR
Flag of New Zealand image

ASKER

I fixed it!
Under server X security within linked servers, Y was listed. However it was listed as connecting under current security.
I checked another box and thatw as set to connect using the SA uname/pwd.

So 500 points to whoever can explain what that is and what I just did please :)
ASKER CERTIFIED SOLUTION
Avatar of GranMod
GranMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial