dbTalk Databases Forums  

use xp_cmdshell to run BulkExport

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss use xp_cmdshell to run BulkExport in the microsoft.public.sqlserver.dts forum.



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

Default use xp_cmdshell to run BulkExport - 09-13-2004 , 10:42 PM






hi,
I get errors while executing BulkExport via store procedure , xp_cmdshell.
Below are some error messages,
DTSRun OnError: BulkExport_P_Step, Error = 440 (1B8)
Error string: Automation error

I also execute the same package in DOS command, and it works.

I have BulkExport executed on main package thread.

Any ideas ?

TIA




Reply With Quote
  #2  
Old   
Ilya Margolin
 
Posts: n/a

Default Re: use xp_cmdshell to run BulkExport - 09-14-2004 , 08:49 AM






Steffi,

DOS uses you windows session account and xp_cmdshell uses SQL Server service
account. Make sure the service account has access to whatever is important
to BulkExport.

Ilya

"Steffi" <steffibev (AT) hotmail (DOT) com> wrote

Quote:
hi,
I get errors while executing BulkExport via store procedure ,
xp_cmdshell.
Below are some error messages,
DTSRun OnError: BulkExport_P_Step, Error = 440 (1B8)
Error string: Automation error

I also execute the same package in DOS command, and it works.

I have BulkExport executed on main package thread.

Any ideas ?

TIA






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 - 2012, Jelsoft Enterprises Ltd.