dbTalk Databases Forums  

Running SSIS Package using a scheduled Job

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


Discuss Running SSIS Package using a scheduled Job in the microsoft.public.sqlserver.dts forum.



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

Default Running SSIS Package using a scheduled Job - 05-22-2006 , 01:44 AM






Hi, I have created a SSIS package. The connection used in the SSIS is SQL
Authenticated. This runs perfectly when executed even after it is deployed.
However, I face problems when I want to execute this package as a job. The
error I get is - "Login failed for user - <user name>".

While creating a step as part of the job, if i select the "Package Soruce"
as "SSIS Package Soruce", then the SQL Authentication option is disabled. I
am forced to use Windows Authentication.

However, I have noticed that if I use Windows Authentication through out,
i.e. when i create the connection within SSIS Package, while deploying the
SSIS package and while creating the step in the Job, all goes fine.
Unfortunately, this is not what i want. All the connections should be SQL
Authenticated as against Windows Authentication.

Please help! Thanks!
Manjunath Basrur

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

Default Re: Running SSIS Package using a scheduled Job - 05-23-2006 , 08:41 AM






Manjunath,

Try running the package with CmdExec with dtexec. Search Books on Line
for "dtexec" to get the full description of all options. For example,
there are options to use SQL Authentication and set the username and
password to run the package.

Bill E.
Hollywood, FL


Reply With Quote
  #3  
Old   
Manjunath Basrur
 
Posts: n/a

Default Re: Running SSIS Package using a scheduled Job - 05-24-2006 , 03:26 AM



Thanks Bill! Appreciate it. However, I do not have a problem running the
package by itself with SQL Authentication. I get the problem the moment I put
the package as part of a job. If I have used Windows Authentocation in the
connection manager for the data flow tasks within the SSIS package, and then
put this in a job, all goes well. Hope i have explained my problem clearly.
Please do let me know if there is anything else I need to do which I am
overlooking. I will look for more material as suggested by you. In the
meantime, if you get anything, please let me know. Thanks once again.

Manjunath Basrur

"billmiami2 (AT) netscape (DOT) net" wrote:

Quote:
Manjunath,

Try running the package with CmdExec with dtexec. Search Books on Line
for "dtexec" to get the full description of all options. For example,
there are options to use SQL Authentication and set the username and
password to run the package.

Bill E.
Hollywood, FL



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.