Sunday, March 11, 2012
An error occurred during the move data process: -132
I'm getting the following error message when applying Service Pack 2 for Analysis Services 2000 (SQL Server):
An error occurred during the move data process: -132
Anybody can help me?
Tks,
Alex BerenguerI had the same problem. To get around it, I had to shut down nearly every service on the Win2K server (with BackOffice 2000) I was installing to. After I shut down all the services I could, the installation seemed to work correctly.
Originally posted by alexberenguer
Hi friend,
I'm getting the following error message when applying Service Pack 2 for Analysis Services 2000 (SQL Server):
An error occurred during the move data process: -132
Anybody can help me?
Tks,
Alex Berenguer
Saturday, February 25, 2012
AMO:Why KPI object has an AssociatedMeasureGroupID property?
Hi, friend, please look about this:
I just want to know Why KPI object has an AssociatedMeasureGroupID property?
I think it's very strange. Because the KPI object have a KPIValue and a KPIGoal, and each of them could associate to some measures. As we know,a measure is Under a Measuregroup. That is, a KPI will "associate" to many Measuregroups(2 at least).
Then what's the KPI.AssociatedMeasureGroupID property?
The AssociatedMeasureGroupID is for client applications and specifies the measure group to which the KPI is most strongly associated.
Adrian Dumitrascu
Friday, February 24, 2012
AMO: About Update
hi,friend, please have look:
I want to know, if I do:
dim tdatabase as Microsoft.AnalysisServices.database
' let tdatabase = someone existed on the server
tdatabase.update()
Will it cause the associated object be updated too ?
I mean, if I need NOT to do:
dsv.update()
dim.update()
cube.update()
measure.update()
and so on.
And, I can't find an update method on KPI. If that means I just need to update the cube object after I change a KPI object?
And, If I add/Remove a measure, need I do Process? Or just need to do Update?
Thanks!
ivanchain wrote:
I want to know, if I do:
dim tdatabase as Microsoft.AnalysisServices.database
' let tdatabase = someone existed on the server
tdatabase.update()
Will it cause the associated object be updated too ?
No it will not update all associated objects, see my next statment below.
ivanchain wrote:
I mean, if I need NOT to do:
dsv.update()
dim.update()
cube.update()
measure.update()
and so on.
The following is from this thread http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1842622&SiteID=1
Adrian Dumitrascu [MSFT]
The .Update() method only saves the minor properties and collections (thus not the major children) of an object. The major children are the AMO objects derived from the MajorObject class (Database, DataSource, Dimension, Cube, MeasureGroup, Partition, MiningStructure, MiningModel and others).
In our case, the database.Update() will save the database Name, ID, Description, Translations and other few minor properties, but won't save anything about the Role, which is a major object.
So you would need to call .Update on any major objects, so probably yes to dsv, dim, cube, but no to measure (I think a measure is a minor property of the measuregroup)
ivanchain wrote:
And, I can't find an update method on KPI. If that means I just need to update the cube object after I change a KPI object?
And, If I add/Remove a measure, need I do Process? Or just need to do Update?
If you add/remove a measure it will invalidate the cube structure, so once you do an update, your cube will be in an unprocessed state and you will need to process it.
|||
ivanchain wrote:
And, I can't find an update method on KPI. If that means I just need to update the cube object after I change a KPI object?
Yes, you need to call .Update() on the parent Cube. The Update method is only available on major objects (the ones that can be created, changed and deleted by themselves on the Analysis Services server - in AMO they are derived from the MajorObject class). To add/modify/delete a minor object (like Kpi, Measure, DimensionAttribute, Hierarchy, Level) you need to call .Update() on the parent major object.
|||Very clear answer!
Thank you!
AMO: About the measure object''s remove method.
hi,friend, please look this:
I have a measure object in AMO.
Dim meas As Microsoft.AnalysisServices.Measure
Meas =tDatabase.Cubes(0).MeasureGroups(0).Measures(0)
tDatabase.Cubes(0).MeasureGroups(0).Measures.Remove(Meas, True)
I just want to know the meaning of the Remove method's second para. Measures.Remove(item as Microsoft.AnalysisServices.Measure, CleanUp as boolean)
What's the CleanUP? The remove method also support to only use the item para. What happened if I set the CleanUP to True/False, or just missing it?
Thanks!
Hi,
The 'cleanUp' boolean argument specifies if the dependent objects will be removed. For a Measure, the dependents include the PerspectiveMeasure objects. For a DimensionAttribute, the dependents include the CubeAttribute objects.
If you do not specify the 'cleanUp' parameter, the dependents are removed.
If you want for example to replace one object with another (having the same ID), then you can use the 'cleanUp'=false argument.
When working connected to the server, the 'cleanUp' argument has limited use, because you cannot save an invalid object or an object that would invalidate other objects in the database. For example, if you chose to remove a Measure with 'cleanUp'=false and dependent PerspectiveMeasures do exist, then you will get an error when trying to save the MeasureGroup (because it will leave the Perspective(s) with broken references).
Adrian Dumitrascu
|||Thank you very much, Adrian.
As you said,The 'cleanUp' boolean argument specifies if the dependent objects will be removed.
I want to konw, the KPI object is the dependent object to the Measure? When I remove a measure with CleanUp= True, will the KPI associated be removed too? Or Just I need to remove the KPI by myself? If I don't remove the KPI, but removed the measure which associated, will it report an error when I save it to the server?
Thanks again.
|||> I want to konw, the KPI object is the dependent object to the Measure? When I remove a measure with CleanUp= True, will the KPI associated be removed too?
No, the KPI objects are not removed. If the Value property of the KPI is referring to a certain measure, when you delete that measure, AMO will not parse the Value (nor any Command objects from an MdxScript in the Cube, or other MDX fragments in other objects) to see if the measure is used.
When checking for dependents, AMO only sees direct-defined metadata references; for example: a PerspectiveMeasure has the MeasureID property to reference the Measure, a CubeAttribute has the AttributeID property to reference a DimensionAttribute, a CubeDimension has the DimensionID property to reference a Dimension.
> If I don't remove the KPI, but removed the measure which associated, will it report an error when I save it to the server?
The .Update() method will succeed (because the Analysis Services engine will do a similar dependencies analysis as AMO), but you will get MDX errors when browsing.
Adrian Dumitrascu
|||very clear!
Thank you, Adrian!
AMO: About the measure object's remove method.
hi,friend, please look this:
I have a measure object in AMO.
Dim meas As Microsoft.AnalysisServices.Measure
Meas =tDatabase.Cubes(0).MeasureGroups(0).Measures(0)
tDatabase.Cubes(0).MeasureGroups(0).Measures.Remove(Meas, True)
I just want to know the meaning of the Remove method's second para. Measures.Remove(item as Microsoft.AnalysisServices.Measure, CleanUp as boolean)
What's the CleanUP? The remove method also support to only use the item para. What happened if I set the CleanUP to True/False, or just missing it?
Thanks!
Hi,
The 'cleanUp' boolean argument specifies if the dependent objects will be removed. For a Measure, the dependents include the PerspectiveMeasure objects. For a DimensionAttribute, the dependents include the CubeAttribute objects.
If you do not specify the 'cleanUp' parameter, the dependents are removed.
If you want for example to replace one object with another (having the same ID), then you can use the 'cleanUp'=false argument.
When working connected to the server, the 'cleanUp' argument has limited use, because you cannot save an invalid object or an object that would invalidate other objects in the database. For example, if you chose to remove a Measure with 'cleanUp'=false and dependent PerspectiveMeasures do exist, then you will get an error when trying to save the MeasureGroup (because it will leave the Perspective(s) with broken references).
Adrian Dumitrascu
|||Thank you very much, Adrian.
As you said,The 'cleanUp' boolean argument specifies if the dependent objects will be removed.
I want to konw, the KPI object is the dependent object to the Measure? When I remove a measure with CleanUp= True, will the KPI associated be removed too? Or Just I need to remove the KPI by myself? If I don't remove the KPI, but removed the measure which associated, will it report an error when I save it to the server?
Thanks again.
|||> I want to konw, the KPI object is the dependent object to the Measure? When I remove a measure with CleanUp= True, will the KPI associated be removed too?
No, the KPI objects are not removed. If the Value property of the KPI is referring to a certain measure, when you delete that measure, AMO will not parse the Value (nor any Command objects from an MdxScript in the Cube, or other MDX fragments in other objects) to see if the measure is used.
When checking for dependents, AMO only sees direct-defined metadata references; for example: a PerspectiveMeasure has the MeasureID property to reference the Measure, a CubeAttribute has the AttributeID property to reference a DimensionAttribute, a CubeDimension has the DimensionID property to reference a Dimension.
> If I don't remove the KPI, but removed the measure which associated, will it report an error when I save it to the server?
The .Update() method will succeed (because the Analysis Services engine will do a similar dependencies analysis as AMO), but you will get MDX errors when browsing.
Adrian Dumitrascu
|||very clear!
Thank you, Adrian!