# Web form: Error "The specified path, file name, or both are too long"

**URL:** <https://discuss.workflowgen.com/t/web-form-error-the-specified-path-file-name-or-both-are-too-long/220>\
**Category:** Visual Studio Web Forms\
**Created:** [July 10, 2014, 5:02am UTC](https://discuss.workflowgen.com/t/web-form-error-the-specified-path-file-name-or-both-are-too-long/220 "2014-07-10T05:02:06Z")\
**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:** [July 10, 2014, 5:02am UTC](https://discuss.workflowgen.com/t/web-form-error-the-specified-path-file-name-or-both-are-too-long/220/1 "2014-07-10T05:02:06Z")

</div>

### Issue

When you launch a .NET web form created with Visual Studio you get an ASP.NET error: `The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters ...`

### Solution

This error can occur since version 5.6.1 if the WorkflowGen.My DLL used by the Visual Studio web form is not compatible and web apps secure mode\*\* is enabled.

The solution is to upgrade the WorkflowGen.My DLL used in the web form’s `\bin` folder of the web form (see [Setup: Web apps security: Workflow parameters secure mode](https://discuss.workflowgen.com/t/setup-web-apps-security-workflow-parameters-secure-mode/125)), or to deactivate [web apps secure mode](https://docs.advantys.com/workflowgen-administration-module-reference-guide/configuration-panel#web-apps-secure-mode) in the **Security** section on the **General** tab of the **Configuration Panel**.
