 |
|
 |
|
|
 |
HWS Activity SDK Sample does not work |
 |
 |
|
|
06-26-04 03:51 PM
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?
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
RE: HWS Activity SDK Sample does not work |
 |
 |
|
|
06-26-04 03:51 PM
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( activity
FlowID, HWS.ActivityFlowDetailLevel.TaskLevel, null )
>
> My configuration:
> Windows XP SP1,
> BizTalk installed with local accounts.
>
> Can anyone help me?
>
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
RE: HWS Activity SDK Sample does not work |
 |
 |
|
|
06-26-04 03:51 PM
I've increased the thread stops up to 12000.
GetActivityFlowInfo service method call throws exception and I had to inser
t 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:
[vbcol=seagreen]
> Try to increase the thread stops in the code.
>
> "Yuri Savinov" wrote:
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
RE: HWS Activity SDK Sample does not work |
 |
 |
|
|
06-26-04 03:51 PM
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
--------------------[vbcol=seagreen]
insert try catch block into while operator scope. Now I have the following
code:[vbcol=seagreen]
activityFlowID, HWS.ActivityFlowDetailLevel.TaskLevel, null );[vbcol=seagreen]
activityFlowInfo.RootActionInstances,[vbcol=seagreen]
error:[vbcol=seagreen]
activityFlowID, HWS.ActivityFlowDetailLevel.TaskLevel, null )[vbcol=seagreen]
This posting is provided "AS IS" with no warranties, and confers no rights.
EBusiness Server Team
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
RE: HWS Activity SDK Sample does not work |
 |
 |
|
|
06-29-04 12:29 AM
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 so
ap 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 populate
d.
>
> --Chris
>
> --------------------
> insert try catch block into while operator scope. Now I have the following
> code:
> activityFlowID, HWS.ActivityFlowDetailLevel.TaskLevel, null );
> activityFlowInfo.RootActionInstances,
> error:
> activityFlowID, HWS.ActivityFlowDetailLevel.TaskLevel, null )
>
> This posting is provided "AS IS" with no warranties, and confers no rights
.
>
> EBusiness Server Team
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
RE: HWS Activity SDK Sample does not work |
 |
 |
|
|
06-29-04 10:52 PM
A couple of things to investigate... Are all the biztalk services up and
running? Have you checked HAT to see what's happened there? HAT would be
a good place to check, by launching it and loadig the "most recent 100
service instances" query. What you're looking for is to see if instance of
the Assign action (the first action the activity model SDK sample should
kick off) have been started, and what state they're in. Let me know what
you find in there, and hopefully that will narrow down the problem.
--Chris
--------------------[vbcol=seagreen]
flow information from tracking."[vbcol=seagreen]
method call throws exception.[vbcol=seagreen]
soap toolkit ?[vbcol=seagreen]
of[vbcol=seagreen]
sample,[vbcol=seagreen]
of[vbcol=seagreen]
populated.[vbcol=seagreen]
to[vbcol=seagreen]
following[vbcol=seagreen]
following[vbcol=seagreen]
rights.[vbcol=seagreen]
This posting is provided "AS IS" with no warranties, and confers no rights.
EBusiness Server Team
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
 |
|
 |
HWS Activity SDK Sample does not work |
 |
 |
|
|
07-14-05 09:03 PM
I have the same error. I checked "most recent 100
service instances" query, and the Assign action have been started. Please,I
need your help, in order to find the problem.
Is Urgent!!!
Thanks...
[ Post a follow-up to this message ]
|
|
|
 |
|
|
|
|
Sponsored Links |
 |
 |
|
|
 |
All times are GMT. The time now is 08:35 AM. |
 |
|
|
 |
|
 |
|
|
 |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
|
|
|
|
Medical and Health forum | Computer Games Reviews | Graphics design forum
|
 |
|
 |
|