# A parser error is returned to the web browser when accessing WorkflowGen portal or administration module

**URL:** <https://discuss.workflowgen.com/t/a-parser-error-is-returned-to-the-web-browser-when-accessing-workflowgen-portal-or-administration-module/92>\
**Category:** Installation\
**Created:** [July 11, 2007, 1:38am UTC](https://discuss.workflowgen.com/t/a-parser-error-is-returned-to-the-web-browser-when-accessing-workflowgen-portal-or-administration-module/92 "2007-07-11T01:38:31Z")\
**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 11, 2007, 1:38am UTC](https://discuss.workflowgen.com/t/a-parser-error-is-returned-to-the-web-browser-when-accessing-workflowgen-portal-or-administration-module/92/1 "2007-07-11T01:38:31Z")

</div>

### Issue

A parser error is returned to the web browser when accessing the WorkflowGen User Portal or Administration Module with one of the following messages:

#### Portal

```nohighlight
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.   
Parser Error Message: Could not load type 'Advantys.Workflow.Web.UI.Portal.PageController'.   
Source Error:   
Line 1: <%@ Inherits="Advantys.Workflow.Web.UI.Portal.PageController" autoeventwireup="false" Codepage="65001" %>

```

#### Administration Module

```nohighlight
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.   
Parser Error Message: Could not load type 'Advantys.Workflow.Web.UI.Administration.PageController'.   
Source Error:   
Line 1: <%@ Inherits="Advantys.Workflow.Web.UI.Administration.PageController" autoeventwireup="false" Codepage="65001" %>

```

### Cause

The WorkflowGen application is not declared as a valid web application in IIS.

### Solution

1. Open IIS and browser to the WorkflowGen website (`DRIVE:\Inetpub\wwwroot\wfgen`).

2. Right-click on `wfgen` under the `wwwroot` folder and choose **Properties**.

3. On the **Directory Security** tab, click the **Edit** button and select **Basic Authentication**.

4. On the **Documents** tab, add `default.aspx` if it doesn’t already exists in the list.

5. On the **Directory** tab, click **Create** to create the application.

6. Set **Execute Permissions** to **Scripts only**.

7. On the **ASP.NET** tab, choose ASP.NET version 2.0.50727 if not already selected.
