dbTalk Databases Forums  

SSAS2005 Trace: Command Begin and Command End

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


Discuss SSAS2005 Trace: Command Begin and Command End in the microsoft.public.sqlserver.olap forum.



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

Default SSAS2005 Trace: Command Begin and Command End - 07-24-2006 , 01:47 PM






I am using AMO to process our cubes in SSAS2005. I've been running a trace
while deleting a partition and have a question.

Three different rows:

1. Command Begin: 2 - Delete
2. Notification: 7 - Object Deleted
3. Command End: 2 - Delete


Rows one and two don't have any error associated with them. Row three has an
error of 1. I can't figure out why or what that means. The partition is
successfully dropped. What does the error of 1 on Command End mean?




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

Default Re: SSAS2005 Trace: Command Begin and Command End - 07-24-2006 , 01:58 PM






Manually deleting through Managment Studio throws this same error.

What's also weird is that we have two databases called "Daily" and "Hourly".
The database name on command begin and end is the "Daily", while the
database name on the Notification is "Hourly". This is only for deleting
through Managment Studio. Why do the commands have different database names
than the notification?




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

Quote:
I am using AMO to process our cubes in SSAS2005. I've been running a trace
while deleting a partition and have a question.

Three different rows:

1. Command Begin: 2 - Delete
2. Notification: 7 - Object Deleted
3. Command End: 2 - Delete


Rows one and two don't have any error associated with them. Row three has
an error of 1. I can't figure out why or what that means. The partition is
successfully dropped. What does the error of 1 on Command End mean?






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

Default Re: SSAS2005 Trace: Command Begin and Command End - 07-27-2006 , 12:35 PM



Anyone?

MS?


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

Quote:
Manually deleting through Managment Studio throws this same error.

What's also weird is that we have two databases called "Daily" and
"Hourly". The database name on command begin and end is the "Daily", while
the database name on the Notification is "Hourly". This is only for
deleting through Managment Studio. Why do the commands have different
database names than the notification?




"Jesse O." <jesperzz (AT) hotmail (DOT) com> wrote in message
news:uOmQqG1rGHA.4252 (AT) TK2MSFTNGP02 (DOT) phx.gbl...
I am using AMO to process our cubes in SSAS2005. I've been running a trace
while deleting a partition and have a question.

Three different rows:

1. Command Begin: 2 - Delete
2. Notification: 7 - Object Deleted
3. Command End: 2 - Delete


Rows one and two don't have any error associated with them. Row three has
an error of 1. I can't figure out why or what that means. The partition
is successfully dropped. What does the error of 1 on Command End mean?








Reply With Quote
  #4  
Old   
Akshai Mirchandani [MS]
 
Posts: n/a

Default Re: SSAS2005 Trace: Command Begin and Command End - 07-27-2006 , 08:57 PM



The Error column is a status code -- if it is a negative 32-bit number then
it means something went wrong. The result code 0 typically indicates success
but in reality all positive numbers are success codes.

In this case I'm guessing that the end of the statement is not finding the
metadata object (because it got deleted) and reporting the status code of
S_FALSE (as in COM).

So essentially what I am saying is: don't be concerned about an Error code
that is >= 0.

HTH,
Akshai
--
Try out the MSDN Forums for Analysis Services at:
http://forums.microsoft.com/MSDN/Sho...ID=83&SiteID=1

This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

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

Quote:
Anyone?

MS?


"Jesse O." <jesperzz (AT) hotmail (DOT) com> wrote in message
news:ekqOoM1rGHA.4408 (AT) TK2MSFTNGP04 (DOT) phx.gbl...
Manually deleting through Managment Studio throws this same error.

What's also weird is that we have two databases called "Daily" and
"Hourly". The database name on command begin and end is the "Daily",
while the database name on the Notification is "Hourly". This is only for
deleting through Managment Studio. Why do the commands have different
database names than the notification?




"Jesse O." <jesperzz (AT) hotmail (DOT) com> wrote in message
news:uOmQqG1rGHA.4252 (AT) TK2MSFTNGP02 (DOT) phx.gbl...
I am using AMO to process our cubes in SSAS2005. I've been running a
trace while deleting a partition and have a question.

Three different rows:

1. Command Begin: 2 - Delete
2. Notification: 7 - Object Deleted
3. Command End: 2 - Delete


Rows one and two don't have any error associated with them. Row three
has an error of 1. I can't figure out why or what that means. The
partition is successfully dropped. What does the error of 1 on Command
End mean?










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

Default Re: SSAS2005 Trace: Command Begin and Command End - 07-28-2006 , 01:19 AM



Gotcha, very good to know.



"Akshai Mirchandani [MS]" <akshaim (AT) online (DOT) microsoft.com> wrote

Quote:
The Error column is a status code -- if it is a negative 32-bit number
then it means something went wrong. The result code 0 typically indicates
success but in reality all positive numbers are success codes.

In this case I'm guessing that the end of the statement is not finding the
metadata object (because it got deleted) and reporting the status code of
S_FALSE (as in COM).

So essentially what I am saying is: don't be concerned about an Error code
that is >= 0.

HTH,
Akshai
--
Try out the MSDN Forums for Analysis Services at:
http://forums.microsoft.com/MSDN/Sho...ID=83&SiteID=1

This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for
newsgroup
purposes only.

"Jesse O." <jesperzz (AT) hotmail (DOT) com> wrote in message
news:u6L%23cMasGHA.3496 (AT) TK2MSFTNGP06 (DOT) phx.gbl...
Anyone?

MS?


"Jesse O." <jesperzz (AT) hotmail (DOT) com> wrote in message
news:ekqOoM1rGHA.4408 (AT) TK2MSFTNGP04 (DOT) phx.gbl...
Manually deleting through Managment Studio throws this same error.

What's also weird is that we have two databases called "Daily" and
"Hourly". The database name on command begin and end is the "Daily",
while the database name on the Notification is "Hourly". This is only
for deleting through Managment Studio. Why do the commands have
different database names than the notification?




"Jesse O." <jesperzz (AT) hotmail (DOT) com> wrote in message
news:uOmQqG1rGHA.4252 (AT) TK2MSFTNGP02 (DOT) phx.gbl...
I am using AMO to process our cubes in SSAS2005. I've been running a
trace while deleting a partition and have a question.

Three different rows:

1. Command Begin: 2 - Delete
2. Notification: 7 - Object Deleted
3. Command End: 2 - Delete


Rows one and two don't have any error associated with them. Row three
has an error of 1. I can't figure out why or what that means. The
partition is successfully dropped. What does the error of 1 on Command
End mean?












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.