Search
Closed
as Not Reproducible Help for as Not Reproducible

0
Sign in to vote
0
Sign in to vote
Sign in
to vote
Type: Bug
ID: 480684
Opened: 8/4/2009 7:18:21 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
Hi Microsoft team,

We have found that State machine workflow in web application (developed on c#/VS 2008 .NET Framework 3.5which "was changing states" not doing so after applying patch Q956802. We are using Windows Server 2003 Standard Edition Service Pack 2 (build 3790),.NET Framework 3.5 and database SQL Server 2005 on a different system. We have tried enabling DTC as well but to no avail. We are using manual scheduler service as well.

Do we have to reset some settings after applying the patch?
Details (expand)

Product Version

.NET Framework 3.5
Product Language
English

Operating System
Windows Server 2003
Operating System Language
English

Architecture
x86

Priority
(1=blocking, 2=important, 3=nice to have)
2

Severity
(1=major functionality issue, 2=important functionality issue, 3=nice to have)
2

Steps to Reproduce
1.Create a statemachine workflow
2.Enable SQL persistence,sql tracking,event services
3.Raise events
4.Query SQL tracking for state using user events like,
public string displayWorkflowsUsingTracking(string WFType, Guid ID)
{
try
{

SqlTrackingQuery sqlTrackingQuery = new SqlTrackingQuery(Connection);

SqlTrackingQueryOptions options = new SqlTrackingQueryOptions();
SqlTrackingWorkflowInstance trackingInstance;
sqlTrackingQuery.TryGetWorkflow(ID, out trackingInstance);
currentState = trackingInstance.UserEvents[trackingInstance.UserEvents.Count - 1].QualifiedName.ToString();
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
}
return currentState;
}

Actual Results
trackingInstance.UserEvents[trackingInstance.UserEvents.Count - 1].QualifiedName.ToString(); throwing index out of bounds
Expected Results
Current state based on user events
Component Usage
(any information on your scenario that may help in investigating your issue)
 

How often does this happen?
Always Happens

Have you seen this problem in other versions?
I don't know if this issue existed previously

File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 9/1/2009 at 12:21 PM
Thank you for your question.

I don't know of anything in Q956802 that would cause this problem.

Can you give us a few more details on the workflow?

What sorts of events are supposed to be causing the workflow to change states?
Where do those events come from?
Is it only one state that is not being tranisitioned out of, or are all states affected?
What exactly did you do to "enable DTC"?
Why did you think "enabling" DTC would solve the problem?

Jim Carley, Workflow Development Team