Error, "Unrecognized Configuration Section 'system.webServer'"
search cancel

Error, "Unrecognized Configuration Section 'system.webServer'"

book

Article ID: 176763

calendar_today

Updated On:

Products

Workflow Solution

Issue/Introduction

What causes the following error when trying to access a published Workflow project from a Web server?

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized configuration section 'system.webServer'

Source Error:

Line 103: <infragistics.web imageDirectory="${HOSTNAME.EN_US}/LogicbaseWebInclude/infragistics/images" javaScriptDirectory="${HOSTNAME.EN_US}/LogicbaseWebInclude/infragistics/scripts" />
Line 104:
Line 105:  <system.webServer>
Line 106:      <handlers>
Line 107:          <add name="ScriptResource.axd_GET,HEAD" path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv2.0" />

Source File: c:program files\altiris\workflow designer\WorkflowDeploy\Release\TestListItems\web.config    Line: 105

Resolution

If the Web server or virtual directory for your Workflow project is set to ASP.NET 1.1 rather than 2.0, this error will appear.  Workflow requires ASP.NET 2.0 to function properly. This issue is more likely to happen in an environment where the Workflow Server is being deployed on the same computer as Notification Server. Since Notification Server requires ASP.NET 1.1, special configuration must take place to allow them to coexist. Article 40939 goes into detail about this configuration.