BizTalk Server Orchestration - Terminate Shape - Where does error message go?

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > November 2004 > Terminate Shape - Where does error message go?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Terminate Shape - Where does error message go?
Neal Walters

2004-11-19, 5:48 pm

The documentation for the "Terminate Shape" states: "When an orchestration
instance is terminated, an error is logged. You can specify a message string
to accompany the error to help the administrator diagnose the situation."

My question is where does this error go? I don't see anything in the event
log or HAT.

Thanks,
Neal Walters
http://Biztalk-Training.com - Free Biztalk Demos


Stephen W. Thomas

2004-11-20, 7:46 am


Hello.

Well, it does write it to HAT and it is rather hard to find. You have to
use the Queries tab.

If I remember correctly, the error text you put in the shape shows up in the
Error Info field. I think the ServiceInstance/State will say Terminated.
Once you see for sure what field says Terminated, you can modify any of the
queries to just return those records. These will not show up under Service
Instance. I have only found them through direct Queries.

It is very difficult to find the Terminated Orchestration. I would have
liked to seen them in the Even Log.

Stephen W. Thomas
http://www.geekswithblogs.com/sthomas/


"Neal Walters" wrote:

> The documentation for the "Terminate Shape" states: "When an orchestration
> instance is terminated, an error is logged. You can specify a message string
> to accompany the error to help the administrator diagnose the situation."
>
> My question is where does this error go? I don't see anything in the event
> log or HAT.
>
> Thanks,
> Neal Walters
> http://Biztalk-Training.com - Free Biztalk Demos
>
>

Alan Smith

2004-11-22, 2:46 am

Hi,

If you throw an ApplicationException with the error as the text then you
will se the error text both in HAT (ErrorDescription collumn), and in the
text if the event log entry. The orchestration will be "Suspended (not
resumable)".

Regards,

Alan

"Stephen W. Thomas" wrote:
[vbcol=seagreen]
>
> Hello.
>
> Well, it does write it to HAT and it is rather hard to find. You have to
> use the Queries tab.
>
> If I remember correctly, the error text you put in the shape shows up in the
> Error Info field. I think the ServiceInstance/State will say Terminated.
> Once you see for sure what field says Terminated, you can modify any of the
> queries to just return those records. These will not show up under Service
> Instance. I have only found them through direct Queries.
>
> It is very difficult to find the Terminated Orchestration. I would have
> liked to seen them in the Even Log.
>
> Stephen W. Thomas
> http://www.geekswithblogs.com/sthomas/
>
>
> "Neal Walters" wrote:
>
Hugo Rodger-Brown

2004-11-22, 7:46 am

Simple cheat for this is to add an expression before the terminate, and use
it to call System.Diagnostics.EventLog.WriteEntry() ?


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com