One of the things this blog intends to do is help speed up the troubleshooting process by documenting strange errors like this.
Here's an interesting error message that came up today which has surprisingly little web coverage.
"Unable to cast object of type 'Microsoft.AnalysisServices.DsvTableBinding' to type 'Microsoft.AnalysisServices.QueryBinding'.
It is caused by trying to apply a querystring to an existing partition that is not query-driven in OMA. In this case, an SSIS 2005 vb.net app that builds partitions (by the hundreds for me) into a cube. Like many things, its one of those spend a while then slap your forehead problems that makes a ton of sense. Obviously, I can't set the partition query of a partition that is table-bound.
I do plan to post my ssis app once I am done with it. But until then, here's the blog post that inspired it.
"No question is so difficult to answer as that to which the answer is obvious." -George Bernard Shaw