.NET Questions and Solutions

As a software engineer, I focus on .NET, especially asp.net, C#, WCF and so on, and I am also very interested in Search Engine Optimization.

Entries Tagged ‘outlook web access’

Some users cannot access Exchange Server 2007 Outlook Web Access after you create new mailboxes or migrate existing mailboxes

Symptoms
After you create new mailboxes in a Microsoft Exchange Server 2007 environment or you migrate mailboxes from Exchange Server 2003 to Exchange 2007, some users cannot access Exchange 2007 Outlook Web Access (OWA).
When this issue occurs, these users can enter their credentials on the Forms Based Authentication (FBA) page. On the language page, these users can select their language and their time zone. However, after these users click OK, the following error message appears:

A problem occurred while trying to use your mailbox. Please contact technical support for your organization.
Request
Url: https://<cas_server>:443/owa/lang.owa
User host address: <IP address>
Exception
Exception type: Microsoft.Exchange.Data.Storage.StoragePermanentException
Exception message: There was a problem accessing Active Directory.
Call stack
Microsoft.Exchange.Data.Storage.ExchangePrincipal.Save() Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.DispatchLanguagePostLocally(OwaContext owaContext, OwaIdentity logonIdentity, CultureInfo culture, String timeZoneKeyName, Boolean isOptimized) Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.DispatchLanguagePostRequest(OwaContext owaContext) Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.PrepareRequestWithoutSession(OwaContext owaContext, UserContextCookie userContextCookie) Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.InternalDispatchRequest(OwaContext owaContext) Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.DispatchRequest(OwaContext owaContext) System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Resolution
This problem occurs because the discretionary access control list (DACL) inheritance is disabled on the user account in Active Directory. The Exchange Servers group must have permissions to write the msExchUserCulture attribute on the user when the language has been specified in OWA.

Client computers cannot download attachments when you use ISA Server 2004 or ISA Server 2006 forms-based authentication and run a third-party OWA add-in program to manage attachments

Symptoms
Consider the following scenario: You use forms-based authentication in Microsoft Internet Security and Acceleration (ISA) Server 2004 or ISA Server 2006 to publish a Microsoft Outlook Web Access (OWA) server. You use a third-party OWA add-in program to manage e-mail attachments.In this scenario, when client computers use OWA and download e-mail attachments, the computers cannot download attachments.Additionally,you may receive an error message that resembles the following:

Internet Explorer cannot download file from server.
Internet Explorer was not able to open this Internet site. The requested site is
either unavailable or cannot be found. Please try again later.
Resolution
This problem occurs because the ISA Server 2004 or ISA Server 2006 forms-based authentication filter adds a Cache-Control: no-cache header to all responses for Active Server Pages (ASP) page requests except for known requests that are used by OWA for attachment downloads. The Cache-Control: no-cache header is added to ASP page requests to avoid session problems that occur with some non-Microsoft browsers.
When you use a third-party OWA add-in program that uses ASP pages for attachment downloads, the Cache-Control: no-cache header that is added to the ASP page response prevents Windows Internet Explorer from caching the attached file. Therefore, Internet Explorer cannot download or open the file. For more information about this problem, click the following article number to view the article in the Microsoft Knowledge Base:
316431?(http://support.microsoft.com/kb/316431/) Internet Explorer is unable to open Office documents from an SSL Web site

An exception occurs, and event IDs 4999 and 5000 are logged when you modify the Outlook Web Access user interface

Symptoms
You modify the Microsoft Office Outlook Web Access user interface by following the steps in the “Specifying Icons for Custom Content Items” section of the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/bb891875(EXCHG.80).aspx(http://msdn2.microsoft.com/en-us/library/bb891875(EXCHG.80).aspx)When you use Outlook Web Access to browse to a Microsoft Exchange Server 2007 mailbox, an exception that blocks the regular operation occurs. Additionally, the following events are logged in the Application event log:
Event Type: Error
Event Source: MSExchange Common
Event Category: General
Event ID: 4999
Description:
Watson report about to be sent to dw20.exe for process id: <process ID>, with parameters: E12IIS, <processor>, <version>, OWA, M.E.C.Owa, M.E.C.O.C.ThemeManager.RenderThemeFilePath, System.IndexOutOfRangeException, <address>, <version>. ErrorReportingEnabled: True
Event Type: Error
Event Source: Microsoft Exchange Server
Event Category: None
Event ID: 5000
Description:
EventType e12iis, P1 <processor>, P2 <version>, P3 owa, P4 m.e.c.owa, P5 m.e.c.o.c.thememanager.renderthemefilepath, P6 system.indexoutofrangeexception, P7 <address>, P8 <version>, P9 NIL, P10 NIL.
Resolution
To resolve this problem, install Update Rollup 2 for Exchange Server 2007 Service Pack 1. For more information about Update Rollup 2 for Exchange Server 2007 Service Pack 1, see the following Exchange Help topic:
Description of Update Rollup 2 for Exchange Server 2007 Service Pack 1 (http://go.microsoft.com/fwlink/?LinkId=152558)For more information about how to obtain the latest Exchange service pack or update rollup, see the following Exchange Help topic:
How to Obtain the Latest Service Pack or Update Rollup for Exchange 2007(http://go.microsoft.com/fwlink/?LinkId=152570)