Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Execute the XMLA code through SSIS package


Execute the XMLA code through SSIS package

Author
Message
shyamhr
shyamhr
Valued Member
Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)

Group: General Forum Members
Points: 60 Visits: 314
We have a table column that has a column with XMLA code as shown in XMLA figure. I am using a E-SQL task with a full result set mode and a variable(query variable) of type object to store all the xmla queries from the table.

I have a For each Container loop next to it. The input will be "Foreach ADO Enumerator" plus rows in the first table. Plus I have the query variable configured to it.

In the variable Mapping of For each loop container I have the query variable with index 0 assigned to it.

However the package runs to success but the Execute DDL command does not turn gets exected as a result it is like the way shown in Task figure.

Please help me understand what am I missing ? Should I use a Script task to execute the xmla code one by one ? Please guide me.
Attachments
Task.jpg (5 views, 17.00 KB)
XMLA.jpg (4 views, 63.00 KB)
shyamhr
shyamhr
Valued Member
Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)Valued Member (60 reputation)

Group: General Forum Members
Points: 60 Visits: 314
The Execute DDL tasks fails and I get the error message like this:
[Analysis Services Execute DDL Task] Error: The System.__ComObject text node at line 7, column 34 cannot appear inside the Command element (namespace urn:schemas-microsoft-com:xml-analysis) under Envelope/Body/Execute. This element can only have text nodes containing white-space characters.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search