Tuesday, October 28, 2008

Using Workflow with ASP.NET: Setting up a database

I will be writing a series on using Workflow with ASP.NET. For now, I will just be adding tidbits on how to set things up.

First, you will need to persist (and track) your workflows to a sql server database. To do so (taken from MSDN), create a new database and run the following scripts:

%windir%\Microsoft.Net\Framework\v3.0\Windows Workflow Foundation\SQL\EN\SqlPersistenceService_Schema.sql

%windir%\Microsoft.Net\Framework\v3.0\Windows Workflow Foundation\SQL\EN\Tracking_Schema.sql

%windir%\Microsoft.Net\Framework\v3.0\Windows Workflow Foundation\SQL\EN\SqlPersistenceService_Logic.sql

%windir%\Microsoft.Net\Framework\v3.0\Windows Workflow Foundation\SQL\EN\Tracking_Logic.sql

No comments: