hello everyone:
There is an problems while using XML task in SSIS. The steps I use are as following:
- I created an XML task in a package;
- Fill the "input": OperationType: XSLT, Source Type: file connection(the existing XSLT file contains script elements)...
- "output" SaveOperationResult: false. Second Operand: fileconnection....
the task setting is quite simple, here is my xlst file like:
however, I got error message:
SQL Server 2008, VS2008:
[XML Task] Error: An error occurred with the following error message: "Could not load file or assembly 'en9eam6s, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)".
SQL SERVER 2012, VS 2010:
[XML Task] Error: An error occurred with the following error message: "Execution of scripts was prohibited. Use the XsltSettings.EnableScript property to enable it"
Additionally, if I remove all the script elements(declaration and call) out of XSLT, the task runs successfully.
So can SSIS XML Task using XSLT WITH SCRIPT. Please help and give advice.
thank you
similar questions here: