web-dev-qa-db-fra.com

Erreur HTTP 500.19 - IIS 7.5 Erreur 0x8007000d

Lors du transfert du site Web vers le nouveau IIS 7.5, l'erreur suivante est survenue:

Je ne sais pas s'il s'agit d'une erreur de programmation ou d'une erreur de serveur 

Résumé

Erreur HTTP 500.19 - Erreur de serveur interne
La page demandée est inaccessible car les données de configuration associées à la page ne sont pas valides.

Informations d'erreur détaillées
Module IIS Web Core
Notification inconnue
Handler Pas encore déterminé
Code d'erreur 0x8007000d
Erreur de configuration
Fichier de configuration \?\E:\kunden\homepages\0\d442477881\www\web.config
URL demandée http://mcstech.co.uk:80/
Chemin physique
Méthode de connexion Pas encore déterminé
Identifiant de connexion Pas encore déterminé
Répertoire des journaux de suivi des demandes ayant échoué faultRequestLogPath
Source de configuration
-1:
0: 

Ceci est le contenu de mon fichier webconfig

<?xml version="1.0"?>
<configuration>
    <configSections>
        <sectionGroup name="system.web">
            <section name="urlrewrites" type="ThunderMain.URLRewriter.Rewriter, ThunderMain.URLRewriter, Version=1.0.783.30976, Culture=neutral, PublicKeyToken=7a95f6f4820c8dc3"/>
        </sectionGroup>
        <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
            <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                    <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
                    <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                    <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                    <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                    </sectionGroup>
                    </sectionGroup>
                    </sectionGroup></configSections>
    <connectionStrings>
        <add name="constr" connectionString="Data Source=98.130.0.20;Initial Catalog=C283122_mcs;Persist Security Info=True;User ID=C283122_mcsweb;Password=Mcsweb100t"/>
    </connectionStrings>
    <appSettings>
        <!--<add key="RTE.AjaxUploader.UploadSpeedKB" value="500"/>-->
        <!--<add key="RTE.ImageEditor.TempFolder" value="~/rtetemp"/>-->
        <add key="RichTextEditorTempPath  " value="~/rtetemp"/>
    </appSettings>
    <system.webServer>
        <staticcontent>
            <clientcache cachecontrolmaxage="150.00:00:00" cachecontrolmode="UseMaxAge">
            </clientcache></staticcontent>
        <modules>
            <remove name="ScriptModule"/><add name="UploadModule" type="RTE.UploadModule,RichTextEditor"/>
            <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></modules>
        <validation validateIntegratedModeConfiguration="false"/>
            <handlers>
            <remove name="WebServiceHandlerFactory-Integrated"/>
            <remove name="ScriptHandlerFactory"/>
            <remove name="ScriptHandlerFactoryAppServices"/>
            <remove name="ScriptResource"/>
            <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"/>
            <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"/>
            <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"/>
            </handlers>
            </system.webServer>

    <system.web>
        <sessionState cookieless="UseCookies" cookieName="Dont_delete_cookie" mode="InProc"/>
        <!--<httpRuntime requestValidationMode="2.0"/>-->
        <machineKey validationKey="ACCC9E972F97EC8FDEE6852A04F17354F47E574D8769E0DE65291BBC22898370CE31FE4117CD1715F0CD8A932A7C71D3A4971B8BD534557881756E573DA6AF18" decryptionKey="0253BD20700FC9BC9DABDAA663581BF14B455000C74CDA08D558E30839C95312" validation="SHA1" decryption="AES"/>
        <!--  <sessionState mode="InProc" timeout="30" />-->
        <!-- <customErrors mode="Off"/>-->
        <customErrors mode="RemoteOnly" defaultRedirect="http://mcstech.co.uk/"/>

        <pages validateRequest="false">
            <controls>
                <add tagPrefix="asp" namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add tagPrefix="asp" namespace="System.Web.UI.WebControls" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></controls></pages>

        <!--<httpModules>
      <add name="UploadModule" type="RTE.UploadModule,RichTextEditor"/>
    </httpModules>-->

        <urlrewrites>
            <rule>
                <url>/web-design-clients</url>
                <rewrite>web-design-clients.aspx</rewrite></rule>
            <rule>
                <url>/case-study/(.*)</url>
                <rewrite>/case-study.aspx?id=$1</rewrite>
            </rule>
            <rule><url>/case-studies</url>
                <rewrite>case-studies.aspx</rewrite></rule>
            <rule>
                <url>/internet-website-promotion-marketing</url>
                <rewrite>internet-website-promotion-marketing.aspx</rewrite></rule>
            <rule>
                <url>/flash-website-design</url>
                <rewrite>flash-website-design.aspx</rewrite></rule>
            <rule>
                <url>/ecommerce-site-design-development</url>
                <rewrite>ecommerce-site-design-development.aspx</rewrite>
            </rule>
            <rule>
                <url>/custom-website-design</url>
                <rewrite>custom-website-design.aspx</rewrite></rule>
            <rule>
                <url>/website-design-process-steps</url>
                <rewrite>website-design-process-steps.aspx</rewrite>
            </rule>
            <rule>
                <url>/sem-ppc-packages</url>
                <rewrite>sem-ppc-packages.aspx</rewrite>
            </rule>
            <rule>
                <url>/home</url>
                <rewrite>Default.aspx</rewrite>
            </rule>
            <rule>
                <url>/mcs-technologies</url>
                <rewrite>company.aspx</rewrite>
            </rule>
            <rule>
                <url>/web-solutions</url>
                <rewrite>solutions.aspx</rewrite>
            </rule>
            <rule>
                <url>/our-solutions/web-and-mobile-presence</url>
                <rewrite>/web-and-mobile-presence.aspx</rewrite></rule>
            <rule>
                <url>/our-solutions/online-branding</url>
                <rewrite>/online-branding.aspx</rewrite>
            </rule>
            <rule>
                <url>/our-solutions/business-software-solutions</url>
                <rewrite>/business-software-solutions.aspx</rewrite>
            </rule>
            <rule>
                <url>/our-solutions/online-sales-marketing</url>
                <rewrite>/online-sales-marketing.aspx</rewrite>
            </rule>
            <rule>
                <url>/our-solutions/mobile-applications</url>
                <rewrite>/mobile-applications.aspx</rewrite>
            </rule>
            <rule>
                <url>/web-design-services/web-design-development</url>
                <rewrite>/web-design-development.aspx</rewrite>
            </rule>
            <rule>
                <url>/web-design-services/web-hosting</url>
                <rewrite>/web-hosting.aspx</rewrite>
            </rule>
            <rule>
                <url>/web-design-services/mobile-app-development</url>
                <rewrite>/mobile-app-development.aspx</rewrite>
            </rule>
            <rule>
                <url>/web-design-services/web-marketing</url>
                <rewrite>/web-marketing.aspx</rewrite>
            </rule>
            <rule>
                <url>/web-design-services/seo</url>
                <rewrite>/seo.aspx</rewrite>
            </rule>
            <rule>
                <url>/portfolio</url>
                <rewrite>portfolio.aspx</rewrite>
            </rule>
            <rule>
                <url>/contact-mcs</url>
                <rewrite>contact_us.aspx</rewrite>
            </rule>
            <rule>
                <url>/website-packages</url>
                <rewrite>website-packages.aspx</rewrite>
            </rule>
            <rule>
                <url>/terms-conditions</url>
                <rewrite>terms-conditions.aspx</rewrite>
            </rule>
            <rule>
                <url>/sitemap</url>
                <rewrite>sitemap.aspx</rewrite>
            </rule>
            <rule>
                <url>/privacy-policy</url>
                <rewrite>privacy-policy.aspx</rewrite>
            </rule>
            <rule>
                <url>/our-methodology/web-design-development</url>
                <rewrite>/m-web-design-development.aspx</rewrite>
            </rule>
            <rule>
                <url>/our-methodology/web-marketing</url>
                <rewrite>/m-web-marketing.aspx</rewrite>
            </rule>
            <rule>
                <url>/our-methodology/mobile-applications</url>
                <rewrite>/m-mobile-applications.aspx</rewrite>
            </rule>
            <rule>
                <url>/our-expertise</url>
                <rewrite>our-expertise.aspx</rewrite>
            </rule>
            <rule>
                <url>/careers</url>
                <rewrite>careers.aspx</rewrite>
            </rule>
            <rule>
                <url>/request-for-proposal</url>
                <rewrite>request-for-proposal.aspx</rewrite>
            </rule>
            <rule>
                <url>/testimonials</url>
                <rewrite>Testimonials.aspx</rewrite>
            </rule>
            <rule>
                <url>/web-design-company</url>
                <rewrite>web-design-company.aspx</rewrite>
            </rule>
            <rule>
                <url>/contact-us-confirmation</url>
                <rewrite>contact-us-confirmation.aspx</rewrite>
            </rule>
            <rule>
                <url>/request-proposal-confirmation</url>
                <rewrite>request-proposal-confirmation.aspx</rewrite>
            </rule>
            <rule>
                <url>/Captcha</url>
                <rewrite>Captcha.aspx</rewrite>
            </rule>
        </urlrewrites>
        <compilation debug="true">


            <assemblies>
                <add Assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                <add Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add Assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                <add Assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                <add Assembly="System.Net, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies></compilation>
        <httpHandlers>
            <remove verb="*" path="*.asmx"/>
            <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <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"/>
            <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"/></httpHandlers>
        <httpModules>
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></httpModules></system.web>
    <system.codedom>
        <compilers>
            <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
                <providerOption name="CompilerVersion" value="v3.5"/>
                <providerOption name="WarnAsError" value="false"/></compiler>
            <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
                <providerOption name="CompilerVersion" value="v3.5"/>
                <providerOption name="OptionInfer" value="true"/>
                <providerOption name="WarnAsError" value="false"/></compiler></compilers></system.codedom>
    <runtime>
        <assemblyBinding appliesTo="v2.0.50727" xmlns="urn:schemas-Microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/></dependentAssembly>
            <dependentAssembly>
                <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/></dependentAssembly></assemblyBinding></runtime></configuration>
33
Ann Joseph

Il semble que vous utilisiez la fonctionnalité de réécriture d'URL. Veuillez vous assurer que vous avez installé votre logiciel de réécriture sur le serveur, sinon vous risquez d'obtenir cette erreur.

Pour vérifier si la réécriture d'URL est installée, vous pouvez aller à «Accueil IIS» et voir s'il y a un composant de réécriture d'URL dans la liste des composants.

Si vous n'en avez pas trouvé, vous pouvez l'installer à l'aide du lien ci-dessous: http://www.iis.net/downloads/Microsoft/url-rewrite

Vous pouvez également utiliser le programme d'installation de la plateforme Web Microsoft et installer le produit URL Rewrite.

72
Umamaheswaran

Essayez d’installer URL Rewrite à l’aide de Web Platform Installer. Cela a résolu mon problème.

 enter image description here

8
Nurhak Kaya

Erreur HTTP 500.19 - IIS 7.5 L'erreur 0x8007000d dit à propos de l'élément non valide dans votre web.config. C'est pourquoi IIS ne peut pas lire ce fichier pour démarrer votre site. Vous pouvez trouver l’élément problématique en commentant quelques blocs et en recherchant le type d’erreur. Les raisons de cette erreur (500.19) peuvent être différentes.

2
Alexander Shapkin

La ligne directorybrowse supprimée du fichier web.config a fonctionné pour moi.

<system.webServer>
    <defaultDocument>
        <files>
            <clear />
            <add value="Default.asp" />
            <add value="Default.htm" />
        </files>
    </defaultDocument>
  <!--<directorybrowse enabled="false"></directorybrowse>-->
</system.webServer>
1
Hitesh Kumar

Vous avez probablement oublié d'installer le pack d'hébergement pour Windows

Sur le site Web de Microsoft, téléchargez le kit ASP.NET Core/.NET Core: Runtime & Hosting

0
John Luke