dbTalk Databases Forums  

OLE DB provider "SQLNCLI" for linked server "(null)" returned message "Unspecified error".

microsoft.public.sqlserver.odbc microsoft.public.sqlserver.odbc


Discuss OLE DB provider "SQLNCLI" for linked server "(null)" returned message "Unspecified error". in the microsoft.public.sqlserver.odbc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Andrea Rivetti - Zeta Bi Internet
 
Posts: n/a

Default OLE DB provider "SQLNCLI" for linked server "(null)" returned message "Unspecified error". - 03-16-2010 , 05:35 AM






I want to update with same tables an online sql server with local data of a
software.

The online and local tables structures are the same, the name of the table
also.

I receive this error:

Errore -2147217900
OLE DB provider "SQLNCLI" for linked server "(null)" returned message
"Unspecified error".

the code is:

set connACC=Server.createobject("adodb.connection")
connNostrosql1 = "Provider=SQLOLEDB;Data
Source=**.**.**.**;database=030918ferwoodsrl;uid=* *;pwd=**;"
connACC.Open connNostrosql1

INSERT INTO MAGAnagraficaArticoli SELECT * FROM
OPENDATASOURCE('SQLOLEDB','Data Source=***.***.***.**;User
ID=***;Password=***).ferwoodsrl.dbo.MAGAnagraficaA rticoli where
UltimaModifica >= '1/2/2010 10:00:54' and NCPWeb <> 0

in our server (insert into) there is sql server 2005 , in local server there
is sql server 2000.





Andrea Rivetti -------------------------- Zeta Bi srl Marketing & ADV
Aderente a Confindustria Direzione e Uffici: Via dell'Acquedotto, 2/b -
12051 - Alba (Cn) -Italy Tel.: +39 0173.440953 - Fax: +39 0173.280381
Website: www.zbservizi.net - rivetti (AT) zbservizi (DOT) net Reg.impr di Cuneo
02800170041 - P.I.: 02800170041 Cap.Soc. 20.000? i.v. - REA 237570

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.