Solved

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

Posted on 2009-04-06
5
2,651 Views
Last Modified: 2012-05-06
When using OWA to view messages with attachments we get the following error:

Outlook Web Access encountered an unexpected error and was unable to handle your request.

It doesn't appear to happen with all file types though. pdf, jpg, wav, ect work but doc, docx, xls, xlsx, ppt, ect don't. I have verified in Exchange management console --> Server configuration --> Client access --> owa (default web site) --> properties --> Public Computer file Access --> Customize that the file types are set to allow.

This appears to be affecting all users, all browser types, and all modes of OWA (public, private, light).

Here is the details from the clipboard of the error :

Request
Url: https://mail.xyz.com:443/owa/forms/premium/ReadMessage.aspx?ae=Item&a=Preview&t=IPM.Note&id=RgAAAAC4jMrDVl8%2bQ5tzg9Zs5UhdBwAVd7RuslSxTb4gRrbskp6eAAACcP%2bsAAAVd7RuslSxTb4gRrbskp6eAAAFR0cuAAAJ
User host address: 10.12.30.16
User: xxx
EX Address: /o=Exchange/ou=First Administrative Group/cn=Recipients/cn=xxx
SMTP Address: xxx@xyz
OWA version: 8.1.240.5
Mailbox server: scdc-exchange-1.xyz.com

Exception
Exception type: System.IO.IOException
Exception message: Illegal operation attempted on a registry key that has been marked for deletion.

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.Create()
Microsoft.Exchange.Data.Directory.SystemConfiguration.ExtensionToContentTypeMapper.get_Instance()
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)

Thanks in advance for any help.

Brad
0
Comment
Question by:w3isysadmin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 10

Expert Comment

by:kevala
ID: 24079413
Are you able to save the attachment?

Also, what version(s) of I.E. have you tried? If multiple, does it happen with all versions?

I've also seen this with performance problems on the server. Not to alarm you with this but, are you getting any memory related warnings or errors in the Application logs in event viewer? (Specifically low PTEs)
0
 
LVL 10

Expert Comment

by:kevala
ID: 24079472
Also, try accessing OWA directly on the Exchange server in IIS manager. Locate the default website, the right-click and choose browse on the Exchange directory. Login through here and try to view one.
0
 

Author Comment

by:w3isysadmin
ID: 24079840
Kevala,

we weren't able to save the attachments. we couldn't even get the message to show up.

We tried from IE 6, IE 7, IE 8, google chrome, Mozilla 3 and all produced the same error.

I tried to access it from the server itself and that too failed.

There was nothing in the event logs in regards to memory issues that I found.

What we did try next though has fixed the problem. We did a IIS reset on the CAS server and it appears to have fixed the issue. I'm still not certain on what it could be or why it happened to begin with.

Thanks,
Brad
0
 

Author Comment

by:w3isysadmin
ID: 24079944
I think what's even more of a mystery is why it was only certain file types that this would happend too. any message with no attachments worked fine. messages with pdf's, jpg, and wav files worked fine. It was just with zip, doc, docx, xls, xlsx, and ppt that we seen the issue.

0
 
LVL 10

Accepted Solution

by:
kevala earned 500 total points
ID: 24080390
It's confusing, but, certain memory issues, and even threads being locked can cause this exact behavior.
We access different parts of the product (high level explaination there) to open certain file types. Example, for jpg, mp3, etc. we go here, for .doc, pdf, etc. we go there.
It's very possible that there was a really, really low level performance problem, or memory issue, or threads locked that was preventing those files from being accessed.

If you think about it, all IISReset would be doing that is related is freeing all related threads and memory blocks to be reallocated.
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
In-place Upgrading Dirsync to Azure AD Connect
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question