Solved

Exchange 2007 Owa problem with 0x80131418 error code

Posted on 2008-10-22
5
1,240 Views
Last Modified: 2008-10-28
There is an error tryin to access OWA directory.
I am gettin error like that:
Parser Error Message: Could not load file or assembly 'Microsoft.Exchange.Data, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)

Source Error:

Line 48:                         the compiler.  All assemblies in the GAC and owa\bin are referenced automatically.
Line 49:                         -->
Line 50:                         <add assembly="Microsoft.Exchange.Data,
Line 51:                               Version=8.0.0.0,
Line 52:                               Culture=neutral,
 
and it does not work.
where should i dig?
0
Comment
Question by:shoosha
  • 4
5 Comments
 
LVL 6

Assisted Solution

by:Pret0rian
Pret0rian earned 50 total points
ID: 22783663
0
 

Author Comment

by:shoosha
ID: 22784139
yes i have checked problems with sharepoint services. does not help. asp.net running at 64bit mode. reinstalled CaS. and checked permissions on Bin directory and owa directory both have execute permissions for authenticated users. reinstalled iis also. still problem there :(
0
 

Author Comment

by:shoosha
ID: 22784761
maybe i can attach webconfig from owa directory? and it will help solving the case
0
 

Author Comment

by:shoosha
ID: 22793879
and i totally forgot to mention that Exchange running on 2008 Standart server with IIS 7
0
 

Accepted Solution

by:
shoosha earned 0 total points
ID: 22794368
Hmm happy day... i Finally figured out what happend with my OWA and got it back to work.
Here's some tooltips
- I rechecked IIS main tab where .Net trust levels and it was somehow set to HIgh. I asked my friend who also managin Ex07 and he said that in his configuration Level set to Full(internal)
and woah there was other errors coming up. Like    Exception type: FileNotFoundException
    Exception message: Cannpt load file or assembly "Microsoft.Exchange.Net, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" where Microsoft.Exchange.Net, could be anything from Microsoft.Exchange.XXXXXX . all those files r UrExchangeInstallationFolder/Bin.
so to fight that error u need to on 2008 Server atleast download Microsoft .Net Framework SDK(x86 or x64) depends on what platform u run.
Install it at go to Administration -> Microsoft .NET Framework 2.0 Configuration
than u go to Microsoft .NET Framework 2.0 Configuration > My Computer > Assembly Cache and right click on it. Add Assembly > and pick needed assembly from Exchange/Bin folder. than u refresh Browser window. if it says that u need still same assembly that go to IIS -> Applications Pool > MSExchangeOwaAppPool and Restart it... if there is and errors during startup with HRESULT 0xXXXXXX just wait up to 5-10 minutes and it will start again after u press Start button on panel. Refresh Explorer window and i bet u get another assembly error... so keep addin aseemblies to Cache and all will work again.... well at least worked for meh :>
0

Featured Post

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

Question has a verified solution.

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

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

803 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