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

**URL:** <https://discuss.workflowgen.com/t/using-form-authentication-i-am-not-able-to-launch-the-webform-and-receive-a-401-error/212>\
**Category:** Visual Studio Web Forms\
**Created:** [October 13, 2011, 12:49am UTC](https://discuss.workflowgen.com/t/using-form-authentication-i-am-not-able-to-launch-the-webform-and-receive-a-401-error/212 "2011-10-13T00:49:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfg-admin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/wfg-admin/32/714_2.png) [@wfg-admin](https://discuss.workflowgen.com/u/wfg-admin)\
**Post date:** [October 13, 2011, 12:49am UTC](https://discuss.workflowgen.com/t/using-form-authentication-i-am-not-able-to-launch-the-webform-and-receive-a-401-error/212/1 "2011-10-13T00:49:15Z")

</div>

### 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:

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`:

```auto
<authentication mode="form"/>

```
