An unexpected error occurred and your request couldn't be handled.

i get the following error after my exchange server was broke. i created a VM and did a BMR restore. i also did an exchange restore everything is working fine except in OWA when the email has an attachment the following error occurs.
 
An unexpected error occurred and your request couldn't be handled.
________________________________________


Request
Url: https://mail.mydomainname..com:443/owa/forms/premium/ReadMessage.aspx?ae=Item&a=Open&t=IPM.Note&id=RgAAAABoEXGfJ6AxTLy6LTztKh%2fQBwAJhFb9Gh7HTaJ1cuIv39woAAABJyp8AABwsZQk7Hf7R7vY3037GM3LAAAnATfaAAAJ&pspid=_1382291017666_899977701
User host address: 192..x.x.x
User: My Name
EX Address: /o=domainname/ou=first administrative group/cn=Recipients/cn=jtovar
SMTP Address: email@mydomain.com
OWA version: 14.0.722.0
Mailbox server: server.mydomain.local

Exception
Exception type: System.IO.FileNotFoundException
Exception message: Retrieving the COM class factory for component with CLSID {78E40D5F-0C51-45B6-AC87-72119EC6669A} failed due to the following error: 8007007e.

Call stack
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
System.Activator.CreateInstance(Type type, Boolean nonPublic)
Microsoft.Exchange.Security.RightsManagement.Protectors.ProtectorsManager.LoadProtectors()
Microsoft.Exchange.Security.RightsManagement.Protectors.ProtectorsManager.get_Instance()
Microsoft.Exchange.Clients.Owa.Premium.Controls.AttachmentWell.RenderAttachments(TextWriter output, AttachmentWellType wellType, ArrayList attachmentList, UserContext userContext, Boolean isConversationAndIrmCopyRestricted)
Microsoft.Exchange.Clients.Owa.Premium.Controls.AttachmentWell.RenderAttachmentWell(TextWriter output, AttachmentWellType wellType, ArrayList attachmentList, UserContext userContext, Boolean renderEmptyWell, Boolean isConversationAndIrmCopyRestricted)
Microsoft.Exchange.Clients.Owa.Premium.Controls.AttachmentWell.RenderAttachmentWell(TextWriter output, AttachmentWellType wellType, ArrayList attachmentList, UserContext userContext, Boolean isConversationAndIrmCopyRestricted)
Microsoft.Exchange.Clients.Owa.Premium.Controls.AttachmentWell.RenderAttachmentWell(TextWriter output, AttachmentWellType wellType, ArrayList attachmentList, UserContext userContext)
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)
Jose TovarSystems AdministratorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

James HIT DirectorCommented:
http://social.technet.microsoft.com/Forums/exchange/en-US/c48a3b95-9aa2-4ce2-83ac-705ae3d9cb29/owa-an-unexpected-error-occurred-and-your-request-couldnt-be-handled-when-viewing-emails-with?forum=exchange2010

What release are you on?

Try this:


I would like anyone else who has this issue to know I found it was from IIS having a HTTP redirect on the OWA virtual folder.

I had the exact same issue, HTTP redirect on OWA virtual folder. This was for any message, not just ones with attachments. Un-ticking this made the error disappear.
0
Jose TovarSystems AdministratorAuthor Commented:
I have Exchange 2010 with sp1. I have tried the redirection solution already and nothing and nothing.
0
James HIT DirectorCommented:
You would be better served to first patch your system as support for SP1 is at an end. At minimum you should be on SP2 RU7 but you can jump straight to SP3. This is an IIS issue and patching Exchange should fix the problem. Is there a reason for not applying the service packs?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

FrAgZyCommented:
Hi guys,

I have the exact same problem since I have converted my Exchange 2010 server into a VM ! I just did this this weekend and since then same problem with attachments in OWA.

If we use the Light version of OWA there are no error message but Light version is not as good.

I'm patching my Exchange 2010 with the latest patch too and will keep you posted. I hope it will fix this issue. I have Version 14.0 (Build 639.21) 0.1 (8.0.535.0)

I just verified look like my Exchange version have no SP installed :O ! Will install SP3 and let you guys know if it fix it or not.
0
Jose TovarSystems AdministratorAuthor Commented:
Thank you  Spartan_1337 that did it no more errors!
0
FrAgZyCommented:
Hi TovarMorelia,

Installing SP3 fixed your issue in OWA ?

Thanks.
0
Jose TovarSystems AdministratorAuthor Commented:
Hi FrAgZy. yes it did!
0
James HIT DirectorCommented:
Glad to see it worked.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.