sql server 2008 r2 - Access denied SSIS w/ Parameters via xp_cmdshell -


i have searched , down solution , cannot find helps. have tried doesnt seem work.

i have 2 database. cannot modify database adding table or that. cannot enable cross-database access. believe cant use sp.start_job because need pass parameters. able enable xp_cmdshell.

my database definition:

database      - order table  database b      - email notification table   

what need do:

any time order entered database a, need enter row database b values of order. need have parameters 

what have tried:

- xp_cmdshell @query='dtexec /f "\\server\folder\ssis packages\order confirmations\order confirmations\package.dtsx" /decrypt password'    1. error saying access denied.  tried setting sp_xp_cmdshell_proxy_account (##xp_cmdshell_proxy_account##) account has access network drive file stored, no luck.    2. whoami.exe shows nt/authority \system instead of proxy account.    3. grant execute on xp_cmdshell [mydomain\myaccount] didnt have affect. 

whoami results

xp_cmdshell results

any suggestions? job runs fine if set sql server agent. call xp_cmdshell trigger on database table orders enter data database b , fire off email sp_send_dbmail if conditions met.

the way find (without resturcturing permissions in sql , network give read/execute permission sql server. not ideal solution, works.

hope helps someone


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -