dbTalk Databases Forums  

DSO error - undefined

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


Discuss DSO error - undefined in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
PCH
 
Posts: n/a

Default DSO error - undefined - 01-22-2004 , 12:17 PM






I am trying to refresh the data in a cube (with only private dimensions).

I do a full process in A/S MMC and it works no problem.

I then try using DSO in vb.NET to process the cube again (refresh data). It
works.. ONCE.

If I try to run the DSO again, whether or not the fact table has changed, it
always errors! The error I get in the try / catch is blank as well. No #,
no message/description.

When I process again in A/S I can then do another single DSO process.

This is a part of the code...

dsoCube = dsoDb.MDStores.Item("MyCubeDB")
dsoExistingPartition = dsoCube.MDStores.Item("MyCube")

dsoExistingPartition.Process(ProcessTypes.processR efreshData)

dsoServer.CloseServer()

dsoExistingPartition = Nothing

dsoCube = Nothing

dsoDb = Nothing

dsoServer = Nothing

I dont want to merge the data since its not an incremental update. I want
to reprocess the full cube.

I get the same "error" whether its a full or refreshdata.

Thanks.



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

Default Re: DSO error - undefined - 01-22-2004 , 12:28 PM






I found the erro # this time by removing the ex As Exception of the
Try/Catch

The Err.Number is: -2147221411
And when you set it to the DSO errors it means: mderrChildProcessFailed

MSDN is terrific with its description: A child process failed within a
transaction.

Any ideas on how to fix it / cause of the problem?

"PCH" <pch12 (AT) hotmail (DOT) com> wrote

Quote:
I am trying to refresh the data in a cube (with only private dimensions).

I do a full process in A/S MMC and it works no problem.

I then try using DSO in vb.NET to process the cube again (refresh data).
It
works.. ONCE.

If I try to run the DSO again, whether or not the fact table has changed,
it
always errors! The error I get in the try / catch is blank as well. No #,
no message/description.

When I process again in A/S I can then do another single DSO process.

This is a part of the code...

dsoCube = dsoDb.MDStores.Item("MyCubeDB")
dsoExistingPartition = dsoCube.MDStores.Item("MyCube")

dsoExistingPartition.Process(ProcessTypes.processR efreshData)

dsoServer.CloseServer()

dsoExistingPartition = Nothing

dsoCube = Nothing

dsoDb = Nothing

dsoServer = Nothing

I dont want to merge the data since its not an incremental update. I want
to reprocess the full cube.

I get the same "error" whether its a full or refreshdata.

Thanks.





Reply With Quote
  #3  
Old   
PCH
 
Posts: n/a

Default Re: DSO error - undefined - 01-22-2004 , 01:13 PM



I've now tried creating a temp partition to replace the other. I still get
the same error :-\

dsoTmpPartition = dsoCube.MDStores.AddNew("~tmpMyCube")

dsoExistingPartition.Clone(dsoTmpPartition, CloneOptions.cloneMinorChildren)

dsoTmpPartition.Process(ProcessTypes.processFull)

If dsoTmpPartition.EstimatedRows > 0 Then

dsoDb.MDStores.Add(dsoTmpPartition, "MyCube", dsoExistingPartition)

End If



"PCH" <pch12 (AT) hotmail (DOT) com> wrote

Quote:
I found the erro # this time by removing the ex As Exception of the
Try/Catch

The Err.Number is: -2147221411
And when you set it to the DSO errors it means: mderrChildProcessFailed

MSDN is terrific with its description: A child process failed within a
transaction.

Any ideas on how to fix it / cause of the problem?

"PCH" <pch12 (AT) hotmail (DOT) com> wrote in message
news:%23S7p3PR4DHA.2528 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
I am trying to refresh the data in a cube (with only private
dimensions).

I do a full process in A/S MMC and it works no problem.

I then try using DSO in vb.NET to process the cube again (refresh data).
It
works.. ONCE.

If I try to run the DSO again, whether or not the fact table has
changed,
it
always errors! The error I get in the try / catch is blank as well. No
#,
no message/description.

When I process again in A/S I can then do another single DSO process.

This is a part of the code...

dsoCube = dsoDb.MDStores.Item("MyCubeDB")
dsoExistingPartition = dsoCube.MDStores.Item("MyCube")

dsoExistingPartition.Process(ProcessTypes.processR efreshData)

dsoServer.CloseServer()

dsoExistingPartition = Nothing

dsoCube = Nothing

dsoDb = Nothing

dsoServer = Nothing

I dont want to merge the data since its not an incremental update. I
want
to reprocess the full cube.

I get the same "error" whether its a full or refreshdata.

Thanks.







Reply With Quote
  #4  
Old   
PCH
 
Posts: n/a

Default Re: DSO error - undefined - 01-23-2004 , 11:03 AM



bueller?

"PCH" <pch12 (AT) hotmail (DOT) com> wrote

