I have developped an SSIS package running on SQL Server 2014 on Windows server 2012. When I start the package in VS 2013 environment it works fine. I deployed the package to SSISDB and tried to run it from there, still successfully. But When I tried to launch my package from dtexec with the following statement in SSMQ the below error is displayed:
EXEC xp_cmdshell 'dtexec /ISSERVER
"\SSISDB\MyFolder\MyProject\PKG Sales Debit.dtsx" /SER "ServerName\Instance" '
Error Message:
Remove Batch Worksheet:Error: Executing the query "Drop Table `Batch`" failed with the following error: "Cannot modify the design of table `Batch`. It is in a read-only database" Possible failure reasons: Problens with the query, "ResultSet" property not set correctly, parameters not set correclty, or connection not established correclty.
The drop batch is an execute sql task to remove worksheet named Batch in an excel file.