![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, Want to replace the facts table in an existing, built cube with another table that's almost identical. And where the changed columns (in the new table) are not involved in any of the existing dimensional joins. In the Cube Editor, if you click in the facts table box below any of the column names, you'll find a Replace item in the context menu. This then allowed me to navigate (through my Data Source) to the new table that I want to use. Put it in and the name changes. However, when I then try any operation on this cube (Process, Save, etc) I get a very simple failure message saying "Internal Error". I've seen this before. And my solution was to find; dig out; and use the MetaDataScripter. (or rather dump out the script; make sure that various names were consistent [which were not]; and then run the script with consistent names). So I figure out again how to register the DLL/Add-in for MetaDataScripter and I dump out the metadata for the cube (not db) in question. Find the appropriate spot again in MetaDataScripter's ScriptFooter_Routines.bas where one inserts the script generated previously. VB (6.0 SP6) crashes. Repeatedly. I count the number of lines of script code that were generated - something on the order of 86,000. Yes I can see how this might crash vb. I try copying in the script code in chunks of 20,000 at-a-time. This doesn't help - it still crashes. So ... various ideas 1) how to somehow increase the memory allocation for VB6.0 so that this amount of inserted code doesn't make it crash. 2) go back to Analysis Mgr and figure out some better way of replacing the facts table that doesn't produce an unusable cube. 3) I tried taking a subset of the generated script code and inserted this into VB (I had taken out the Aggregation stuff since it's by far the largest piece and I figured this might regenerate when I re-Process). And even with this truncated amount of code, I get (another new VB experience). ROUTINE TOO LONG. But maybe there's still a way of targeting my DSO changes (only want to change the name of the facts table) so that it doesn't break whatever programming environment I'm using. pat |
#3
| |||
| |||
|
|
Hi, Want to replace the facts table in an existing, built cube with another table that's almost identical. And where the changed columns (in the new table) are not involved in any of the existing dimensional joins. In the Cube Editor, if you click in the facts table box below any of the column names, you'll find a Replace item in the context menu. This then allowed me to navigate (through my Data Source) to the new table that I want to use. Put it in and the name changes. However, when I then try any operation on this cube (Process, Save, etc) I get a very simple failure message saying "Internal Error". I've seen this before. And my solution was to find; dig out; and use the MetaDataScripter. (or rather dump out the script; make sure that various names were consistent [which were not]; and then run the script with consistent names). So I figure out again how to register the DLL/Add-in for MetaDataScripter and I dump out the metadata for the cube (not db) in question. Find the appropriate spot again in MetaDataScripter's ScriptFooter_Routines.bas where one inserts the script generated previously. VB (6.0 SP6) crashes. Repeatedly. I count the number of lines of script code that were generated - something on the order of 86,000. Yes I can see how this might crash vb. I try copying in the script code in chunks of 20,000 at-a-time. This doesn't help - it still crashes. So ... various ideas 1) how to somehow increase the memory allocation for VB6.0 so that this amount of inserted code doesn't make it crash. 2) go back to Analysis Mgr and figure out some better way of replacing the facts table that doesn't produce an unusable cube. 3) I tried taking a subset of the generated script code and inserted this into VB (I had taken out the Aggregation stuff since it's by far the largest piece and I figured this might regenerate when I re-Process). And even with this truncated amount of code, I get (another new VB experience). ROUTINE TOO LONG. But maybe there's still a way of targeting my DSO changes (only want to change the name of the facts table) so that it doesn't break whatever programming environment I'm using. pat |
![]() |
| Thread Tools | |
| Display Modes | |
| |