Re: SSIS as part of scheduled job fails



I posted this in another thread, but this looks like the same issue so I'm
copying the message here:

I encountered the same problem, even on the same server upon deployment.
I ended up contacting Microsoft and opening a support case. After a couple
of hours on the phone, we found that if the SSIS Package's Security setting
"ProtectionLevel" was set to EncryptAllWithUserKey or
EncryptSensativeWithUserKey that the passwords would actually be lost. This
has to do with the fact that the SQL Server Agent process on your server is
running as a different user and cannot validate the user key basically. What
I ended up having to do is switch the Security ProtectionLevel to use
EncryptAllWithPassword or EncryptSensativeWithPassword and specify a
password for the package. I then re-deployed to SQL.

How I scheduled the Job also had to change. I could no longer specify my
package as a SSIS Step in a Job. I had to make my Job execute an "Operating
System (CmdExec)". The command line was :

C:\Program Files\Microsoft SQL Server\90\DTS\Binn\DTExec.exe /DTS
"\MSDB\YOURPACKAGEHERE" /SERVER Q /DECRYPT YOURPASSWORDHERE /MAXCONCURRENT
" -1 " /CHECKPOINTING OFF /REPORTING V

It seems like very much a work-around, but that's roughly the way I was told
to keep the protected passwords. My support case person spoke with the
engineers and that was the desired result evidently. They are working on
documenting the Security Levels more though, as this seems to be coming up a
lot. I honestly wouldn't be suprised if something in Security levels changed
in SP2.


Hope this helps.


"Joe S." <joecrew@xxxxxxxxxxxxxx> wrote in message
news:45738B3D-3021-4E7C-A81F-155792D04CC5@xxxxxxxxxxxxxxxx
I have created a simple import job that first truncates three tables and
then
imports update data into those tables from an Access database. My problem
is
that the job fails on when running the SSIS import package. The import
works
when I create the package, but not from within the jop. I believe it might
be
the account the job is run under, but I cannot change that, since it
always
reverts back to running under the local system account. WHen looking at
the
job history I see that the truncate step runs under NT Authority/system
while
the SSIS package is listed as running under Athena/system (athena is the
server name). I had to correct a problem with the Reporting Service being
installed with a simular error and not being able to run until I changed
the
config file to have NT Authority/system as the user account.


.



Relevant Pages

  • Re: >> SSIS Error Report
    ... errors and add one of these destination controls to the error branch ... of each SSIS control. ... the import wizard, not developing the packages yourself .. ... One thing you could try is to save the package created by the wizard ...
    (microsoft.public.sqlserver.dts)
  • Re: SqlServer 2005: Want to set up SSIS job to import flat file data into 18 tables on a nightly bas
    ... > Package Execution and Checkpoints. ... I'd like to use SSIS ... >>and successfully imported the flat file into the database table. ... >>using the BI Designer debugger ... ...
    (microsoft.public.sqlserver.dts)
  • Re: >> SSIS Error Report
    ... errors and add one of these destination controls to the error branch ... of each SSIS control. ... the import wizard, not developing the packages yourself .. ... One thing you could try is to save the package created by the wizard ...
    (microsoft.public.sqlserver.dts)
  • SSIS: Flat File columns change positions
    ... months, but sometimes every 6 months or every year), so I design ssis ... packages for each client's project to easily import their update data. ... Trying to import this client's update data, the SSIS package stopped with ... Is there any way to design the SSIS package so that it will read the column ...
    (microsoft.public.sqlserver.dts)
  • Re: Unable to get Sql Server Agent Job to run a SSIS Package
    ... Are you using the SSIS job step? ... Can you go to the server and execute this in Bids or wherever and see what you get? ... to create a SSIS package. ... SSIS packages that get run via a Sql Server Agent Job. ...
    (microsoft.public.sqlserver.dts)