VB process OLAP cube and dimension with error code -2147221411 -
11-28-2003
, 02:11 AM
I have written the VB program to procss OLAP
the vb program is auto runned at 3:00A.M (Scheduled Tasks)
the vb program will read ini first to decide which dimensions and cube
are pending to process
1) process all dimensions of a club first
2) then, process the cube
the vb program ran 3 times, the result (steps errors will be logged) are
the same :
1) 4 cubes are process fail, the error code is -2147221411
2) there coressponding dimensions are process without error
3) the cube is not updated
the type of dimensions is shared
Process cube function:
========================
'***Connect to the Analysis Server
dsoServer.Connect G_OLAP_SERVER_NAME
Set dsoDB = dsoServer.MDStores.Item G_OLAP_DATABASE_NAME)
Set dsoCube = dsoDB.MDStores.Item(strCubeName)
dsoCube.Process
'***Clean-up
dsoServer.CloseServer
Set dsoServer = Nothing
Set dsoDB = Nothing
Set dsoCube = Nothing
process dimension function:
===========================
'***Connect to the Analysis Server
dsoServer.Connect G_OLAP_SERVER_NAME
Set dsoDB = dsoServer.MDStores.ItemG_OLAP_DATABASE_NAME)
Set dsoDbDim = dsoDB.Dimensions.Item(strDimension)
dsoDbDim.Process
'***Clean-up
dsoServer.CloseServer
Set dsoServer = Nothing
Set dsoDB = Nothing
Set dsoDbDim = Nothing
http://support.microsoft.com/default...b;en-us;297248
FIX: Server Shutdown When Processing a Cube with Private, Virtual, and
Shared Dimensions
However , I checked the version of Service Pack is 3.
is another problems cause this error?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! |