![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm experimenting with programmatic ways of updating cube data. I came across an example in SQL Books Online. I clone a temporary partition, point it to the desired fact table that has additional data, and then attempt to process it. But when I call the Process method I get an Interop error telling me that I have an "Invalid fact table alias". If I just process the partition via Analysis Manager then it's fine. Does anyone know what's going on here. |
#3
| |||
| |||
|
|
My advice is to get the Metadata Scripter that is contained on the SQL Server 2000 Resource Kit (available on a TechNet Resource Kit CD/DVD, or at your local bookstore :-) It will take a AS object and reverse engineer it into a VB program to re-create it. So your steps would be: 1) Run AM and create the partition 2) Run the metadata scripter and generate a matching VB program. Let's call it "Program A". 3) Run AM and delete the partition. 4) Run your application and create the partition 5) Run the metadata scripter and generate a matching VB program. Let's call it "Program B" If you compare Program A with Program B (use a tool like windiff for this), I am sure that you will find that there is some property that you have not setup properly. Hope that helps. -- Dave Wickert [MS] dwickert (AT) online (DOT) microsoft.com Program Manager BI Practices Team SQL BI Product Unit (Analysis Services) -- This posting is provided "AS IS" with no warranties, and confers no rights. "Ves Sladin" <VesSladin (AT) friedrichklatt (DOT) com> wrote in message news:%23RjAr7n8DHA.2116 (AT) TK2MSFTNGP10 (DOT) phx.gbl... I'm experimenting with programmatic ways of updating cube data. I came across an example in SQL Books Online. I clone a temporary partition, point it to the desired fact table that has additional data, and then attempt to process it. But when I call the Process method I get an Interop error telling me that I have an "Invalid fact table alias". If I just process the partition via Analysis Manager then it's fine. Does anyone know what's going on here. |
![]() |
| Thread Tools | |
| Display Modes | |
| |