dbTalk Databases Forums  

DTSRUN command error

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


Discuss DTSRUN command error in the microsoft.public.sqlserver.dts forum.



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

Default DTSRUN command error - 01-07-2004 , 07:01 PM






Hi,

We are trying to schedule a DTS Pasckage....
When we gave DTSRUN /S (our server name) /N (our package name) , we are
getting the error as " Incorrect syntax near '/' ".
We are using SQL server 2000 and windows authentication.
What is the command do we have to use for this case ?

Thanks



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

Default Re: DTSRUN command error - 01-08-2004 , 02:11 AM






I always use

DTSRUN /E /SMyServer /NMyPackage


--

----------------------------

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


"Test" <generalofmine (AT) yahoo (DOT) com> wrote

Quote:
Hi,

We are trying to schedule a DTS Pasckage....
When we gave DTSRUN /S (our server name) /N (our package name) , we are
getting the error as " Incorrect syntax near '/' ".
We are using SQL server 2000 and windows authentication.
What is the command do we have to use for this case ?

Thanks





Reply With Quote
  #3  
Old   
twil
 
Posts: n/a

Default Re: DTSRUN command error - 01-09-2004 , 03:41 PM



If your package name has spaces in it, try enclosing it in quotes as shown

DTSRUN /S ServerName /N "Package Name" /E

Reply With Quote
  #4  
Old   
Darren Green
 
Posts: n/a

Default Re: DTSRUN command error - 01-12-2004 , 04:49 PM



In message <uO0nurX1DHA.2528 (AT) TK2MSFTNGP10 (DOT) phx.gbl>, Test
<generalofmine (AT) yahoo (DOT) com> writes
Quote:
Hi,

We are trying to schedule a DTS Pasckage....
When we gave DTSRUN /S (our server name) /N (our package name) , we are
getting the error as " Incorrect syntax near '/' ".
We are using SQL server 2000 and windows authentication.
What is the command do we have to use for this case ?

Thanks

If you want help with the dtsrun command line syntax, try the DTSRUNUI
tool. Just type DTSRUNUI in the Windows Run command box. Select the
server and package options, and then click Advanced. Now use the command
line generation option available. Note that you can remove the optional
parameters in the generated command line, but as a start point is
guaranteed to work.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



Reply With Quote
  #5  
Old   
Jim Peters
 
Posts: n/a

Default Re: DTSRUN command error - 01-13-2004 , 10:29 AM



Try running dtsrunui(user interface for dtsrun), then
choose advanced options and click the bottom option. A
command line will be generated and should give you an
idea of the syntax for what you need to do.

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.