OWA encountered an unexpected error and was unable to handle your request when viewing messages with attachments

by Matt on April 10, 2009

We ran into an issue at work where users couldn’t access attachments via Outlook Web Access(OWA).  The funny thing was that it only affected a few attachment types.  It seemed like it was just Microsoft Office files and zip files.

We searched high and low via google and experts exchange.  Couldn’t find a thing.  I finally noticed that a IIS worker process was failing.  I asked my coworker if he had run an IISReset on the Client Access Server(CAS).  He ran it and the issue went away.

Still not sure what was up but an IISReset did the trick.

Error details on the browser window:

screen1

Request
Url: https://mail.domain.com:443/owa/forms/premium/ReadMessage.aspx?ae=Item&a=Open&t=IPM.Note&id= RgAAAADLnh67i5nPR777QgWTsU%2fXBwDD7JFa4afaQoklDXkIleF%2bAAAB6itMAADspaj2AY%2bLRZTBa79g OazdAAAnmJ5OAAAJ
User host address: 10.12.30.43
User: Matt Brauchler
EX Address: /o=Exchange/ou=First Administrative Group/cn=Recipients/cn=matt.brauchler

SMTP Address: matt.brauchler@domain.com
OWA version: 8.1.240.5
Mailbox server: exchange.domain.com
Exception
Exception message: Illegal operation attempted on a registry key that has been marked for deletion.
Exception type: System.IO.IOException

Call stack

Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
Microsoft.Win32.RegistryKey.InternalSubKeyCount()
Microsoft.Win32.RegistryKey.InternalGetSubKeyNames()
Microsoft.Exchange.Data.Directory.SystemConfiguration.ExtensionToContentTypeMapper.BuildContentTypesFromRegistry()
Microsoft.Exchange.Data.Directory.SystemConfiguration.ExtensionToContentTypeMapper.get_Instance()
Microsoft.Exchange.Data.Directory.SystemConfiguration.ExtensionToContentTypeMapper.Create()
Microsoft.Exchange.Data.Storage.Attachment.CalculateContentType()
Microsoft.Exchange.Clients.Owa.Core.AttachmentLevelLookup.GetAttachmentLevel(Attachment attachment, UserContext userContext)
Microsoft.Exchange.Clients.Owa.Core.Controls.AttachmentWellInfo..ctor(Attachment attachment, Boolean isJunkOrPhishing)
Microsoft.Exchange.Clients.Owa.Core.Controls.AttachmentUtility.GetAttachmentList(Item item, Boolean isLoggedOnFromPublicComputer, Boolean isEmbeddedItem, Boolean discardInline, Boolean forceEnableItemLink)
Microsoft.Exchange.Clients.Owa.Premium.Controls.AttachmentWell.GetAttachmentInformation(Item item, Boolean isLoggedOnFromPublicComputer, Boolean isEmbeddedItem, Boolean forceEnableItemLink)
Microsoft.Exchange.Clients.Owa.Premium.ReadMessage.CreateAttachmentHelpers()
ASP.forms_premium_readmessage_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
System.Web.UI.Page.Render(HtmlTextWriter writer)
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Leave a Comment

Previous post:

Next post: