Installation and deployment
Version 7.x > Installation and deployment > WebLogAPI web.config error on load View modes: 
User avatar
Member
Member
ehuggins-pinnacleofindiana - 2/7/2013 10:09:25 AM
   
WebLogAPI web.config error on load
I am getting the following error when deploying my Kentico project to my new development machine: Windows 8, local IIS 8, VS2010/VS2012.
WebSite location: Default WebSite\MyApplication

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x80070021
Config Source:
203: </modules>
204: <handlers>
205: <remove name="MetaWeblogAPI" />

I know the problem involves a locked section of the applicationhost.config file, but cannot quite figure out which section of the AppHost file to unlock.

The relevant section of the Web.Config file is:
<!-- FiftyOne END -->
<system.webServer>
<modules>
<remove name="WebDAVModule" />
<remove name="XHtmlModule" />
<remove name="CMSApplicationModule" />
<remove name="UrlRoutingModule" />
<remove name="Detector" />
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule,System.Web.Routing, Version=3.5.0.0,Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="XHtmlModule" type="CMS.CMSOutputFilter.OutputFilterModule, CMS.OutputFilter" />
<add name="CMSApplicationModule" preCondition="managedHandler" type="CMS.CMSHelper.CMSApplicationModule, CMS.CMSHelper" />
<add name="Detector" type="FiftyOne.Foundation.Mobile.Detection.DetectorModule, FiftyOne.Foundation" />
<add name="ErrorHandlerModule" preCondition="managedHandler" type="System.Web.Mobile.ErrorHandlerModule, System.Web.Mobile, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</modules>
<handlers>
<remove name="MetaWeblogAPI" />
<remove name="UrlRoutingHandler" />
<add name="MetaWeblogAPI" preCondition="integratedMode" verb="*" path="MetaWeblog.ashx" type="CMS.MetaWeblogProvider.MetaWeblogAPI, CMS.MetaWeblogProvider" />
<add name="ChartImageHandler" preCondition="integratedMode" verb="*" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</handlers>
<validation validateIntegratedModeConfiguration="false" />
</system.webServer>

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/10/2013 5:23:21 AM
   
RE:WebLogAPI web.config error on load
Hi,

Have you checked this thread already?

Also, using Google there are many articles with several different suggestions - have you tried any of them?

Also, it seems that in the parent config file is something locked - so I would check the parent config file for any duplicates that are also in the child file.

Best regards,
Juraj Ondrus