Article ID: 983540 - Last Review: September 9, 2010 - Revision: 2.0

"Http 500" error message when you use Exchange Troubleshooting Assistant on an Exchange Server 2007 Client Access server to diagnose issues

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
Expand all | Collapse all

SYMPTOMS

You can use Microsoft Exchange Troubleshooting Assistant on a Microsoft Exchange Server 2007 server to diagnose issues. If you enable the AllResponses trace tag of the MSExchangeWebServices component and then configure the mailbox trace filtering option for one or more mailboxes, this tracing encounters an exception in the w3wp.exe process. Additionally, you find that the IIS trace log on the Exchange Server 2007 Client Access server includes the following error message:
<IIS_Log_filename>:<number>:<date_time> W3SVC1 <ip-address> POST /ews/Exchange.asmx SoapAction=xxxxxxxxxx xxx x xxxx 500 0 0

This problem always occurs when you troubleshoot an Exchange Web Services (EWS) application. In this situation, the EWS application might also throw an exception with the following call stack information:

Encountered unhandled exception: System.Web.Services.Protocols.SoapException: Server was unable to process request. System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Exchange.Services.ServiceExtensionManager.TraceMessage(Stream stream, Trace tracer)
at Microsoft.Exchange.Services.ResponseLogger.AfterSerializeResponse(SoapMessage message)
at Microsoft.Exchange.Services.ServiceExtensionManager.DoAfterSerializeResponse(SoapMessage message)
at Microsoft.Exchange.Services.ServiceExtensionManager.<>c__DisplayClass1.<ProcessMessage>b__0()
at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate)
at Microsoft.Exchange.Diagnostics.ExWatson.SendReportOnUnhandledException(MethodDelegate methodDelegate, IsExceptionInteresting exceptionInteresting, Boolean terminating)
at Microsoft.Exchange.Services.Core.ServiceDiagnostics.TraceErrorOnUnhandledException(MethodDelegate methodDelegate)
at System.Web.Services.Protocols.SoapMessage.RunExtensions(SoapExtension[] extensions, Boolean throwOnException)

RESOLUTION

To resolve this problem, install the following update rollup:
2279665  (http://support.microsoft.com/kb/2279665/ ) Description of Update Rollup 1 for Exchange Server 2007 Service Pack 3

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

APPLIES TO
  • Microsoft Exchange Server 2007 Service Pack 3
  • Microsoft Exchange Server 2007 Service Pack 2
  • Microsoft Exchange Server 2007 Service Pack 1
  • Microsoft Exchange Server 2007 Enterprise Edition
  • Microsoft Exchange Server 2007 Standard Edition
Keywords: 
kbfix kbqfe kbsurveynew kbhotfixrollup kbexpertiseinter KB983540