dbTalk Databases Forums  

SQL job to access linked server

microsoft.public.sqlserver.server microsoft.public.sqlserver.server


Discuss SQL job to access linked server in the microsoft.public.sqlserver.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mrdj
 
Posts: n/a

Default SQL job to access linked server - 12-07-2005 , 10:25 AM






I have a stored procedure that calls remote query using a linked server. It
works fine when I run it manually through the Query analyzer window, but when
ever I try to schedule it as a job it fails with:
Could not create an instance of OLE DB provider 'IBMDASQL'. [SQLSTATE
42000] (Error 7302) (Error 7302) OLE DB error trace [Non-interface error:
CoCreate of DSO for IBMDASQL returned 0x80040154]. [SQLSTATE 01000] (Error
7300). The step failed.

we have a similar process that use the same method and they run fine in the
scheduler, so what makes this proc different? any suggestions/thoughts would
be highly appreciated. I have also tried creating the job using the same
service account that runs SQL Service


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.