dbTalk Databases Forums  

SSAS2005 error while attempting to processing parallel

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss SSAS2005 error while attempting to processing parallel in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jesse O.
 
Posts: n/a

Default SSAS2005 error while attempting to processing parallel - 07-18-2006 , 06:17 PM






I'm receiving the following error when attempting to process some objects
(dimensions) in parallel.

It works fine on the dev box, however on production it isn't. Processing
serially works fine.

Ideas?



Executed as user: ADMIN\svc_db. ...n: The request transaction was not
validated. The server is terminating the request unsuccessfully.The request
transaction was not validated. The server is terminating the request
unsuccessfully.Execution of the managed stored procedure
ProcessMeasureGroupProd failed with the following error: Exception has been
thrown by the target of an
invocation.Microsoft::AnalysisServices::AdomdServe r::AdomdException. at
Microsoft.AnalysisServices.Xmla.XmlaClient.CheckFo rSoapFault(XmlReader
reader, XmlaResult xmlaResult, Boolean throwIfError) at
Microsoft.AnalysisServices.Xmla.XmlaClient.CheckFo rError(XmlReader reader,
XmlaResult xmlaResult, Boolean throwIfError) at
Microsoft.AnalysisServices.Xmla.XmlaClient.SendMes sage(Boolean
endReceivalIfException, Boolean readSession, Boolean
readNamespaceCompatibility) at
Microsoft.AnalysisServices.Xmla.XmlaClient.SendMes sageAndReturnResult(String&
result, Boolean skipResult) at Microsoft.AnalysisServices.Xmla.XmlaCl.
The step failed.



The code:


Public Sub ProcessAllDimensionsParallel()

Dim oDimension As CubeDimension

Dim Results As XmlaResultCollection

Dim Result As XmlaResult

Dim Message As XmlaMessage

Dim BeginTime As DateTime = Now

Dim EndTime As DateTime

Dim Errors As Integer = 0

Dim sSQLQuery As String



'Start capture mode

objServer.CaptureXml = True

'Capture XML

For Each oDimension In objCube.Dimensions

oDimension.Dimension.Process(ProcessType.ProcessUp date)

InsertCubeProcessingLog("Process Dimension All Executing...", 0, 0,
BeginTime, "12/31/9999", objDatabase.Name, "", oDimension.Name, "Dimension",
"", "", "", "", "")

Next oDimension

'Exit capture mode

objServer.CaptureXml = False

Results = objServer.ExecuteCaptureLog(True, True)

EndTime = Now

'Log the errors and warnings

For Each Result In Results

For Each Message In Result.Messages

If Message.GetType.Name = "XmlaError" Then

InsertCubeProcessingLog(Message.GetType.Name + ": " + Message.Description,
0, 0, BeginTime, EndTime, objDatabase.Name, "", "", "Dimension", "", "", "",
"", "")

Errors = Errors + 1

Else

InsertCubeProcessingLog(Message.GetType.Name + ": " + Message.Description,
0, 0, BeginTime, EndTime, objDatabase.Name, "", "", "Dimension", "", "", "",
"", "")

End If

Next Message

Next Result

'Update the cubeprocessinglog table

If Errors = 0 Then

sSQLQuery = "set EventDescription = 'Process Dimension All', issuccess = 1,
recordactive = 1, eventendtime = '" & EndTime & "' where eventdescription =
'Process Dimension All Executing...' and eventendtime = '12/31/9999' and
eventstarttime = '" & BeginTime & "'"

UpdateCubeProcessingLog(sSQLQuery)

Else

sSQLQuery = "set EventDescription = 'Process Dimension All Failed',
issuccess = 0, recordactive = 0, eventendtime = '" & EndTime & "' where
eventdescription = 'Process Dimension All Executing...' and eventendtime =
'12/31/9999' and eventstarttime = '" & BeginTime & "'"

UpdateCubeProcessingLog(sSQLQuery)

strKeepProcessing = "False"

End If

End Sub



Reply With Quote
  #2  
Old   
Jeje
 
Posts: n/a

Default Re: SSAS2005 error while attempting to processing parallel - 07-18-2006 , 07:34 PM






