You are currently offline, waiting for your internet to reconnect

Your browser is out-of-date

You need to update your browser to use the site.

Update to the latest version of Internet Explorer

SBS2008: Cannot browse OWA, Server Error in '/owa' Application

Symptoms

If you try to browse OWA, you may get the following error.

Server Error in '/owa' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

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 32:     the compiler.  All assemblies in the GAC and owa\bin are referenced automatically.
Line 33:     -->
Line 34:     <add assembly="Microsoft.Exchange.Data,      Version=8.0.0.0,      Culture=neutral,      publicKeyToken=31bf3856ad364e35" />
Line 35:     <add assembly="Microsoft.Exchange.Data.Storage,      Version=8.0.0.0,      Culture=neutral,      publicKeyToken=31bf3856ad364e35" />
Line 36:    </assemblies>
 

Source File: C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\web.config    Line: 34

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016
 

 

Additionaly, the following warning event is recorded in Application Log:

Log Name: Application
Source: ASP.NET 2.0.50727.0
Event ID: 1310
Description: Event code: 3008
                  Event message: A configuration error has occurred.
                  Event time: 19/04/2010 14:45:37
                  Event time (UTC): 19/04/2010 13:45:37 
                  Event ID: 095defb8aa3d447eaf46f865b95d34fe
                  Event sequence: 1
                  Event occurrence: 1 
                  Event detail code: 0

Application information:
                 Application domain: /LM/W3SVC/3/ROOT/owa-2-129161583371704121
                 Trust level: WSS_Minimal
                 Application Virtual Path: /owa
                 Application Path: C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\
                 Machine name: MT-SBS2008

Process information:
                 Process ID: 10004
                 Process name: w3wp.exe
                 Account name: NT AUTHORITY\SYSTEM

Exception information: 
                Exception type: HttpException
                Exception 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) (C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\web.config line 34)

Request information:
               Request URL: https://remote.moloyt.com:443/owa/auth/logon.aspx?url=https://remote.moloyt.com/owa/&reason=0
               Request path: /owa/auth/logon.aspx
               User host address: 192.168.1.11
               User:
               Is authenticated: False
               Authentication Type:
               Thread account name: NT AUTHORITY\SYSTEM

Thread information:
              Thread ID: 3
              Thread account name: NT AUTHORITY\SYSTEM
              Is impersonating: False
              Stack trace:
at System.Web.Compilation.BuildManager.ReportTopLevelCompilationException()
at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)

Cause
This issue can occur if you SBS Web Applications web site does not have .NET Trust Levels set to Full.
Resolution

To resolve this issue, follow these steps:

1.) Open IIS Manager

2.) In the left-pane, expand Server Name -> Sites -> Click on SBS Web Applications

3.) Double-click .NET Trust Levels in the middle pane.

4.) Change the Trust level to Full (internal).

5.) Click Apply in the Actions pane.

6.) Do IISRESET /noforce.

More Information

Note: In order to enable the details of the error message, you may have to modify the Web.config file under C:\Program Files\Microsoft\Exchange Server\ClientAccess\OWA\. Open the file in Notepad, and change the <customErrors> tag "mode" attribute to "RemoteOnly".

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.
Properties

Article ID: 2024306 - Last Review: 05/18/2010 13:51:00 - Revision: 2.0

  • Windows Small Business Server 2008 Premium
  • Windows Small Business Server 2008 Standard
  • KB2024306
Feedback