Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
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.
I wanted to be able to select data from server A and insert into server B, so in server B I ran this procedure:sp_addlinkedserver @server ='BSCCMARS' , @srvproduct = '' , @provider = 'SQLOLEDB' , @datasrc = 'BSCCMARS' , @location = '' , @provstr = 'BSCCMARS'(1 row(s) affected)and then did (still in server B):insert into dbnameB.dbo.rawdata select * from bsccmars.dbnameA.dbo.rawdataand I got this error:Server: Msg 7399, Level 16, State 1, Line 1OLE DB provider 'SQLOLEDB' reported an error. [OLE/DB provider returned message: Invalid connection string attribute]OLE DB error trace [OLE/DB Provider 'SQLOLEDB' IDBInitialize::Initialize returned 0x80004005: ].Did I input anything wrong in sp_addlinkedserver? Please help.