Windows Workflow Foundation 3


Exception when attempting to persist workflow


Hello,
I have a workflow solution that I have deployed to a client site. However, when the workflow attempts to persist state to the SqlServer I get this exception
Exception information:
    Exception type: TransactionException
    Exception message: The transaction has already been implicitly or explicitly committed or aborted.
 
 
Which I believe is related to the MS DTC settings on the server.  The client has their DTC settings I believe correct, but they are still getting the error message. Could this be related to something else?
 
Any help is much appreciated
Matt
If your database on the same machine as the workflow? If there are running on different machines you will need to enable remote DTC transactions for both the machines.
In case someone else is looking at this problem, what I found was that in order to make the DTC transactions work in some environments you have to turn off Mutual Authentication in the DTC settings.  (ie. Set to No Authentication)  For some reason the Mutual Authentication was causing a failure in the connection.
 
If your database on the same machine as the workflow? If there are running on different machines you will need to enable remote DTC transactions for both the machines.
In case someone else is looking at this problem, what I found was that in order to make the DTC transactions work in some environments you have to turn off Mutual Authentication in the DTC settings.  (ie. Set to No Authentication)  For some reason the Mutual Authentication was causing a failure in the connection.
 

Related Links

Need suggestion of Workflow implementation
Invoking workflow from windows form
Tracking by objects
Sample unit testing project for a code activity
How to display the provider type summary in RuleSetDialog
Windows WF3.0 - get activity information from TrackingRecord object
Workflow Rules - Chaining for Indexers
WCSF PageFlow
front end
Dynamic Workflow Creation
ApplyworkflowChanges takes long time and some time crashes the application.
CLR20r3 Error when i run exe file (C#)
Process is terminated due to StackOverflowException
HandleExternalEvent: event filter / correlation
SqlTrackingService & User Events
How to change the sendemail activity property at run time?

Categories

MSDN
Microsoft Office for D...
Architecture
Other Forums
Project
Archived Forums A-B
Archived Forums I-L
Test Tools in Visual S...
Publishing Windows Sto...
Submitting and Publish...
Payouts and Reporting
Store Engagement Frame...
Microsoft Message Queu...
Windows Desktop Search...
Windows Desktop Perfmo...
Windows Desktop SDK
Windows Desktop Web Se...
Message Analyzer
Hardware Development B...
General Office Develop...
SharePoint 2013 - Search
SharePoint 2010 - Gene...
Azure Management Portal
Pricing & Billing
Service Bus
Azure Pack
Azure App Service - We...
Azure Cache
Azure Data Factory
Azure Blockchain
Azure Database for MySQL
Common Language Runtim...
Team Foundation Server...
ADO.NET Entity Framewo...
Debugger Canvas
HealthVault Developer
JScript Native
Microsoft Translator U...
Small Basic
Microsoft Robotics - S...
Visual Studio Smart De...
SQL Server Analysis Se...
SQL Server Tools
Transact-SQL
SQL Server Data Access
SQL Server Search
SQL Server Application...
SQL Server Data Tools
Windows Forms Designer
Windows Forms Data Con...
Windows Forms Sample A...
Server Virtualization
SDK for Home Server 20...
Windows Live Messenger...
CRM Development
MSDN, TechNet and Expr...
Orchard - Help and Sup...
Script Junkie Discussion
WebsitePanel - Discuss...
WebsitePanel - Support
Developing for the Mob...
Windows File Sharing P...
Project Customization ...
Project Server - Setup...
Getting Started with S...
Programming Silverligh...
Programming Silverligh...
Visual Studio & Silver...
WCF RIA Services with ...
Silverlight Video and ...
Expression Design
Expression Encoder
Expression Media
Customer Care Framework
Retired SharePoint Acc...
.NET Platform Architec...
.NET Remoting and Runt...
Archived: Software Tes...
Chart Controls for .NE...
Getting Started With V...
ISV Community Days
Microsoft ESP Platform...
Multimap API Developme...
Parallel Computing Gen...
patterns & practices: ...
Parallel Programming w...
Search Server: Frequen...
Sharepoint Development...
SyncFx - Feedback [Rea...
Team Foundation Server...
Team Foundation Server...
Visual Basic 2008 (Pre...
Visual Basic Interop a...
Visual Studio Class De...
Visual Studio Team Sys...
Visual Studio Team Sys...
Visual Studio Tools fo...
Windows Developer Prev...
Windows MultiPoint Mou...
Tools for Windows Stor...
Windows Phone Preview ...
Maps In Windows - APIs

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile