dbTalk Databases Forums  

DTSRUN Problem

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


Discuss DTSRUN Problem in the microsoft.public.sqlserver.dts forum.



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

Default DTSRUN Problem - 01-15-2004 , 07:32 AM






I have a Stored procedure tha call a DTS package using
dtsrun
ie
exec
master..xp_cmdshell 'dtsrun /SsqlSERVER\Instance /Usa /Ppas
sword /Nget_spscripts /Agv_campid="C1"'
when run on the Production server I get the following
error

Error string: The specified DTS Package ('Name = 'M001
sp_dets'; ID.VersionID = {[not specified]}.{[not
specified]}') does not exist.

but whe run on other severs it works OK

Any ideas what to check for


Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTSRUN Problem - 01-15-2004 , 07:41 AM






So you specify a package name of get_spscripts and DTSRUN says it cannot
find m001.....?

Do you execute another package inside this package ?

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Allan" <Allen.penston (AT) sitel (DOT) co.uk> wrote

Quote:
I have a Stored procedure tha call a DTS package using
dtsrun
ie
exec
master..xp_cmdshell 'dtsrun /SsqlSERVER\Instance /Usa /Ppas
sword /Nget_spscripts /Agv_campid="C1"'
when run on the Production server I get the following
error

Error string: The specified DTS Package ('Name = 'M001
sp_dets'; ID.VersionID = {[not specified]}.{[not
specified]}') does not exist.

but whe run on other severs it works OK

Any ideas what to check for




Reply With Quote
  #3  
Old   
 
Posts: n/a

Default DTSRUN Problem - 01-15-2004 , 09:39 AM



Yes it does call another dts package that is on the same
server
Quote:
-----Original Message-----
I have a Stored procedure tha call a DTS package using
dtsrun
ie
exec
master..xp_cmdshell 'dtsrun /SsqlSERVER\Instance /Usa /Ppa
s
sword /Nget_spscripts /Agv_campid="C1"'
when run on the Production server I get the following
error

Error string: The specified DTS Package ('Name = 'M001
sp_dets'; ID.VersionID = {[not specified]}.{[not
specified]}') does not exist.

but whe run on other severs it works OK

Any ideas what to check for

.


Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTSRUN Problem - 01-15-2004 , 09:48 AM



Is this the package that is referenced in the error message?

Is it using the ExecutePackage task?

Make it name dependent only.

Make the Execute Package Task name dependent only
(http://www.sqldts.com/default.aspx?216)

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


<anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Yes it does call another dts package that is on the same
server
-----Original Message-----
I have a Stored procedure tha call a DTS package using
dtsrun
ie
exec
master..xp_cmdshell 'dtsrun /SsqlSERVER\Instance /Usa /Ppa
s
sword /Nget_spscripts /Agv_campid="C1"'
when run on the Production server I get the following
error

Error string: The specified DTS Package ('Name = 'M001
sp_dets'; ID.VersionID = {[not specified]}.{[not
specified]}') does not exist.

but whe run on other severs it works OK

Any ideas what to check for

.




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.