Hi there, hope someone can help as I've been tearing my hair out for the last day or so now...I believe the root cause is a SSIS/SQL related problem
I'm currently having a problem with executing a package which I'm creating dynamically in C# using the ezapi interface. This calls child packages (via Execute Package tasks) already sitting in the msdb database to complete the process. I generate the package via the web app, save it to the database and then call its .Execute() method to start the operation.
This all worked fine testing locally with the web app and visual studio's cassini. I deployed to a test server and an error kept popping up - 'login failed for 'domain\webserver$'. I reverted back to my local machine and switched to IIS and the same error occurred. This seemed to be a case of access permissions to the sql box as I forced the app pool to run as my windows logon (which has admin rights on the sql box) and this error went away.
I'm using an environment variable on the sql box for my configuration connection string and populating the connection managers connection strings from a sql table (these are either ado/ado.net connection strings using sql login credentials).
Now when I run the package, it falls over almost instantly when it tries to execute the first child package with the error
ErrorCode -1073602332
"Error 0xC001000A while preparing to load the package. The specified package could not be loaded from the SQL Server database."
All the packages are saved with server storage protection level.
It's odd as if I run the package from SSMS I get the same error but via BIDS/VS it runs through fine. Do I need to set up some kind of proxy account?
Any guidance would be most appreciated :-)