dbTalk Databases Forums  

calling DTS package from sp gives an error

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


Discuss calling DTS package from sp gives an error in the microsoft.public.sqlserver.dts forum.



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

Default calling DTS package from sp gives an error - 05-17-2006 , 09:27 AM






Hi!

I am running a sp which calls a DTS package at the end with following
code:

EXEC Xp_Cmdshell 'DTSRUN /E /NERROR_FILE_PROVIDERS'
GO

After I run the sp it gives me this error message:

Server: Msg 2812, Level 16, State 62, Line 124
Could not find stored procedure 'Xp_Cmdshell'.

What am I doing wrong?

Any help would be greatly appreciated.

TG


Reply With Quote
  #2  
Old   
TG
 
Posts: n/a

Default Re: calling DTS package from sp gives an error - 05-17-2006 , 10:23 AM






fixed.

it should be

EXEC master.dbo.Xp_Cmdshell 'DTSRUN /E /NERROR_FILE_PROVIDERS'


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.