Quote:
I've now tried creating a temp partition to replace the other. I still get
the same error :-\

dsoTmpPartition = dsoCube.MDStores.AddNew("~tmpMyCube")

dsoExistingPartition.Clone(dsoTmpPartition,
CloneOptions.cloneMinorChildren)

dsoTmpPartition.Process(ProcessTypes.processFull)

If dsoTmpPartition.EstimatedRows > 0 Then

dsoDb.MDStores.Add(dsoTmpPartition, "MyCube", dsoExistingPartition)

End If



"PCH" <pch12 (AT) hotmail (DOT) com> wrote in message
news:epMyJcR4DHA.2612 (AT) tk2msftngp13 (DOT) phx.gbl...
I found the erro # this time by removing the ex As Exception of the
Try/Catch

The Err.Number is: -2147221411
And when you set it to the DSO errors it means: mderrChildProcessFailed

MSDN is terrific with its description: A child process failed within a
transaction.

Any ideas on how to fix it / cause of the problem?

"PCH" <pch12 (AT) hotmail (DOT) com> wrote in message
news:%23S7p3PR4DHA.2528 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
I am trying to refresh the data in a cube (with only private
dimensions).

I do a full process in A/S MMC and it works no problem.

I then try using DSO in vb.NET to process the cube again (refresh
data).
It
works.. ONCE.

If I try to run the DSO again, whether or not the fact table has
changed,
it
always errors! The error I get in the try / catch is blank as well.
No
#,
no message/description.

When I process again in A/S I can then do another single DSO process.

This is a part of the code...

dsoCube = dsoDb.MDStores.Item("MyCubeDB")
dsoExistingPartition = dsoCube.MDStores.Item("MyCube")

dsoExistingPartition.Process(ProcessTypes.processR efreshData)

dsoServer.CloseServer()

dsoExistingPartition = Nothing

dsoCube = Nothing

dsoDb = Nothing

dsoServer = Nothing

I dont want to merge the data since its not an incremental update. I
want
to reprocess the full cube.

I get the same "error" whether its a full or refreshdata.

Thanks.









Reply With Quote
  #5  
Old   
Martin Mason
 
Posts: n/a

Default Re: DSO error - undefined - 01-24-2004 , 09:29 AM



I can't reproduce in my environment. What version of AS are you using and
what version of the .NET Framework? I'm using .NET Framework v1.0.3705 and
SP3 of AS. In other words, I don't have a clue.

"PCH" <pch12 (AT) hotmail (DOT) com> wrote

Quote:
I am trying to refresh the data in a cube (with only private dimensions).

I do a full process in A/S MMC and it works no problem.

I then try using DSO in vb.NET to process the cube again (refresh data).
It
works.. ONCE.

If I try to run the DSO again, whether or not the fact table has changed,
it
always errors! The error I get in the try / catch is blank as well. No #,
no message/description.

When I process again in A/S I can then do another single DSO process.

This is a part of the code...

dsoCube = dsoDb.MDStores.Item("MyCubeDB")
dsoExistingPartition = dsoCube.MDStores.Item("MyCube")

dsoExistingPartition.Process(ProcessTypes.processR efreshData)

dsoServer.CloseServer()

dsoExistingPartition = Nothing

dsoCube = Nothing

dsoDb = Nothing

dsoServer = Nothing

I dont want to merge the data since its not an incremental update. I want
to reprocess the full cube.

I get the same "error" whether its a full or refreshdata.

Thanks.





Reply With Quote
  #6  
Old   
christophe niel
 
Posts: n/a

Default Re: DSO error - undefined - 01-26-2004 , 02:19 PM



I had a similar problem, It worked fine when I asked to make a full process
on each dimension before re-process the cube.

for each dsoDim in dsoCube.dimensions
dsoDim.Process(ProcessTypes.somethingfull...)
next

apparently, I had a parent/child dimension not up-to-date with the key in
the fact table.

Christophe
remove nospam to mail me.

"PCH" <pch12 (AT) hotmail (DOT) com> wrote

Quote:
I am trying to refresh the data in a cube (with only private dimensions).

I do a full process in A/S MMC and it works no problem.

I then try using DSO in vb.NET to process the cube again (refresh data).
It
works.. ONCE.

If I try to run the DSO again, whether or not the fact table has changed,
it
always errors! The error I get in the try / catch is blank as well. No #,
no message/description.

When I process again in A/S I can then do another single DSO process.

This is a part of the code...

dsoCube = dsoDb.MDStores.Item("MyCubeDB")
dsoExistingPartition = dsoCube.MDStores.Item("MyCube")

dsoExistingPartition.Process(ProcessTypes.processR efreshData)

dsoServer.CloseServer()

dsoExistingPartition = Nothing

dsoCube = Nothing

dsoDb = Nothing

dsoServer = Nothing

I dont want to merge the data since its not an incremental update. I want
to reprocess the full cube.

I get the same "error" whether its a full or refreshdata.

Thanks.





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.