I am getting an error trying to use an Execute SQL task to send an XMLA command to my SSAS (2012) database.
The error is:
Error:0xC00291D6 at Execute XMLA, Execute SQL Task: Cannot locate a handler for the
specified connection type.
When I run SQL Profiler while running the package, it shows that the SSAS database never
receives the XMLA command, so the problem must be in making the connection,
right?
The connection string I am using is like this:
Provider=MSOLAP.5;Data Source=MyServerName;Integrated Security=SSPI;Initial
Catalog=MySSASDatabaseName;Impersonation Level=Impersonate;Application
Name=SSIS For SSAS
When I enter this connection string into the connection manager and click "Test
Connection", I get a success message.
I am setting the connection string with a variable that is populated from a .config
file, but I am running the package in the debugger, breaking on the Pre-Execute
of the Execute SQL task, and am pasting the value of the connection string
variable into this post (with value changes for security).
So what can the problem be, or what can I do to investigate further? SSIS is
frustratingly opaque when debugging in this case. Does anybody know what kind
of things can be happening under the hood when this error is raised?
-Tab Alleman