do you use a custom AS stored procedure?
I receive the error when I'm using a custom code, specially in the calculate
statement.
I have not tested after SP1 and I have changed my cube to not use anymore my
SP.

and also, I have not tested all the possible configurations around my SP

if you don't use an SP, then I don't know what's appends :-)

"Jesse O." <jesperzz (AT) hotmail (DOT) com> wrote

Quote:
I'm receiving the following error when attempting to process some objects
(dimensions) in parallel.

It works fine on the dev box, however on production it isn't. Processing
serially works fine.

Ideas?



Executed as user: ADMIN\svc_db. ...n: The request transaction was not
validated. The server is terminating the request unsuccessfully.The
request transaction was not validated. The server is terminating the
request unsuccessfully.Execution of the managed stored procedure
ProcessMeasureGroupProd failed with the following error: Exception has
been thrown by the target of an
invocation.Microsoft::AnalysisServices::AdomdServe r::AdomdException. at
Microsoft.AnalysisServices.Xmla.XmlaClient.CheckFo rSoapFault(XmlReader
reader, XmlaResult xmlaResult, Boolean throwIfError) at
Microsoft.AnalysisServices.Xmla.XmlaClient.CheckFo rError(XmlReader reader,
XmlaResult xmlaResult, Boolean throwIfError) at
Microsoft.AnalysisServices.Xmla.XmlaClient.SendMes sage(Boolean
endReceivalIfException, Boolean readSession, Boolean
readNamespaceCompatibility) at
Microsoft.AnalysisServices.Xmla.XmlaClient.SendMes sageAndReturnResult(String&
result, Boolean skipResult) at Microsoft.AnalysisServices.Xmla.XmlaCl.
The step failed.



The code:


Public Sub ProcessAllDimensionsParallel()

Dim oDimension As CubeDimension

Dim Results As XmlaResultCollection

Dim Result As XmlaResult

Dim Message As XmlaMessage

Dim BeginTime As DateTime = Now

Dim EndTime As DateTime

Dim Errors As Integer = 0

Dim sSQLQuery As String



'Start capture mode

objServer.CaptureXml = True

'Capture XML

For Each oDimension In objCube.Dimensions

oDimension.Dimension.Process(ProcessType.ProcessUp date)

InsertCubeProcessingLog("Process Dimension All Executing...", 0, 0,
BeginTime, "12/31/9999", objDatabase.Name, "", oDimension.Name,
"Dimension", "", "", "", "", "")

Next oDimension

'Exit capture mode

objServer.CaptureXml = False

Results = objServer.ExecuteCaptureLog(True, True)

EndTime = Now

'Log the errors and warnings

For Each Result In Results

For Each Message In Result.Messages

If Message.GetType.Name = "XmlaError" Then

InsertCubeProcessingLog(Message.GetType.Name + ": " + Message.Description,
0, 0, BeginTime, EndTime, objDatabase.Name, "", "", "Dimension", "", "",
"", "", "")

Errors = Errors + 1

Else

InsertCubeProcessingLog(Message.GetType.Name + ": " + Message.Description,
0, 0, BeginTime, EndTime, objDatabase.Name, "", "", "Dimension", "", "",
"", "", "")

End If

Next Message

Next Result

'Update the cubeprocessinglog table

If Errors = 0 Then

sSQLQuery = "set EventDescription = 'Process Dimension All', issuccess =
1, recordactive = 1, eventendtime = '" & EndTime & "' where
eventdescription = 'Process Dimension All Executing...' and eventendtime =
'12/31/9999' and eventstarttime = '" & BeginTime & "'"

UpdateCubeProcessingLog(sSQLQuery)

Else

sSQLQuery = "set EventDescription = 'Process Dimension All Failed',
issuccess = 0, recordactive = 0, eventendtime = '" & EndTime & "' where
eventdescription = 'Process Dimension All Executing...' and eventendtime =
'12/31/9999' and eventstarttime = '" & BeginTime & "'"

UpdateCubeProcessingLog(sSQLQuery)

strKeepProcessing = "False"

End If

End Sub





Reply With Quote
  #3  
Old   
Jesse O.
 
Posts: n/a

Default Re: SSAS2005 error while attempting to processing parallel - 07-19-2006 , 04:55 PM



yea...custom sproc


"Jeje" <willgart (AT) hotmail (DOT) com> wrote

