Solved

How do you correctly link two SQL Servers with Domain

Posted on 2007-03-19
3
179 Views
Last Modified: 2010-03-19
I need to know how to correctly link two SQL servers in this environment.

PC #1
SQL Server 2005 x64
Windows 2003 Server Ent ed (domain controller)
Mixed Mode Authentication

PC #2
SQL Server 2000 SP4
Windows 2003 Std Ed (member server)
Mixed Mode Authentication

What I need is to link the two servers together so users can query across the PC's.  I currently can query some from PC #1 to PC #2, but with limited results.   This is based on SQL authentication not Domain.   How do you set up the domain authentication to work correctly?
0
Comment
Question by:pamsauto
  • 2
3 Comments
 
LVL 10

Expert Comment

by:TAB8
ID: 18751544
Set up PC2 as a linked server on PC1 ...
http://msdn2.microsoft.com/en-us/library/aa213778(SQL.80).aspx 
also check ..
http://support.microsoft.com/default.aspx?scid=kb;en-us;329332&Product=sql to setup the correct dtc security on PC1
0
 

Author Comment

by:pamsauto
ID: 18752014
Well we have all that done and I can do a query from the PC#1 to PC#2, but not from PC#2 to PC#1.  I am getting this error, which I can find very little about on the web.

Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'SQLOLEDB' reported an error.  
[OLE/DB provider returned message: Unspecified error]
OLE DB error trace [OLE/DB Provider 'SQLOLEDB' IDBInitialize::Initialize returned 0x80004005:   ].

Any ideas on what to check?
0
 
LVL 10

Accepted Solution

by:
TAB8 earned 500 total points
ID: 18753475
You will have to set up a linkes server on PC#2 to PC#1 as well if you want to query both ways
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now