Make sure that your web form inherits WorkflowPage in order to implement a web form. For this, you need to have WorkflowGen.My referenced in your project.
To directly reference an assembly in your web project:
- 
Create a
bindirectory under your web site root folder (e.g.:\wfgen\wfapps\webforms \yourWebFormName\bin). - 
Copy the
WorkflowGen.My.dllfile to this folder. - 
Right-click on your project name and choose Add reference…
 - 
Click Browse.
 - 
Navigate to the
bindirectory you just created and choose theWorkflowGen.My.dllfile, then click OK. 
WorkflowGen.My is now referenced in your project.
You can also put this assembly in your GAC (Global Assembly Cache) in order to have only one centralized reference, instead of referring a copy of the assembly in each web form project.
To install the assembly in your GAC:
- 
Copy
WorkflowGen.My.dlltoDRIVE:\Windows\System32. - 
Open a command prompt
 - 
Go to
DRIVE:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin. - 
Type the command
gacutil /i c:\windows\system32\WorkflowGen.My.dlland press Enter. 
WorkflowGen.My is now in your GAC.
Now that the assembly is placed in the GAC, you need to reference it in your project. To do this:
- 
Open your
web.configfile. - 
Insert the following line in the assemblies node:
<ADD assembly=WorkflowGen.My,Version=2.0.1000.xx,Culture=neutral,PublicKeyToken=df70d2b8f21e0354 />Note: Replace
Version=2.0.1000.xxabove with the version number of your WorkflowGen.My. You can find the version number by right-clicking onWorkflowGen.My.dllthen clicking on Properties.