HTTP 错误 500.19 配置文件错误 ( 0x8007000d,0x80070032)

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>

 

 
 
posted @ 2017-10-23 10:00  Rocken.li  阅读(2974)  评论(0编辑  收藏  举报