sql server - SSIS package execution succeeds but doesn't do its job -


i use sql server agent fill tables in datawarehouse. have 50 steps in job , every step run proxy account. , every step works correctly besides one:

ssis package contains 20 execute sql tasks execute procedure. have in execute sql task:

declare @rc int  declare @fordate datetime = null  declare @tablename sysname = 'd_entity'  declare @datafolder varchar(1024) = 'c:\mountpoints1\src_etl\'  declare @logfolder varchar(1024) = 'c:\mountpoints1\src_etl\'  declare @debug bit = 0  execute @rc = [dbo].[etl1a_hr]   @fordate ,@tablename ,@datafolder ,@logfolder ,@debug go 

the thing is, if execute package ssis catalog, works ok. if run job, succeeds, deletes tables, doesn't fill it. seems procedure stops somewhere in middle.

any ideas? please advise, took me days trying solve this...

i think maybe related permissions. executing ssis package use security context running agent impersonates credentials defined in proxy, , runs job step using security context.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -