HTTP 錯誤 500.19 配置檔案錯誤 ( 0x8007000d,0x80070032)

weixin_34259232發表於2017-10-23

HTTP 錯誤 500.19 - Internal Server Error
無法訪問請求的頁面,因為該頁的相關配置資料無效。 詳細錯誤資訊
模組 IIS Web Core 
通知 未知 
處理程式 尚未確定 
錯誤程式碼 0x80070032 
配置錯誤 無法讀取配置節“system.serviceModel”,因為它缺少節宣告。

 解決辦法:在“伺服器管理器”的“功能”項中,“新增功能”,選擇“.NET Framework 3.5.1功能”安裝。

 

HTTP 錯誤 500.19 - Internal Server Error

無法訪問請求的頁面,因為該頁的相關配置資料無效。

模組 IIS Web Core
通知 未知
處理程式 尚未確定
錯誤程式碼 0x8007000d
配置錯誤  
配置檔案 \\?\D:\Web\et\web.config
請求的 URL http://et.test.wanfangdata.com.cn:80/
物理路徑  
登入方法 尚未確定
登入使用者 尚未確定
 
 
 
 
 
 
 
 
配置源 (-1: 0:)
 
系統環境:Web server2008r2 64   Framework 4.0  IIS7.5.7600  16385
解決辦法:問題多出在  <system.webServer>節(據說是IIS7.0整合配置)    <system.web>(IIS7.0經典及以下)
刪掉了rewrite節
 
<system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules runAllManagedModulesForAllRequests="true">
      <add name="SimpleTradeConvert" type="WFKS.WebUtility.SimpleTradeConvertHttpModule, WFKS.WebUtility" />
      <add name="WFKSAuthentication" type="WFKS.Authentication.WebAuthenticationModule, WFKS.Authentication" />
    </modules>
    <handlers>
      <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
      <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
      <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
      <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
      <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
      <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
    </handlers>
    <rewrite>
      <rules>
        <rule name="Services" stopProcessing="true">
          <match url="customerservice/Services.aspx" />
          <action type="Redirect" url="customerservice/Services" />
        </rule>
        <rule name="helpindex" stopProcessing="true">
          <match url="help/index.html" />
          <action type="Redirect" url="/Help/Index" />
        </rule>
        <rule name="AboutUsDefault" stopProcessing="true">
          <match url="AboutUs/Default.aspx" />
          <action type="Redirect" url="AboutUs/Index" />
        </rule>
        <rule name="AboutUsContactUs" stopProcessing="true">
          <match url="AboutUs/ContactUs.aspx" />
          <action type="Redirect" url="AboutUs/ContactUs" />
        </rule>
        <rule name="CustomerserviceAnnounce" stopProcessing="true">
          <match url="customerservice/Announce.aspx" />
          <action type="Redirect" url="customerservice/Announce" />
        </rule>
        <rule name="OtherLinks" stopProcessing="true">
          <match url="Others/Links.aspx" />
          <action type="Redirect" url="/AboutUs/OtherLinks" />
        </rule>
        <rule name="ResourceDescriptionNstl" stopProcessing="true">
          <match url="ResourceDescription/Nstl.aspx" />
          <action type="Redirect" url="ResourceDescription/Nstl" />
        </rule>
        <rule name="ResourceBrowseScholar" stopProcessing="true">
          <match url="ResourceBrowse/Scholar.aspx" />
          <action type="Redirect" url="ResourceBrowse/Scholar" />
        </rule>
      </rules>
    </rewrite>
    <directoryBrowse enabled="true" />
    <staticContent>
      <remove fileExtension=".gif" />
    </staticContent>
  </system.webServer>

 

 
 

相關文章