Monday, August 14, 2006

Windows Workflow Foundation Beta 2.2 Error - "Procedure or function InsertWorkflow has too many arguments specified"

When we have one of the next errors:

"Procedure or function InsertWorkflow has too many arguments specified."

"ActivityEvents 'sqlTrackingWorkflowInstance.ActivityEvents' threw an exception of type 'System.Data.SqlTypes.SqlNullValueException' System.Collections.Generic.IList {System.Data.SqlTypes.SqlNullValueException}"

We have to update our Tracking Database:

1º) Drop the old Tracking Database.
2º) Copy the new sql scripts from C:\WINDOWS\WinFX\v3.0\Windows Workflow Foundation\SQL\EN with the other scripts.
3º) Create again the Tracking Database

No comments: