Re:Distributed Queries
From: Vishal Parkar (vgparkar@hotmail.com)
Date: 11/18/02
- Next message: John: "Re: SQL 7 Encryption Using Multiprotocol Network Library"
- Previous message: vikram: "Distributed Queries"
- In reply to: vikram: "Distributed Queries"
- Next in thread: Vikram: "Re:Distributed Queries"
- Reply: Vikram: "Re:Distributed Queries"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Vishal Parkar" <vgparkar@hotmail.com> Date: Sun, 17 Nov 2002 23:06:12 -0800
Make sure the current connection you've made to local
server is through Windows NT login and this Username has
right to connect to remote server, or User name is added
as a login on remote server and has appropriate rights to
access the database.
--Vishal
>-----Original Message-----
>
> I have written a com+ component which basically executes
>SQL Queries.
>
> The set up that i have is as follows.
>
> Two Machines with SQL server 2000 installed.
>
>what i want to do is copy tables from one database on
>source to target machine database.
>
>Query which i am running is as follows
>
>INSERT INTO dbnames.dbo.tablename
>SELECT * FROM OPENDATASOURCE('SQLOLEDB','INTEGRATED
>SECURITY=SSPI;Server=Vikraml').dbnames.dbo.tablename
>
>Com+ component is always connected to target SQL Server db
>When is run this query from the com+ component from the
>source machine it gives me a error
>
>Login Failed NT Authority / Anonymous logon
>
>I have already set authentication modes for both Servers
>to Windows Authentication.
>
>
>
>
>
>.
>
- Next message: John: "Re: SQL 7 Encryption Using Multiprotocol Network Library"
- Previous message: vikram: "Distributed Queries"
- In reply to: vikram: "Distributed Queries"
- Next in thread: Vikram: "Re:Distributed Queries"
- Reply: Vikram: "Re:Distributed Queries"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|