Diese Seite auf Deutsch anzeigen?

MailStore – “Microsoft Exchange Server returned an unexpected HTTP error code EWS 500” when archive email from a Microsoft Exchange Server

ID: 13417

Summary

In MailStore, if you archive emails from a Microsoft Exchange Server, the following EWS error occurs: “Microsoft Exchange Server returned an unexpected HTTP error code EWS 500”

This issue was reported in (but may not be limited to):

  • MailStore Server
  • MailStore SPE

Please note: Independent of this global property, MailStore is neither able to archive messages (where the above error occurred), nor delete them from the Exchange Server.

Cause

HTTP 500 or EWS 500 errors are very unspecific errors, indicating an internal server error while IIS is processing the request. These errors are often caused by a communication problem between IIS or Exchange. Most common reasons are incorrect mailbox names, corrupt objects in the Exchange database, misconfiguration or missing permissions.

Resolution

Third-Party Issue

This is a third-party issue and cannot be resolved by MailStore. Information on how to configure IIS 7 or higher to get more detailed logging of HTTP 500 errors can be found under https://learn.microsoft.com/en-us/troubleshoot/developer/webapps/iis/site-behavior-performance/troubleshoot-http-error-code Also HTTP 500 errors create entries under the application log of the Windows’ event log system as “Exchange Web Service” application (Microsoft Exchange 2007 Service Pack 1 or higher). Important stack traces are included in those entries.

If EWS 500 or HTTP 500 errors occur repeatedly, please contact the Microsoft Support about that issue.