I am trying to execute a very simple stored procedure from a SSIS 2012 Execute SQL Task. I have reduced the procedure to a stub to troubleshoot this - no parameters or result set. The procedure simply updates a single field in a table. I am using an OLE DB connection and the SQL statement is "EXECUTE dbo.MyProcedure". Could not be simpler. When I run the package from visual studio no errors are generated but the proc has not run.
Some clues: If I click "Build Query" from the task editor I get "The EXECUTE SQL construct or statement is not supported." If I click "OK" and run the query from the query builder screen it succeeds and the proc has run! I can see the update in the table.
When running the package from visual studio I can see the "EXECUTE dbo.MyProcedure" call in SQL Profiler but the proc does not run!
Has anyone encountered this?
Thanks!