Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 2nd, 2005, 12:00 PM
Registered User
 
Join Date: Aug 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trusted connection between servers

Hi all,

Stupid question:

I want to select data from another SQL Server (for now, I'll be happy to do this through Query Analyzer), so I have something like:

select * from [server].[database].[dbo].[table]

Everytime, I get an error message:

Server: Msg 18452, Level 14, State 1, Line 1
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.


However, when I manually connect to the other server using Windows authentication (for the same user), and I run:

select * from [database].[dbo].[table]

it works.

I saw similar posts on here before, but nothing I tried seemed to fix my problem.

Any idea what might be wrong?

Thanks,
Calli.

 
Old August 5th, 2005, 06:15 AM
Registered User
 
Join Date: Aug 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

This link may help u.

http://geekswithblogs.net/ranganh/ar.../25/40489.aspx

koushikroy





Similar Threads
Thread Thread Starter Forum Replies Last Post
Using trusted connection with DTS scripts Crowandazi SQL Server DTS 0 June 3rd, 2005 10:17 AM
Trusted connection Mary SQL Server 2000 1 August 30th, 2004 05:22 PM
Login Failed: Not assoc. w/ Trusted Connection xgbnow Pro VB Databases 4 March 4th, 2004 11:52 AM
sa is not the part of trusted connection mikeparams SQL Server 2000 7 December 23rd, 2003 08:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.