Using Form Authentication, I am not able to launch the webform and receive a 401 error

Issue

Using Form authentication, I am not able to launch the webform and receive a 401 error. Furthermore the 401 security error is received even when all users have web form folder permissions.

Solution

  1. Make sure the user logging in to WorkflowGen is part of either the local or domain user group. Make sure the user group has access permission to the web form folder.

  2. In the web.config file of the web form folder, make sure the following key is omitted:

    <authentication mode="Windows"/>
    

By default, the Windows web folder will have this key enabled with mode = Windows, meaning IIS will manage the authentication mode (Basic or Integrated). When using Form authentication, you should either NOT have this authentication mode specified in the web form configuration file (as in 2 above), or set the mode to form:

<authentication mode="form"/>