dbTalk Databases Forums  

sql server agent job step that runs a dts package fails - urgent

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


Discuss sql server agent job step that runs a dts package fails - urgent in the microsoft.public.sqlserver.dts forum.



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

Default sql server agent job step that runs a dts package fails - urgent - 04-07-2005 , 11:15 PM






Hi
I have a stored procedure which runs for one and a half hours when executed
from sql server agent job. The same stored procedure runs for 10 minutes as a
dts package that gets run from sql server agent job. This is in development.
Now in test I cannot get the dts package step to run as it keeps failing
with this error:
The process could not be created for step 2 of job
0x11267FC6D743A048A98C2EA99EC096A9 (reason: The system cannot find the file
specified). The step failed.

This what I try to execute:
Exec xp_cmdshell '"\\server\c$\Program Files\Microsoft SQL
Server\80\Tools\Binn\dtsrun.exe" /S "server" /N "package" /W "0" /E '

I have searched the KB articles. Checked the owner of the package, login for
sql server agent job and its permissions to network resources, fully
qualified dtsrun.exe in the job step, made sure that there were no extra
spaces in the arguments for dstrun command.

Still no luck. Any ideas?

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

Default Re: sql server agent job step that runs a dts package fails - urgent - 04-08-2005 , 12:29 AM






You may then be experiencing this then

Service Pack and Version Compatibility Problems
(http://www.sqldts.com/default.aspx?223)



"Uma" <Uma (AT) discussions (DOT) microsoft.com> wrote


Quote:
Hi
I have a stored procedure which runs for one and a half hours when executed
from sql server agent job. The same stored procedure runs for 10 minutes as a
dts package that gets run from sql server agent job. This is in development.
Now in test I cannot get the dts package step to run as it keeps failing
with this error:
The process could not be created for step 2 of job
0x11267FC6D743A048A98C2EA99EC096A9 (reason: The system cannot find the file
specified). The step failed.

This what I try to execute:
Exec xp_cmdshell '"\\server\c$\Program Files\Microsoft SQL
Server\80\Tools\Binn\dtsrun.exe" /S "server" /N "package" /W "0" /E '

I have searched the KB articles. Checked the owner of the package, login for
sql server agent job and its permissions to network resources, fully
qualified dtsrun.exe in the job step, made sure that there were no extra
spaces in the arguments for dstrun command.

Still no luck. Any ideas?


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

Default Re: sql server agent job step that runs a dts package fails - urge - 04-10-2005 , 04:37 PM



Alan
I have got the version compatibility issue. We use Sql 2000.
Uma

"Allan Mitchell" wrote:

Quote:
You may then be experiencing this then

Service Pack and Version Compatibility Problems
(http://www.sqldts.com/default.aspx?223)



"Uma" <Uma (AT) discussions (DOT) microsoft.com> wrote in message
news:Uma (AT) discussions (DOT) microsoft.com:

Hi
I have a stored procedure which runs for one and a half hours when executed
from sql server agent job. The same stored procedure runs for 10 minutes as a
dts package that gets run from sql server agent job. This is in development.
Now in test I cannot get the dts package step to run as it keeps failing
with this error:
The process could not be created for step 2 of job
0x11267FC6D743A048A98C2EA99EC096A9 (reason: The system cannot find the file
specified). The step failed.

This what I try to execute:
Exec xp_cmdshell '"\\server\c$\Program Files\Microsoft SQL
Server\80\Tools\Binn\dtsrun.exe" /S "server" /N "package" /W "0" /E '

I have searched the KB articles. Checked the owner of the package, login for
sql server agent job and its permissions to network resources, fully
qualified dtsrun.exe in the job step, made sure that there were no extra
spaces in the arguments for dstrun command.

Still no luck. Any ideas?



Reply With Quote
  #4  
Old   
Uma
 
Posts: n/a

Default Re: sql server agent job step that runs a dts package fails - urge - 04-10-2005 , 07:35 PM



Alan
Sorry. I tried to say ' I have not got version compatibility issue'.

"Uma" wrote:

Quote:
Alan
I have got the version compatibility issue. We use Sql 2000.
Uma

"Allan Mitchell" wrote:

You may then be experiencing this then

Service Pack and Version Compatibility Problems
(http://www.sqldts.com/default.aspx?223)



"Uma" <Uma (AT) discussions (DOT) microsoft.com> wrote in message
news:Uma (AT) discussions (DOT) microsoft.com:

Hi
I have a stored procedure which runs for one and a half hours when executed
from sql server agent job. The same stored procedure runs for 10 minutes as a
dts package that gets run from sql server agent job. This is in development.
Now in test I cannot get the dts package step to run as it keeps failing
with this error:
The process could not be created for step 2 of job
0x11267FC6D743A048A98C2EA99EC096A9 (reason: The system cannot find the file
specified). The step failed.

This what I try to execute:
Exec xp_cmdshell '"\\server\c$\Program Files\Microsoft SQL
Server\80\Tools\Binn\dtsrun.exe" /S "server" /N "package" /W "0" /E '

I have searched the KB articles. Checked the owner of the package, login for
sql server agent job and its permissions to network resources, fully
qualified dtsrun.exe in the job step, made sure that there were no extra
spaces in the arguments for dstrun command.

Still no luck. Any ideas?



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

Default Re: sql server agent job step that runs a dts package fails - urge - 04-11-2005 , 12:48 AM



Set up logging in your package. Does it actually get into the package
itself or does it fail calling the package?

Why are you calling DTSRUN through a UNC?

Have you tried to log in to the server as the account which will run the
package and execute the exact same statement on the cmdline?


Allan

"Uma" <Uma (AT) discussions (DOT) microsoft.com> wrote


Quote:
Alan
Sorry. I tried to say ' I have not got version compatibility issue'.

"Uma" wrote:

Alan
I have got the version compatibility issue. We use Sql 2000.
Uma

"Allan Mitchell" wrote:

You may then be experiencing this then

Service Pack and Version Compatibility Problems
(http://www.sqldts.com/default.aspx?223)



"Uma" <Uma (AT) discussions (DOT) microsoft.com> wrote in message
news:Uma (AT) discussions (DOT) microsoft.com:

Hi
I have a stored procedure which runs for one and a half hours when executed
from sql server agent job. The same stored procedure runs for 10 minutes as a
dts package that gets run from sql server agent job. This is in development.
Now in test I cannot get the dts package step to run as it keeps failing
with this error:
The process could not be created for step 2 of job
0x11267FC6D743A048A98C2EA99EC096A9 (reason: The system cannot find the file
specified). The step failed.

This what I try to execute:
Exec xp_cmdshell '"\\server\c$\Program Files\Microsoft SQL
Server\80\Tools\Binn\dtsrun.exe" /S "server" /N "package" /W "0" /E '

I have searched the KB articles. Checked the owner of the package, login for
sql server agent job and its permissions to network resources, fully
qualified dtsrun.exe in the job step, made sure that there were no extra
spaces in the arguments for dstrun command.

Still no luck. Any ideas?




Reply With Quote
  #6  
Old   
Uma
 
Posts: n/a

Default Re: sql server agent job step that runs a dts package fails - urge - 04-11-2005 , 09:53 PM



Alan
I have set up logging at the package level. I tried to run dtsrun through a
UNC as I had this error 'system could not find the path specified' without
that. It failed trying to run the package.

I deleted the second job step and typed the whole dtsrun command again. Now
it seems to be working. Looks like I had a space somewhere in the command
string. Not sure.
This is what I have got:
SET @cmdstr = ' dtsrun /S "CENSUSTEST\CENSUSTEST" /N
"run_api_code_edit_process_load" /W "0" /E '
EXEC @errorsave = master..xp_cmdshell @cmdstr, output
and is working.
Thank you for your useful suggestions.
Uma



"Allan Mitchell" wrote:

Quote:
Set up logging in your package. Does it actually get into the package
itself or does it fail calling the package?

Why are you calling DTSRUN through a UNC?

Have you tried to log in to the server as the account which will run the
package and execute the exact same statement on the cmdline?


Allan

"Uma" <Uma (AT) discussions (DOT) microsoft.com> wrote in message
news:Uma (AT) discussions (DOT) microsoft.com:

Alan
Sorry. I tried to say ' I have not got version compatibility issue'.

"Uma" wrote:

Alan
I have got the version compatibility issue. We use Sql 2000.
Uma

"Allan Mitchell" wrote:

You may then be experiencing this then

Service Pack and Version Compatibility Problems
(http://www.sqldts.com/default.aspx?223)



"Uma" <Uma (AT) discussions (DOT) microsoft.com> wrote in message
news:Uma (AT) discussions (DOT) microsoft.com:

Hi
I have a stored procedure which runs for one and a half hours when executed
from sql server agent job. The same stored procedure runs for 10 minutes as a
dts package that gets run from sql server agent job. This is in development.
Now in test I cannot get the dts package step to run as it keeps failing
with this error:
The process could not be created for step 2 of job
0x11267FC6D743A048A98C2EA99EC096A9 (reason: The system cannot find the file
specified). The step failed.

This what I try to execute:
Exec xp_cmdshell '"\\server\c$\Program Files\Microsoft SQL
Server\80\Tools\Binn\dtsrun.exe" /S "server" /N "package" /W "0" /E '

I have searched the KB articles. Checked the owner of the package, login for
sql server agent job and its permissions to network resources, fully
qualified dtsrun.exe in the job step, made sure that there were no extra
spaces in the arguments for dstrun command.

Still no luck. Any ideas?





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

Default Re: sql server agent job step that runs a dts package fails - urge - 04-12-2005 , 12:25 AM



Little things like that can be hard to track down. Glad you sorted it.

Allan

"Uma" <Uma (AT) discussions (DOT) microsoft.com> wrote


Quote:
Alan
I have set up logging at the package level. I tried to run dtsrun through a
UNC as I had this error 'system could not find the path specified' without
that. It failed trying to run the package.

I deleted the second job step and typed the whole dtsrun command again. Now
it seems to be working. Looks like I had a space somewhere in the command
string. Not sure.
This is what I have got:
SET @cmdstr = ' dtsrun /S "CENSUSTEST\CENSUSTEST" /N
"run_api_code_edit_process_load" /W "0" /E '
EXEC @errorsave = master..xp_cmdshell @cmdstr, output
and is working.
Thank you for your useful suggestions.
Uma



"Allan Mitchell" wrote:

Set up logging in your package. Does it actually get into the package
itself or does it fail calling the package?

Why are you calling DTSRUN through a UNC?

Have you tried to log in to the server as the account which will run the
package and execute the exact same statement on the cmdline?


Allan

"Uma" <Uma (AT) discussions (DOT) microsoft.com> wrote in message
news:Uma (AT) discussions (DOT) microsoft.com:

Alan
Sorry. I tried to say ' I have not got version compatibility issue'.

"Uma" wrote:

Alan
I have got the version compatibility issue. We use Sql 2000.
Uma

"Allan Mitchell" wrote:

You may then be experiencing this then

Service Pack and Version Compatibility Problems
(http://www.sqldts.com/default.aspx?223)



"Uma" <Uma (AT) discussions (DOT) microsoft.com> wrote in message
news:Uma (AT) discussions (DOT) microsoft.com:

Hi
I have a stored procedure which runs for one and a half hours when executed
from sql server agent job. The same stored procedure runs for 10 minutes as a
dts package that gets run from sql server agent job. This is in development.
Now in test I cannot get the dts package step to run as it keeps failing
with this error:
The process could not be created for step 2 of job
0x11267FC6D743A048A98C2EA99EC096A9 (reason: The system cannot find the file
specified). The step failed.

This what I try to execute:
Exec xp_cmdshell '"\\server\c$\Program Files\Microsoft SQL
Server\80\Tools\Binn\dtsrun.exe" /S "server" /N "package" /W "0" /E '

I have searched the KB articles. Checked the owner of the package, login for
sql server agent job and its permissions to network resources, fully
qualified dtsrun.exe in the job step, made sure that there were no extra
spaces in the arguments for dstrun command.

Still no luck. Any ideas?






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.