"Something went wrong" error in Outlook Web App and ECP in Exchange Server 2013

Symptoms
When you try to log on to Outlook Web App or Exchange Control Panel (ECP), you receive the following error message:

Sorry, something went wrong
An error has occurred on the server.
TECHNICAL DETAILS

If you click the TECHNICAL DETAILS link, the following text is displayed:

An unexpected error occurred and your request couldn't be handled.
X-OWA-Error: System.NullReferenceException
X-OWA-Version: OWA Version
X-FEServer: Exchange 2013 Client Access Server
X-BEServer: Exchange 2013 Mailbox Server
Date: Date and Time

Note This behavior occurs even though you can still use Microsoft Outlook to send and receive email messages.
Cause
The GUID value is stored in the browser cookie collection and is included in an Outlook Web App or ECP request. If the GUID value that's stored in Active Directory Domain Services (AD DS) doesn't match, the server blocks the request.
Resolution
To fix this issue, install Cumulative Update 11 or a later cumulative update for Exchange Server 2013.

Note This update enables periodic recycle of the Outlook Web App or ECP app pools (every 14 days). If you disable this recycle functionality or set the period to more than 28 days, the issue may recur.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More information

Application logs when this issue occurs

When this issue occurs, the Application log in Event Viewer may show the following events:

Log Name: Application
Source: ASP.NET 4.0.30319.0
Logged: Date and Time
Event ID: 1309
Task Category: Web Event
Level: Warning
Keywords: Classic
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: Date and Time
Event time (UTC): Date and Time
Event ID: f959d55d927a45f8b3b69051bbd62038
Event sequence: 2
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: Domain
Trust level: Full
Application Virtual Path: /owa
Application Path: C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\owa\
Machine name: EX2013CAS
Process information:
Process ID: 1374
Process name: w3wp.exe
Account name: Account Name
Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
at Microsoft.Exchange.Clients.Common.Canary15.Init(Byte[] userContextIdBinary, Byte[] timeStampBinary, String logonUniqueKey, Byte[] hashBinary, String logData)
at Microsoft.Exchange.Clients.Common.Canary15..ctor(String logonUniqueKey)
at Microsoft.Exchange.Clients.Common.Canary15Cookie.TryCreateFromHttpCookie(HttpCookie cookie, String logonUniqueKey, Canary15Profile profile)
at Microsoft.Exchange.Clients.Common.Canary15Cookie.TryCreateFromHttpContext(HttpContext httpContext, String logOnUniqueKey, Canary15Profile profile)
at Microsoft.Exchange.Clients.Owa2.Server.Core.OwaRequestHandler.InternalOnPostAuthorizeRequest(Object sender)
at Microsoft.Exchange.Clients.Owa2.Server.Core.OwaRequestHandler.OnPostAuthorizeRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Request information:
Request URL: Request URL
Request path: Request path
User host address: User host address
User: User
Is authenticated: True
Authentication Type: Kerberos
Thread account name: NT AUTHORITY\SYSTEM
Thread information:
Thread ID: 12
Thread account name: NT AUTHORITY\SYSTEM
Is impersonating: False
Stack trace: at Microsoft.Exchange.Clients.Common.Canary15.Init(Byte[] userContextIdBinary, Byte[] timeStampBinary, String logonUniqueKey, Byte[] hashBinary, String logData)
at Microsoft.Exchange.Clients.Common.Canary15..ctor(String logonUniqueKey)
at Microsoft.Exchange.Clients.Common.Canary15Cookie.TryCreateFromHttpCookie(HttpCookie cookie, String logonUniqueKey, Canary15Profile profile)
at Microsoft.Exchange.Clients.Common.Canary15Cookie.TryCreateFromHttpContext(HttpContext httpContext, String logOnUniqueKey, Canary15Profile profile)
at Microsoft.Exchange.Clients.Owa2.Server.Core.OwaRequestHandler.InternalOnPostAuthorizeRequest(Object sender)
at Microsoft.Exchange.Clients.Owa2.Server.Core.OwaRequestHandler.OnPostAuthorizeRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Name: Application
Source: MSExchange Common
Date: Date and Time
Event ID: 4999
Task Category: General
Level: Error
Keywords: Classic
User: N/A
Computer: Exchange 2013 Client Access Server
Description:
Watson report about to be sent for process id: ProcessID, with parameters: E12, BuildType, Version, w3wp#MSExchangeECPAppPool, M.E.Clients.Common, M.E.C.C.Canary15.Init, System.NullReferenceException, XXX, Version.
ErrorReportingEnabled: False


Properties

Article ID: 3068470 - Last Review: 12/15/2015 17:42:00 - Revision: 3.0

Microsoft Exchange Server 2013 Enterprise, Microsoft Exchange Server 2013 Standard

  • kbsurveynew kbexpertiseadvanced kberrmsg kbfix kbqfe KB3068470
Feedback