RE: HWS Activity SDK Sample does not work
From: Yuri Savinov (YuriSavinov_at_discussions.microsoft.com)
Date: 06/28/04
- Next message: Tom Fry: "Re: BizTalk 2004 Flat File"
- Previous message: sfh: "RE: web service Error "AssemblyName context property was not valid"
- In reply to: Chris Whytock[MSFT]: "RE: HWS Activity SDK Sample does not work"
- Next in thread: Chris Whytock[MSFT]: "RE: HWS Activity SDK Sample does not work"
- Reply: Chris Whytock[MSFT]: "RE: HWS Activity SDK Sample does not work"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 28 Jun 2021 11:41:01 -0700
The only error during sample execution was "Failed to retrieve activity flow information from tracking."
In my EventLog the event has status "Warning" but GetActivityFlowInfo method call throws exception.
May be an error had been occured when I installed BTS?
Is it possible to localize place of the error with any trace utility like soap toolkit ?
Thank you.
"Chris Whytock[MSFT]" wrote:
>
> Do any errors appear in your event log prior to the call to
> GetActivityFlowInfo? Normally, this error is just a result of the
> asynchronus tracking perform in HWS, and some retry logic (like that
> present in the SDK sample) will rectify the problem.
>
> Since you're still seeing the problem even after increasing the length of
> the retry period, perhaps an error is occuring earlier on in the sample,
> like there is a failure delivering the activation message or something of
> the like, which means that the tracking information will never be populated.
>
> --Chris
>
> --------------------
> >>
> >>I've increased the thread stops up to 12000.
> >>GetActivityFlowInfo service method call throws exception and I had to
> insert try catch block into while operator scope. Now I have the following
> code:
> >>while ( ( taskID == Guid.Empty ) && ( numRetries > 0 ) )
> >>{
> >> try{
> >> Thread.Sleep( 12000 );
> >> HWS.ActivityFlow activityFlowInfo = hwss.GetActivityFlowInfo(
> activityFlowID, HWS.ActivityFlowDetailLevel.TaskLevel, null );
> >> numRetries--;
> >> if ( activityFlowInfo != null )
> >> {
> >> Console.WriteLine( "\n\n"
> >> + "Current Activity Flow Description: {0}\n"
> >> + "Current Activity Flow Status: {1}\n"
> >> + "Current Action Instance count: {2}",
> >> activityFlowInfo.ActivityFlowDescription,
> >> activityFlowInfo.Status,
> >> activityFlowInfo.StatInfo.ActionInstanceCount );
> >> getCurrentActionInstanceIDAndTaskID(
> activityFlowInfo.RootActionInstances,
> >> ref actionInstanceID,
> >> ref taskID );
> >> }
> >> }catch{
> >> numRetries--;
> >> }
> >>}
> >>
> >>And the sample still does not work with the same error.
> >>
> >>Yuri Savinov
> >>
> >>"Sergio Calleja" wrote:
> >>
> >>> Try to increase the thread stops in the code.
> >>>
> >>> "Yuri Savinov" wrote:
> >>>
> >>> > Hello,
> >>> > I'm trying to start SDK Activity Model Sample.
> >>> > I have made all sample installation step without error.
> >>> > When I try to strart Model Execution Sample I receive the following
> error:
> >>> > "Failed to retrieve activity flow information from tracking."
> >>> >
> >>> > The error occurs on the following code line:
> >>> > HWS.ActivityFlow activityFlowInfo = hwss.GetActivityFlowInfo(
> activityFlowID, HWS.ActivityFlowDetailLevel.TaskLevel, null )
> >>> >
> >>> > My configuration:
> >>> > Windows XP SP1,
> >>> > BizTalk installed with local accounts.
> >>> >
> >>> > Can anyone help me?
> >>> >
> >>> >
> >>> >
> >>
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> EBusiness Server Team
>
>
- Next message: Tom Fry: "Re: BizTalk 2004 Flat File"
- Previous message: sfh: "RE: web service Error "AssemblyName context property was not valid"
- In reply to: Chris Whytock[MSFT]: "RE: HWS Activity SDK Sample does not work"
- Next in thread: Chris Whytock[MSFT]: "RE: HWS Activity SDK Sample does not work"
- Reply: Chris Whytock[MSFT]: "RE: HWS Activity SDK Sample does not work"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|