我遇到了奇怪的錯誤,有人知道這意味着什麼嗎? 該服務通常從VS2010正常工作,但在IIS上出現故障。 不幸的是我不能谷歌這個是什麼錯誤代碼的含義......IIS上的WCF 500錯誤無需登錄到事件日誌
Module ManagedPipelineHandler
Notification ExecuteRequestHandler
Handler ExtensionlessUrl-Integrated-4.0
Error Code 0x800703e9
跟蹤的WCF的樣子:
<system.diagnostics>
<sources>
<source name="System.ServiceModel"
switchValue="Information, ActivityTracing, Critical, Error, Warning"
propagateActivity="true" >
<listeners>
<add name="xml"/>
</listeners>
</source>
<source name="System.ServiceModel.MessageLogging">
<listeners>
<add name="xml"/>
</listeners>
</source>
<source name="myUserTraceSource"
switchValue="Information, ActivityTracing, Critical, Error, Warning">
<listeners>
<add name="xml"/>
</listeners>
</source>
</sources>
<sharedListeners>
<add name="xml"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData="D:\Trace.svclog" />
</sharedListeners>
</system.diagnostics>
而且跟蹤的結果:
<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
<System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system">
<EventID>131073</EventID>
<Type>3</Type>
<SubType Name="Information">0</SubType>
<Level>8</Level>
<TimeCreated SystemTime="2011-12-02T12:52:40.5061619Z" />
<Source Name="System.ServiceModel" />
<Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" />
<Execution ProcessName="w3wp" ProcessID="3584" ThreadID="2" />
<Channel />
<Computer>ANAZAROV</Computer>
</System>
<ApplicationData>
<TraceData>
<DataItem>
<TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Information">
<TraceIdentifier>http://msdn.microsoft.com/ru-RU/library/System.ServiceModel.Diagnostics.AppDomainUnload.aspx</TraceIdentifier>
<Description>AppDomain unloading.</Description>
<AppDomain>/LM/W3SVC/3/ROOT-2-129673033336784854</AppDomain>
<ExtendedData xmlns="http://schemas.microsoft.com/2006/08/ServiceModel/DictionaryTraceRecord">
<AppDomain.FriendlyName>/LM/W3SVC/3/ROOT-2-129673033336784854</AppDomain.FriendlyName>
<ProcessName>w3wp</ProcessName>
<ProcessId>3584</ProcessId>
</ExtendedData>
</TraceRecord>
</DataItem>
</TraceData>
</ApplicationData>
</E2ETraceEvent>
謝謝,藝術
答案是找到的!
這個擴展需要安裝:http://support.microsoft.com/kb/2468871
的問題是,這個服務正常工作在其他機器上...所以代碼是OK,這是一些問題與IIS/PC配置... – Anonymous