# Maximum path length exception error raised when starting web form action with web apps secure mode enabled

**URL:** https://discuss.workflowgen.com/t/maximum-path-length-exception-error-raised-when-starting-web-form-action-with-web-apps-secure-mode-enabled/223
**Category:** Visual Studio Web Forms
**Created:** [February 21, 2015, 10:02am UTC](https://discuss.workflowgen.com/t/maximum-path-length-exception-error-raised-when-starting-web-form-action-with-web-apps-secure-mode-enabled/223 "2015-02-21T10:02:49Z")
**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: [February 21, 2015, 10:02am UTC](https://discuss.workflowgen.com/t/maximum-path-length-exception-error-raised-when-starting-web-form-action-with-web-apps-secure-mode-enabled/223/1 "2015-02-21T10:02:49Z")

</div>

When [web apps secure mode](https://docs.advantys.com/workflowgen-administration-module-reference-guide/configuration-panel#web-apps-secure-mode) is enabled, WorkflowGen will try to store web form runtime temporary files inside a GUID sub-folder (36 characters length) for the current action.

In some cases, the generated path might exceed the Windows maximum path length of 260 characters. (See the [Maximum Path Length Limitation](https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file?redirectedfrom=MSDN#maximum-path-length-limitation) section in the [Naming Files, Paths, and Namespaces](https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file) Microsoft article for more information.)

There are two workarounds:

- Disable web apps secure mode in the **Security** section on the **General** tab in the **Configuration Panel**.

- Make sure the web form storage path (e.g. `\\SERVER\SHARE$\WfApps\WebApps\eFormAspx\App_Data`) is as short as possible.
