Microsoft KB Archive/941146

= Error message when users try to log on to Outlook Web Access in Exchange 2007: &quot;A problem occurred while trying to use your mailbox&quot; =

Article ID: 941146

Article Last Modified on 11/7/2007

-

APPLIES TO


 * Microsoft Exchange Server 2007 Enterprise Edition
 * Microsoft Exchange Server 2007 Standard Edition

-



SYMPTOMS
When users try to log on to Microsoft Office Outlook Web Access in Exchange Server 2007, they receive the following error message:

A problem occurred while trying to use your mailbox. Please contact technical support for your organization

If Show details is clicked in this error message, the call stack that is mentioned in the &quot;More Information&quot; section appears.



CAUSE
This issue occurs when the msExchVersion attribute is not set correctly on the user object in the Active Directory.

Exchange 2007 uses the msExchVersion attribute to determine the version of Exchange that user objects are associated with. If the version value is less than 0.1, Exchange 2007 considers the object &quot;read-only&quot; and cannot write changes to the object.

Note The msExchVersion attribute may not set correctly if you created the user's mailbox by using the Active Directory Users and Computers Microsoft Management Console (MMC) snap-in instead of by using the Exchange 2007 Management Console.



RESOLUTION
To resolve this issue, type the following command at the Exchange Management Shell prompt:

Set-Mailbox  -ApplyMandatoryProperties

To verify the msExchVersion attribute, type the following command at the Exchange Management Shell prompt:

Get-Mailbox  | format-list ExchangeVersion



Call stack
Request Url: http://mail.contoso.com:80/owa/lang.owa User host address: 10.0.0.242 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(O waContext 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) Inner Exception Exception type: Microsoft.Exchange.Data.Directory.InvalidADObjectOperationException Exception message: Property Languages cannot be set on this object because it requires the object to have version 0.1 (8.0.535.0) or later. Current version of the object is 0.0 (6.5.6500.0). Call stack Microsoft.Exchange.Data.Directory.PropertyBag.set_Item(PropertyDefinition key, Object value) Microsoft.Exchange.Data.Directory.ADObject.set_Item(PropertyDefinition propertyDefinition, Object value) Microsoft.Exchange.Data.Directory.ADObject.StampCachedCaculatedProperties(Boolean retireCachedValue) Microsoft.Exchange.Data.Directory.ADObject.ValidateWrite(List`1 errors) Microsoft.Exchange.Data.Directory.Recipient.ADRecipient.ValidateWrite(List`1 errors) Microsoft.Exchange.Data.Directory.Recipient.ADUser.ValidateWrite(List`1 errors) Microsoft.Exchange.Data.Directory.ADSession.Save(ADObject instanceToSave, IEnumerable`1 properties) Microsoft.Exchange.Data.Storage.ExchangePrincipal.Save

Additional query words: OWA

Keywords: kbtshoot kbprb KB941146

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.