Hi
When importing a web.config the line
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
is imported wrong - it makes double of another line.
regards
web.config listed:
<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=301880
-->
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" requirePermission="false" />
</configSections>
<log4net>
<appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="Logs\ProcessLog.txt" />
<encoding value="utf-8" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="5" />
<maximumFileSize value="20MB" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%level][%thread] %message%newline" />
</layout>
</appender>
<root>
<level value="DEBUG" />
<appender-ref ref="RollingFileAppender" />
</root>
</log4net>
<appSettings>
<!--AMR National PROD-->
<!--<add key="OrganizationId" value="43"/>
<add key="OrganizationExternalKey" value="OTLLC"/>
<add key="OrganizationName" value="LifeLine Com"/>
<add key="TimeZoneName" value="Pacific Standard Time"/>-->
<!--<add key="Environment" value="AMR National PROD"/>
<add key="DataServiceUrl" value="http://10.5.160.66:13050/LogisDataService/v1/"/>-->
<!--Envision AMR TMP-->
<!--<add key="Environment" value="AMR National TEST" />
<add key="DataServiceUrl" value="https://localhost/LogisDataService/v1/" />-->
<!--AMR National TEST-->
<!--<add key="Environment" value="AMR National TEST" />
<add key="DataServiceUrl" value="http://localhost/LogisDataService/v1/" />-->
<!--Logis AMRCAD3TEST-->
<!--<add key="Environment" value="AMRCAD3TEST"/>
<add key="DataServiceUrl" value="http://amrcad3test/LogisDataService/v1/"/>-->
<!--Logis AMRCAD3DEV-->
<add key="Environment" value="AMRCAD3PROD"/>
<add key="DataServiceUrl" value="http://amrcad3prod/LogisDataService/v1/"/>
<!--Logis AMRCAD3TEST-->
<!--<add key="Environment" value="AMR Prod A"/>
<add key="DataServiceUrl" value="http://10.24.11.109:13050/LogisDataService/v1/"/>-->
<!--<add key="Environment" value="AMR Prod B"/>
<add key="DataServiceUrl" value="http://10.24.11.110:13050/LogisDataService/v1/"/>-->
<!--<add key="Environment" value="AMR Prod C"/>
<add key="DataServiceUrl" value="http://10.24.71.109:13050/LogisDataService/v1/"/>-->
<add key="aspnet:MaxJsonDeserializerMembers" value="150000" />
<add key="webpages:Version" value="3.0.0.0" />
<add key="webpages:Enabled" value="true" />
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
<add key="AlwaysShowMobileViews" value="true" />
<add key="Title" value="AMR" />
<add key="LogoFilePath" value="/Content/images/AMR_logo.png" />
<add key="FileUpload.SizeLimit" value="5" /> <!-- in MB, default: 5 -->
<add key="FileUpload.AllowedFileExtensions" value="png, jpg" /> <!-- separated with comma, default: png, jpg -->
<add key="FileUpload.QualityFactor" value="0.3" /> <!-- from 0.0 to 1.0, default: 0.3 -->
<add key="FileUpload.iOSResize" value="0.8" /> <!-- 0.8 = 80%, from 0.1 to 1, default: 0.8 -->
<add key="DefaultMobileTemplate" value="Quick"/>
</appSettings>
<system.web>
<authentication mode="None" />
<compilation debug="true" targetFramework="4.5.1">
<assemblies>
<add assembly="System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</assemblies>
</compilation>
<httpRuntime targetFramework="4.5.1" maxRequestLength="102400" />
<httpModules>
</httpModules>
<customErrors mode="Off" />
<globalization uiCulture="en-US" culture="en-US" />
</system.web>
<system.web.extensions>
<scripting>
<webServices>
<jsonSerialization maxJsonLength="1000000000" />
</webServices>
</scripting>
</system.web.extensions>
<system.webServer>
<modules>
<remove name="FormsAuthentication" />
</modules>
<validation validateIntegratedModeConfiguration="false" />
<defaultDocument enabled="true">
<files>
<add value="Index.cshtml" />
</files>
</defaultDocument>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="104857600"></requestLimits>
</requestFiltering>
</security>
<handlers>
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<remove name="OPTIONSVerbHandler" />
<remove name="TRACEVerbHandler" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Diagnostics.Tracing.EventSource" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.0.26.0" newVersion="1.0.26.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Cors" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.IdentityModel.Tokens.Jwt" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.2.28" newVersion="4.0.2.28" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>