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

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

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

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.