Quote:
do you use a custom AS stored procedure?
I receive the error when I'm using a custom code, specially in the
calculate statement.
I have not tested after SP1 and I have changed my cube to not use anymore
my SP.

and also, I have not tested all the possible configurations around my SP

if you don't use an SP, then I don't know what's appends :-)

"Jesse O." <jesperzz (AT) hotmail (DOT) com> wrote in message
news:eSZ2QBsqGHA.2256 (AT) TK2MSFTNGP03 (DOT) phx.gbl...
I'm receiving the following error when attempting to process some objects
(dimensions) in parallel.

It works fine on the dev box, however on production it isn't. Processing
serially works fine.

Ideas?



Executed as user: ADMIN\svc_db. ...n: The request transaction was not
validated. The server is terminating the request unsuccessfully.The
request transaction was not validated. The server is terminating the
request unsuccessfully.Execution of the managed stored procedure
ProcessMeasureGroupProd failed with the following error: Exception has
been thrown by the target of an
invocation.Microsoft::AnalysisServices::AdomdServe r::AdomdException. at
Microsoft.AnalysisServices.Xmla.XmlaClient.CheckFo rSoapFault(XmlReader
reader, XmlaResult xmlaResult, Boolean throwIfError) at
Microsoft.AnalysisServices.Xmla.XmlaClient.CheckFo rError(XmlReader
reader, XmlaResult xmlaResult, Boolean throwIfError) at
Microsoft.AnalysisServices.Xmla.XmlaClient.SendMes sage(Boolean
endReceivalIfException, Boolean readSession, Boolean
readNamespaceCompatibility) at
Microsoft.AnalysisServices.Xmla.XmlaClient.SendMes sageAndReturnResult(String&
result, Boolean skipResult) at Microsoft.AnalysisServices.Xmla.XmlaCl.
The step failed.



The code:


Public Sub ProcessAllDimensionsParallel()

Dim oDimension As CubeDimension

Dim Results As XmlaResultCollection

Dim Result As XmlaResult

Dim Message As XmlaMessage

Dim BeginTime As DateTime = Now

Dim EndTime As DateTime

Dim Errors As Integer = 0

Dim sSQLQuery As String



'Start capture mode

objServer.CaptureXml = True

'Capture XML

For Each oDimension In objCube.Dimensions

oDimension.Dimension.Process(ProcessType.ProcessUp date)

InsertCubeProcessingLog("Process Dimension All Executing...", 0, 0,
BeginTime, "12/31/9999", objDatabase.Name, "", oDimension.Name,
"Dimension", "", "", "", "", "")

Next oDimension

'Exit capture mode

objServer.CaptureXml = False

Results = objServer.ExecuteCaptureLog(True, True)

EndTime = Now

'Log the errors and warnings

For Each Result In Results

For Each Message In Result.Messages

If Message.GetType.Name = "XmlaError" Then

InsertCubeProcessingLog(Message.GetType.Name + ": " +
Message.Description, 0, 0, BeginTime, EndTime, objDatabase.Name, "", "",
"Dimension", "", "", "", "", "")

Errors = Errors + 1

Else

InsertCubeProcessingLog(Message.GetType.Name + ": " +
Message.Description, 0, 0, BeginTime, EndTime, objDatabase.Name, "", "",
"Dimension", "", "", "", "", "")

End If

Next Message

Next Result

'Update the cubeprocessinglog table

If Errors = 0 Then

sSQLQuery = "set EventDescription = 'Process Dimension All', issuccess =
1, recordactive = 1, eventendtime = '" & EndTime & "' where
eventdescription = 'Process Dimension All Executing...' and eventendtime
= '12/31/9999' and eventstarttime = '" & BeginTime & "'"

UpdateCubeProcessingLog(sSQLQuery)

Else

sSQLQuery = "set EventDescription = 'Process Dimension All Failed',
issuccess = 0, recordactive = 0, eventendtime = '" & EndTime & "' where
eventdescription = 'Process Dimension All Executing...' and eventendtime
= '12/31/9999' and eventstarttime = '" & BeginTime & "'"

UpdateCubeProcessingLog(sSQLQuery)

strKeepProcessing = "False"

End If

End Sub







Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.