IIS version = 7.5, OS Windows 7
I have following web.config file. IIS Handler Mappings gives me below error.
Line number: 125
Error: This configuration section cannot be used at this path.
This happens when the section is locked at a parent level.
Locking is either by default (overrideModeDefault="Deny"), or set explicitly
by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
And also this file may be having some other problems also. Can some1 please help me to correct this?
web.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"
/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"
/>
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"
/>
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"
/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<appSettings>
<add key="ConnString" value="data source=none1;initial catalog=none2;persist security info=False;user id=sa;password=none3;workstation id=none1;packet size=4096" />
<add key="ImagesPath" value="C:\Inetpub\wwwroot\FSW8iNET20\Images\"/>
<add key="DataDynamicsARLic" value="Cybermetrics,Cybermetrics,DD-APN-20-EU00194,J2PCAKHKCC4CJM244YK3" />
<add key="CustomReportFileVersion" value="2.0.4469.23025" />
<add key="RWBFileVersion" value="2.0.0.7|2.0.0.4" />
<add key="aspnet:MaxHttpCollectionKeys" value="5000" />
<add key="Key2" value="Value2" />
<add key="Key3" value="Value3" />
<add key="Key4" value="Value4" />
<add key="Key5" value="Value5" />
<add key="Key6" value="Value6" />
<add key="Key7" value="Value7" />
<add key="Key8" value="Value8" />
<add key="Key9" value="Value9" />
<add key="Key10" value="Value10" />
</appSettings>
<connectionStrings name="ConnectionString" value="" />
<system.runtime.remoting>
<application>
<service>
<wellknown mode="Singleton" objectUri="TestService.rem" type="RemoteServices.TestService, RemoteServices" />
</service>
<service>
<wellknown mode="Singleton" objectUri="SecurityService.rem" type="RemoteServices.SecurityService, RemoteServices" />
</service>
<service>
<wellknown mode="Singleton" objectUri="SystemService.rem" type="RemoteServices.SystemService, RemoteServices" />
</service>
<service>
<wellknown mode="Singleton" objectUri="EquipmentService.rem" type="RemoteServices.EquipmentService, RemoteServices" />
</service>
<service>
<wellknown mode="Singleton" objectUri="ProcedureService.rem" type="RemoteServices.ProcedureService, RemoteServices" />
</service>
<service>
<wellknown mode="Singleton" objectUri="PartService.rem" type="RemoteServices.PartService, RemoteServices" />
</service>
<service>
<wellknown mode="Singleton" objectUri="ReportService.rem" type="RemoteServices.ReportService, RemoteServices" />
</service>
<service>
<wellknown mode="Singleton" objectUri="WorkorderService.rem" type="RemoteServices.WorkorderService, RemoteServices" />
</service>
<service>
<wellknown mode="Singleton" objectUri="SupplierService.rem" type="RemoteServices.SupplierService, RemoteServices" />
</service>
<service>
<wellknown mode="Singleton" objectUri="ServiceRequestService.rem" type="RemoteServices.ServiceRequestService, RemoteServices" />
</service>
<service>
<wellknown mode="Singleton" objectUri="ReportControlService.rem" type="RemoteServices.ReportControlService, RemoteServices" />
</service>
</application>
</system.runtime.remoting>
<system.web>
<httpHandlers>
<add verb="*" path="NevronChart.axd" type="Nevron.Chart.WebForm.NChartImageResourceHandler" validate="false" />
<add verb="GET,HEAD" path="NevronPrinting.axd" type="Nevron.UI.WebForm.Controls.NPrintPreviewHttpHandler" validate="false" />
<add verb="*" path="*.ActiveReport" type="DataDynamics.ActiveReports.Web.Handlers.CompiledReportHandler, ActiveReports.Web, Version=4.3.0.1261, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
<add verb="*" path="*.ArCacheItem" type="DataDynamics.ActiveReports.Web.Handlers.WebCacheAccessHandler, ActiveReports.Web, Version=4.3.0.1261, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
<add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
<add verb="*" path="*_AppService.axd" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</httpModules>
<compilation defaultLanguage="vb" debug="false">
<compilers>
<compiler language="vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" extension=".VB" compilerOptions="/define:Debug=False /define:Trace=False /imports:Microsoft.VisualBasic,System,System.Collections,System.Configuration,System.Data,System.Drawing,System.Web,System.Web.UI,System.Web.UI.HtmlControls,System.Web.UI.WebControls"
/>
</compilers>
<assemblies>
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
</assemblies>
</compilation>
<httpRuntime maxRequestLength="16384" executionTimeout="3600" />
<customErrors mode="On" defaultRedirect="ErrorPage.aspx" />
<authentication mode="Windows" />
<authorization>
<allow users="*" />
</authorization>
<trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="20" />
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
<pages enableViewStateMac="false" validateRequest="false">
<namespaces>
<add namespace="Microsoft.VisualBasic" />
<add namespace="System.Data" />
<add namespace="System.Drawing" />
</namespaces>
</pages>
<identity impersonate="true" />
<xhtmlConformance mode="Legacy" />
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules>
<remove name="ScriptModule-4.0" />
<remove name="UrlRoutingModule-4.0" />
<remove name="ServiceModel" />
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode" />
<add name="ErrorHandlerModule" type="System.Web.Mobile.ErrorHandlerModule, System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" preCondition="managedHandler" />
<add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="managedHandler" />
</modules>
<handlers>
<add name="*_AppService.axd_*" path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv2.0"
/>
<add name="*.asmx_*" path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv2.0" />
<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"
/>
<add name="*.ArCacheItem_*" path="*.ArCacheItem" verb="*" type="DataDynamics.ActiveReports.Web.Handlers.WebCacheAccessHandler, ActiveReports.Web, Version=4.3.0.1261, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" preCondition="integratedMode,runtimeVersionv2.0"
/>
<add name="*.ActiveReport_*" path="*.ActiveReport" verb="*" type="DataDynamics.ActiveReports.Web.Handlers.CompiledReportHandler, ActiveReports.Web, Version=4.3.0.1261, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" preCondition="integratedMode,runtimeVersionv2.0"
/>
<add name="NevronPrinting.axd_GET,HEAD" path="NevronPrinting.axd" verb="GET,HEAD" type="Nevron.UI.WebForm.Controls.NPrintPreviewHttpHandler" preCondition="integratedMode,runtimeVersionv2.0" />
<add name="NevronChart.axd_*" path="NevronChart.axd" verb="*" type="Nevron.Chart.WebForm.NChartImageResourceHandler" preCondition="integratedMode,runtimeVersionv2.0" />
</handlers>
</system.webServer>
</configuration>