Workflow ending in slow server environment ASP.NET

5 pts.
Tags:
ASP.NET
ASP.NET workflow applications
Web development
Windows Workflow Foundation
Hi, I have a problem in my workflow where the workflow ends when its running in a slow environment. Its a state machine workflow using xoml files. My problem is the following: The client has been facing problems were the workflow ends prematurely. This occurs at random times. After looking into this I found that everytime I debug the application and step through the code the overriden method Cancel of Activity class is entered, hence the workflow ends. When I run the application normally it works fine. So my thinking is when the workflow is ran under a slow environment it somehow enters the Cancel method. Further, I added some Thread.Sleep snippets in the code and ran the app. Again the workflow ends when it shouldn't. So my thinking is when the workflow is ran under a slow environment it somehow enters the Cancel method. Why this happens I do not know. The code was taken from the following sample http://www.microsoft.com/downloads/details.aspx?FamilyId=A438A9B9-9F15-42EC-866F-2EA58E10DB36&displaylang=en Does anyone know why it ends? or how I can find out why the Cancel method is entered?
ASKED: January 26, 2009  10:04 AM
UPDATED: January 26, 2009  1:28 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following