Windows 7でIISがhttp 500エラーが発生しました。

17463 ワード

昨日から私のwindows 7にHttp 500エラーが発生しました。システムのアプリケーションログを見て、次の二つのエラーがあります。
   1:     :          Application
   2:   :            Microsoft-Windows-IIS-W3SVC-WP
   3:   :            2010/8/7 20:58:37
   4:    ID:         2268
   5:     :           
   6:   :              
   7:    :             
   8:   :              
   9:    :           geffzhang-PC
  10:   :
  11:       “DEFAULT WEB SITE”    ISAPI    ,          。
  12:    Xml:
  13: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  14:   <System>
  15:     <Provider Name="Microsoft-Windows-IIS-W3SVC-WP" Guid="{670080D9-742A-4187-8D16-41143D1290BD}" EventSourceName="W3SVC-WP" />
  16:     <EventID Qualifiers="49152">2268</EventID>
  17:     <Version>0</Version>
  18:     <Level>2</Level>
  19:     <Task>0</Task>
  20:     <Opcode>0</Opcode>
  21:     <Keywords>0x80000000000000</Keywords>
  22:     <TimeCreated SystemTime="2010-08-07T12:58:37.000000000Z" />
  23:     <EventRecordID>31007</EventRecordID>
  24:     <Correlation />
  25:     <Execution ProcessID="0" ThreadID="0" />
  26:     <Channel>Application</Channel>
  27:     <Computer>geffzhang-PC</Computer>
  28:     <Security />
  29:   </System>
  30:   <EventData>
  31:     <Data Name="SiteName">DEFAULT WEB SITE</Data>
  32:     <Binary>C1000000</Binary>
  33:   </EventData>
  34: </Event>
 
   1:     :          Application
   2:   :            Microsoft-Windows-IIS-W3SVC-WP
   3:   :            2010/8/7 20:58:37
   4:    ID:         2274
   5:     :           
   6:   :              
   7:    :             
   8:   :              
   9:    :           geffzhang-PC
  10:   :
  11:       ,     ISAPI    “C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll”。           AMD64           。         。             ,                  ,    http://go.microsoft.com/fwlink/?LinkId=29349。
  12:    Xml:
  13: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  14:   <System>
  15:     <Provider Name="Microsoft-Windows-IIS-W3SVC-WP" Guid="{670080D9-742A-4187-8D16-41143D1290BD}" EventSourceName="W3SVC-WP" />
  16:     <EventID Qualifiers="49152">2274</EventID>
  17:     <Version>0</Version>
  18:     <Level>2</Level>
  19:     <Task>0</Task>
  20:     <Opcode>0</Opcode>
  21:     <Keywords>0x80000000000000</Keywords>
  22:     <TimeCreated SystemTime="2010-08-07T12:58:37.000000000Z" />
  23:     <EventRecordID>31006</EventRecordID>
  24:     <Correlation />
  25:     <Execution ProcessID="0" ThreadID="0" />
  26:     <Channel>Application</Channel>
  27:     <Computer>geffzhang-PC</Computer>
  28:     <Security />
  29:   </System>
  30:   <EventData>
  31:     <Data Name="IsapiFilter">C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll</Data>
  32:     <Data Name="ProcessorArchitecture">AMD64</Data>
  33:     <Binary>C1000000</Binary>
  34:   </EventData>
  35: </Event>
関連のKBはhttp://support.microsoft.com/kb/894435/zh-cn?spid=3198で、このKBはASP.NET 2.0に対して、私のマシンの状況はASP.NET 4.0ですが、同じ適用です。私のマシンも64ビットのWindows 7です。ASP.NET 1.1もインストールしました。
解決策:
32 bitのASP.NETを全部ログアウトして、このコマンドを使います。regiis.exe-ua、
64 bitのASP.NET:aspnet_を再登録します。regiis.exe-i