title: HTTP Error 500.19 - IIS 7.5 Error 0x8007000d
body: <p>While Transferring Website to new IIS 7.5 I am facing below error:</p>
  
  <p>I am not sure whether it is programming error or server error </p>
  
  <blockquote>
    <p>Summary</p>
    
    <p><strong>HTTP Error 500.19 - Internal Server Error</strong><br>
    The requested page cannot be accessed because the related configuration data for the page is invalid.</p>
    
    <p><strong>Detailed Error Information</strong><br>
    Module    IIS Web Core<br>
    Notification  Unknown<br>
    Handler   Not yet determined<br>
    Error Code    0x8007000d<br>
    Config Error<br>
    Config File   \?\E:\kunden\homepages\0\d442477881\www\web.config<br>
    Requested URL <a href="http://mcstech.co.uk:80/" rel="noreferrer">http://mcstech.co.uk:80/</a><br>
    Physical Path<br>
    Logon Method  Not yet determined<br>
    Logon User    Not yet determined<br>
    Failed Request Tracing Log Directory  faultRequestLogPath<br>
    Config Source<br>
       -1:<br>
        0: </p>
  </blockquote>
  
  <p>This is the contents of my webconfig file</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
      &lt;configSections&gt;
          &lt;sectionGroup name="system.web"&gt;
              &lt;section name="urlrewrites" type="ThunderMain.URLRewriter.Rewriter, ThunderMain.URLRewriter, Version=1.0.783.30976, Culture=neutral, PublicKeyToken=7a95f6f4820c8dc3"/&gt;
          &lt;/sectionGroup&gt;
          &lt;sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"&gt;
              &lt;sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"&gt;
                  &lt;section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/&gt;
                  &lt;sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"&gt;
                      &lt;section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/&gt;
                      &lt;section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/&gt;
                      &lt;section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/&gt;
                      &lt;section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/&gt;
                      &lt;/sectionGroup&gt;
                      &lt;/sectionGroup&gt;
                      &lt;/sectionGroup&gt;&lt;/configSections&gt;
      &lt;connectionStrings&gt;
          &lt;add name="constr" connectionString="Data Source=98.130.0.20;Initial Catalog=C283122_mcs;Persist Security Info=True;User ID=C283122_mcsweb;Password=Mcsweb100t"/&gt;
      &lt;/connectionStrings&gt;
      &lt;appSettings&gt;
          &lt;!--&lt;add key="RTE.AjaxUploader.UploadSpeedKB" value="500"/&gt;--&gt;
          &lt;!--&lt;add key="RTE.ImageEditor.TempFolder" value="~/rtetemp"/&gt;--&gt;
          &lt;add key="RichTextEditorTempPath  " value="~/rtetemp"/&gt;
      &lt;/appSettings&gt;
      &lt;system.webServer&gt;
          &lt;staticcontent&gt;
              &lt;clientcache cachecontrolmaxage="150.00:00:00" cachecontrolmode="UseMaxAge"&gt;
              &lt;/clientcache&gt;&lt;/staticcontent&gt;
          &lt;modules&gt;
              &lt;remove name="ScriptModule"/&gt;&lt;add name="UploadModule" type="RTE.UploadModule,RichTextEditor"/&gt;
              &lt;add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;&lt;/modules&gt;
          &lt;validation validateIntegratedModeConfiguration="false"/&gt;
              &lt;handlers&gt;
              &lt;remove name="WebServiceHandlerFactory-Integrated"/&gt;
              &lt;remove name="ScriptHandlerFactory"/&gt;
              &lt;remove name="ScriptHandlerFactoryAppServices"/&gt;
              &lt;remove name="ScriptResource"/&gt;
              &lt;add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;
              &lt;add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;
              &lt;add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;
              &lt;/handlers&gt;
              &lt;/system.webServer&gt;
  
      &lt;system.web&gt;
          &lt;sessionState cookieless="UseCookies" cookieName="Dont_delete_cookie" mode="InProc"/&gt;
          &lt;!--&lt;httpRuntime requestValidationMode="2.0"/&gt;--&gt;
          &lt;machineKey validationKey="ACCC9E972F97EC8FDEE6852A04F17354F47E574D8769E0DE65291BBC22898370CE31FE4117CD1715F0CD8A932A7C71D3A4971B8BD534557881756E573DA6AF18" decryptionKey="0253BD20700FC9BC9DABDAA663581BF14B455000C74CDA08D558E30839C95312" validation="SHA1" decryption="AES"/&gt;
          &lt;!--  &lt;sessionState mode="InProc" timeout="30" /&gt;--&gt;
          &lt;!-- &lt;customErrors mode="Off"/&gt;--&gt;
          &lt;customErrors mode="RemoteOnly" defaultRedirect="http://mcstech.co.uk/"/&gt;
  
          &lt;pages validateRequest="false"&gt;
              &lt;controls&gt;
                  &lt;add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;
                  &lt;add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;&lt;/controls&gt;&lt;/pages&gt;
  
          &lt;!--&lt;httpModules&gt;
        &lt;add name="UploadModule" type="RTE.UploadModule,RichTextEditor"/&gt;
      &lt;/httpModules&gt;--&gt;
  
          &lt;urlrewrites&gt;
              &lt;rule&gt;
                  &lt;url&gt;/web-design-clients&lt;/url&gt;
                  &lt;rewrite&gt;web-design-clients.aspx&lt;/rewrite&gt;&lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/case-study/(.*)&lt;/url&gt;
                  &lt;rewrite&gt;/case-study.aspx?id=$1&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;&lt;url&gt;/case-studies&lt;/url&gt;
                  &lt;rewrite&gt;case-studies.aspx&lt;/rewrite&gt;&lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/internet-website-promotion-marketing&lt;/url&gt;
                  &lt;rewrite&gt;internet-website-promotion-marketing.aspx&lt;/rewrite&gt;&lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/flash-website-design&lt;/url&gt;
                  &lt;rewrite&gt;flash-website-design.aspx&lt;/rewrite&gt;&lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/ecommerce-site-design-development&lt;/url&gt;
                  &lt;rewrite&gt;ecommerce-site-design-development.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/custom-website-design&lt;/url&gt;
                  &lt;rewrite&gt;custom-website-design.aspx&lt;/rewrite&gt;&lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/website-design-process-steps&lt;/url&gt;
                  &lt;rewrite&gt;website-design-process-steps.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/sem-ppc-packages&lt;/url&gt;
                  &lt;rewrite&gt;sem-ppc-packages.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/home&lt;/url&gt;
                  &lt;rewrite&gt;Default.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/mcs-technologies&lt;/url&gt;
                  &lt;rewrite&gt;company.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/web-solutions&lt;/url&gt;
                  &lt;rewrite&gt;solutions.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/our-solutions/web-and-mobile-presence&lt;/url&gt;
                  &lt;rewrite&gt;/web-and-mobile-presence.aspx&lt;/rewrite&gt;&lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/our-solutions/online-branding&lt;/url&gt;
                  &lt;rewrite&gt;/online-branding.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/our-solutions/business-software-solutions&lt;/url&gt;
                  &lt;rewrite&gt;/business-software-solutions.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/our-solutions/online-sales-marketing&lt;/url&gt;
                  &lt;rewrite&gt;/online-sales-marketing.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/our-solutions/mobile-applications&lt;/url&gt;
                  &lt;rewrite&gt;/mobile-applications.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/web-design-services/web-design-development&lt;/url&gt;
                  &lt;rewrite&gt;/web-design-development.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/web-design-services/web-hosting&lt;/url&gt;
                  &lt;rewrite&gt;/web-hosting.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/web-design-services/mobile-app-development&lt;/url&gt;
                  &lt;rewrite&gt;/mobile-app-development.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/web-design-services/web-marketing&lt;/url&gt;
                  &lt;rewrite&gt;/web-marketing.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/web-design-services/seo&lt;/url&gt;
                  &lt;rewrite&gt;/seo.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/portfolio&lt;/url&gt;
                  &lt;rewrite&gt;portfolio.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/contact-mcs&lt;/url&gt;
                  &lt;rewrite&gt;contact_us.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/website-packages&lt;/url&gt;
                  &lt;rewrite&gt;website-packages.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/terms-conditions&lt;/url&gt;
                  &lt;rewrite&gt;terms-conditions.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/sitemap&lt;/url&gt;
                  &lt;rewrite&gt;sitemap.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/privacy-policy&lt;/url&gt;
                  &lt;rewrite&gt;privacy-policy.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/our-methodology/web-design-development&lt;/url&gt;
                  &lt;rewrite&gt;/m-web-design-development.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/our-methodology/web-marketing&lt;/url&gt;
                  &lt;rewrite&gt;/m-web-marketing.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/our-methodology/mobile-applications&lt;/url&gt;
                  &lt;rewrite&gt;/m-mobile-applications.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/our-expertise&lt;/url&gt;
                  &lt;rewrite&gt;our-expertise.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/careers&lt;/url&gt;
                  &lt;rewrite&gt;careers.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/request-for-proposal&lt;/url&gt;
                  &lt;rewrite&gt;request-for-proposal.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/testimonials&lt;/url&gt;
                  &lt;rewrite&gt;Testimonials.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/web-design-company&lt;/url&gt;
                  &lt;rewrite&gt;web-design-company.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/contact-us-confirmation&lt;/url&gt;
                  &lt;rewrite&gt;contact-us-confirmation.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/request-proposal-confirmation&lt;/url&gt;
                  &lt;rewrite&gt;request-proposal-confirmation.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
              &lt;rule&gt;
                  &lt;url&gt;/Captcha&lt;/url&gt;
                  &lt;rewrite&gt;Captcha.aspx&lt;/rewrite&gt;
              &lt;/rule&gt;
          &lt;/urlrewrites&gt;
          &lt;compilation debug="true"&gt;
  
  
              &lt;assemblies&gt;
                  &lt;add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/&gt;
                  &lt;add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;
                  &lt;add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/&gt;
                  &lt;add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/&gt;
                  &lt;add assembly="System.Net, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/&gt;&lt;/assemblies&gt;&lt;/compilation&gt;
          &lt;httpHandlers&gt;
              &lt;remove verb="*" path="*.asmx"/&gt;
              &lt;add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;
              &lt;add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;
              &lt;add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;&lt;/httpHandlers&gt;
          &lt;httpModules&gt;
              &lt;add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;&lt;/httpModules&gt;&lt;/system.web&gt;
      &lt;system.codedom&gt;
          &lt;compilers&gt;
              &lt;compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4"&gt;
                  &lt;providerOption name="CompilerVersion" value="v3.5"/&gt;
                  &lt;providerOption name="WarnAsError" value="false"/&gt;&lt;/compiler&gt;
              &lt;compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4"&gt;
                  &lt;providerOption name="CompilerVersion" value="v3.5"/&gt;
                  &lt;providerOption name="OptionInfer" value="true"/&gt;
                  &lt;providerOption name="WarnAsError" value="false"/&gt;&lt;/compiler&gt;&lt;/compilers&gt;&lt;/system.codedom&gt;
      &lt;runtime&gt;
          &lt;assemblyBinding appliesTo="v2.0.50727" xmlns="urn:schemas-microsoft-com:asm.v1"&gt;
              &lt;dependentAssembly&gt;
                  &lt;assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/&gt;
                  &lt;bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/&gt;&lt;/dependentAssembly&gt;
              &lt;dependentAssembly&gt;
                  &lt;assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/&gt;
                  &lt;bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/&gt;&lt;/dependentAssembly&gt;&lt;/assemblyBinding&gt;&lt;/runtime&gt;&lt;/configuration&gt;
  </code></pre>