[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1417
  • Last Modified:

Outlook Web Access could not connect to Microsoft Exchange

I've just finished compressing the C: drive on our SBS2008 server and now any user who tries to use Outlook web access gets: "Outlook Web Access could not connect to Microsoft Exchange"

how do I fix this?
0
jmarkfoley
Asked:
jmarkfoley
1 Solution
 
duncanb7Commented:
Could you send us the full error message besides "Outlook Web Access could not connect to Microsoft Exchange" ?

Duncan
0
 
Sumit GuptaCommented:
Decompress Exchange folder in Program files.

If there is user right issue then apply this article:

http://technet.microsoft.com/en-us/library/bb885050%28EXCHG.80%29.aspx
0
 
jmarkfoleyAuthor Commented:
duncanb7: Full error details below
Request
Url: https://mail.ohprs.org:443/owa/default.aspx

Exception
Exception type: Microsoft.Exchange.Data.Storage.ConnectionFailedTransientException
Exception message: Cannot open mailbox /o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=mark.

Call stack

Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString, Boolean secondTry) 
Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString, Boolean secondTry) 
Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString) 
Microsoft.Exchange.Data.Storage.MailboxSession.Initialize(LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags) 
Microsoft.Exchange.Data.Storage.MailboxSession.CreateMailboxSession(LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, CultureInfo cultureInfo, String clientInfoString) 
Microsoft.Exchange.Data.Storage.MailboxSession.Open(ExchangePrincipal mailboxOwner, WindowsPrincipal authenticatedUser, CultureInfo cultureInfo, String clientInfoString) 
Microsoft.Exchange.Clients.Owa.Core.OwaWindowsIdentity.CreateMailboxSession(ExchangePrincipal exchangePrincipal, CultureInfo cultureInfo) 
Microsoft.Exchange.Clients.Owa.Core.UserContext.Load(OwaContext owaContext) 
Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.CreateUserContext(OwaContext owaContext, UserContextKey userContextKey, UserContext& userContext) 
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)

Inner Exception
Exception type: Microsoft.Mapi.MapiExceptionLogonFailed
Exception message: MapiExceptionLogonFailed: Unable to open message store. (hr=0x80040111, ec=-2147221231) Diagnostic context: Lid: 18969 EcDoRpcExt2 called [length=409] Lid: 27161 EcDoRpcExt2 returned [ec=0x0][length=132][latency=5] Lid: 23226 --- ROP Parse Start --- Lid: 27962 ROP: ropLogon [254] Lid: 17082 ROP Error: 0x80040111 Lid: 26937 Lid: 21921 StoreEc: 0x80040111 Lid: 27962 ROP: ropExtendedError [250] Lid: 1494 ---- Remote Context Beg ---- Lid: 26426 ROP: ropLogon [254] Lid: 22787 Error: 0x0 Lid: 13032 StoreEc: 0x8004010F Lid: 59409 Lid: 45073 Lid: 11173 StoreEc: 0x80040111 Lid: 22970 Lid: 8620 StoreEc: 0x80040111 Lid: 1750 ---- Remote Context End ---- Lid: 26849 Lid: 21817 ROP Failure: 0x80040111 Lid: 26297 Lid: 16585 StoreEc: 0x80040111 Lid: 32441 Lid: 1706 StoreEc: 0x80040111 Lid: 24761 Lid: 20665 StoreEc: 0x80040111 Lid: 25785 Lid: 29881 StoreEc: 0x80040111

Call stack

Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, Int32 ec, DiagnosticContext diagCtx) 
Microsoft.Mapi.ExRpcConnection.OpenMsgStore(OpenStoreFlag storeFlags, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, MapiStore msgStorePrivate, String& correctServerDn, ClientIdentityInfo clientIdentityAs, String userDnAs, String applicationId, CultureInfo cultureInfo) 
Microsoft.Mapi.ConnectionCache.OpenMapiStore(String mailboxDn, Guid mailboxGuid, Guid mdbGuid, ClientIdentityInfo clientIdentity, String userDnAs, OpenStoreFlag openStoreFlags, CultureInfo cultureInfo, String applicationId) 
Microsoft.Mapi.ConnectionCache.OpenMailbox(String mailboxDn, Guid mailboxGuid, Guid mdbGuid, WindowsIdentity windowsIdentityAs, String userDnAs, OpenStoreFlag openStoreFlags, CultureInfo cultureInfo, String applicationId) 
Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString, Boolean secondTry)

Open in new window

Sumit Gupta: > Decompress Exchange folder in Program files.

Is that the only way? I compressed for a reason that being lack of free space on the drive. Does the above error listing provide ideas for alternative solutions? If not, I try decompressing.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
jmarkfoleyAuthor Commented:
Sumit Gupta: I don't have a 'Program Files \ Exchange' folder. I have 'Program Files \ Microsoft \ Exchange Server'. Is that the one you mean?
0
 
jmarkfoleyAuthor Commented:
I also tried restart Exchange services. I've done this before successfully, but now I get the following errors:
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.

PS C:\Users\HPadminRS> Restart-Service MSExchangeAdTopology  -Force
Restart-Service : Service 'Microsoft Exchange Active Directory Topology Service (MSExchangeAdTopology)' cannot be stopp
ed due to the following error: Cannot open MSExchangeAdTopology service on computer '.'.
At line:1 char:16
+ Restart-Service <<<<  MSExchangeAdTopology  -Force
    + CategoryInfo          : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [Restart-Service
   ], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.RestartServiceCommand

PS C:\Users\HPadminRS> Restart-Service MSExchangeAntiSpamUpdate  -Force
Restart-Service : Service 'Microsoft Exchange Anti-spam Update (MSExchangeAntiSpamUpdate)' cannot be stopped due to the
 following error: Cannot open MSExchangeAntiSpamUpdate service on computer '.'.
At line:1 char:16
+ Restart-Service <<<<  MSExchangeAntiSpamUpdate  -Force
    + CategoryInfo          : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [Restart-Service
   ], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.RestartServiceCommand

PS C:\Users\HPadminRS> Restart-Service MSExchangeEdgeSync  -Force
Restart-Service : Service 'Microsoft Exchange EdgeSync (MSExchangeEdgeSync)' cannot be stopped due to the following err
or: Cannot open MSExchangeEdgeSync service on computer '.'.
At line:1 char:16
+ Restart-Service <<<<  MSExchangeEdgeSync  -Force
    + CategoryInfo          : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [Restart-Service
   ], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.RestartServiceCommand

PS C:\Users\HPadminRS> Restart-Service MSExchangeFDS  -Force
Restart-Service : Service 'Microsoft Exchange File Distribution (MSExchangeFDS)' cannot be stopped due to the following
 error: Cannot open MSExchangeFDS service on computer '.'.
At line:1 char:16
+ Restart-Service <<<<  MSExchangeFDS  -Force
    + CategoryInfo          : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [Restart-Service
   ], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.RestartServiceCommand

PS C:\Users\HPadminRS> Restart-Service MSExchangeIMAP4  -Force
Restart-Service : Service 'Microsoft Exchange IMAP4 (MSExchangeIMAP4)' cannot be stopped due to the following error: Ca
nnot open MSExchangeIMAP4 service on computer '.'.
At line:1 char:16
+ Restart-Service <<<<  MSExchangeIMAP4  -Force
    + CategoryInfo          : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [Restart-Service
   ], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.RestartServiceCommand

PS C:\Users\HPadminRS> Restart-Service MSExchangeIS  -Force
Restart-Service : Service 'Microsoft Exchange Information Store (MSExchangeIS)' cannot be stopped due to the following
error: Cannot open MSExchangeIS service on computer '.'.
At line:1 char:16
+ Restart-Service <<<<  MSExchangeIS  -Force
    + CategoryInfo          : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [Restart-Service
   ], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.RestartServiceCommand

PS C:\Users\HPadminRS> Restart-Service MSExchangeMailSubmission  -Force
Restart-Service : Service 'Microsoft Exchange Mail Submission (MSExchangeMailSubmission)' cannot be stopped due to the
following error: Cannot open MSExchangeMailSubmission service on computer '.'.
At line:1 char:16
+ Restart-Service <<<<  MSExchangeMailSubmission  -Force
    + CategoryInfo          : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [Restart-Service
   ], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.RestartServiceCommand

PS C:\Users\HPadminRS> Restart-Service MSExchangeMailboxAssistants  -Force
Restart-Service : Service 'Microsoft Exchange Mailbox Assistants (MSExchangeMailboxAssistants)' cannot be stopped due t
o the following error: Cannot open MSExchangeMailboxAssistants service on computer '.'.
At line:1 char:16
+ Restart-Service <<<<  MSExchangeMailboxAssistants  -Force
    + CategoryInfo          : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [Restart-Service
   ], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.RestartServiceCommand

PS C:\Users\HPadminRS> Restart-Service MSExchangeMonitoring  -Force
Restart-Service : Service 'Microsoft Exchange Monitoring (MSExchangeMonitoring)' cannot be stopped due to the following
 error: Cannot open MSExchangeMonitoring service on computer '.'.
At line:1 char:16
+ Restart-Service <<<<  MSExchangeMonitoring  -Force
    + CategoryInfo          : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [Restart-Service
   ], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.RestartServiceCommand

PS C:\Users\HPadminRS> Restart-Service MSExchangePOP3  -Force
Restart-Service : Service 'Microsoft Exchange POP3 (MSExchangePOP3)' cannot be stopped due to the following error: Cann
ot open MSExchangePOP3 service on computer '.'.
At line:1 char:16
+ Restart-Service <<<<  MSExchangePOP3  -Force
    + CategoryInfo          : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [Restart-Service
   ], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.RestartServiceCommand

PS C:\Users\HPadminRS> Restart-Service MSExchangeRepl  -Force
Restart-Service : Service 'Microsoft Exchange Replication Service (MSExchangeRepl)' cannot be stopped due to the follow
ing error: Cannot open MSExchangeRepl service on computer '.'.
At line:1 char:16
+ Restart-Service <<<<  MSExchangeRepl  -Force
    + CategoryInfo          : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [Restart-Service
   ], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.RestartServiceCommand

PS C:\Users\HPadminRS> Restart-Service MSExchangeSearch  -Force
Restart-Service : Service 'Microsoft Exchange Search Indexer (MSExchangeSearch)' cannot be stopped due to the following
 error: Cannot open MSExchangeSearch service on computer '.'.
At line:1 char:16
+ Restart-Service <<<<  MSExchangeSearch  -Force
    + CategoryInfo          : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [Restart-Service
   ], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.RestartServiceCommand

PS C:\Users\HPadminRS> Restart-Service MSExchangeServiceHost  -Force
Restart-Service : Service 'Microsoft Exchange Service Host (MSExchangeServiceHost)' cannot be stopped due to the follow
ing error: Cannot open MSExchangeServiceHost service on computer '.'.
At line:1 char:16
+ Restart-Service <<<<  MSExchangeServiceHost  -Force
    + CategoryInfo          : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [Restart-Service
   ], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.RestartServiceCommand

PS C:\Users\HPadminRS> Restart-Service MSExchangeSA  -Force
Restart-Service : Service 'Microsoft Exchange System Attendant (MSExchangeSA)' cannot be stopped due to the following e
rror: Cannot open MSExchangeSA service on computer '.'.
At line:1 char:16
+ Restart-Service <<<<  MSExchangeSA  -Force
    + CategoryInfo          : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [Restart-Service
   ], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.RestartServiceCommand

PS C:\Users\HPadminRS> Restart-Service MSExchangeTransport  -Force
Restart-Service : Service 'Microsoft Exchange Transport (MSExchangeTransport)' cannot be stopped due to the following e
rror: Cannot open MSExchangeTransport service on computer '.'.
At line:1 char:16
+ Restart-Service <<<<  MSExchangeTransport  -Force
    + CategoryInfo          : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [Restart-Service
   ], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.RestartServiceCommand

PS C:\Users\HPadminRS> Restart-Service MSExchangeTransportLogSearch  -Force
Restart-Service : Service 'Microsoft Exchange Transport Log Search (MSExchangeTransportLogSearch)' cannot be stopped du
e to the following error: Cannot open MSExchangeTransportLogSearch service on computer '.'.
At line:1 char:16
+ Restart-Service <<<<  MSExchangeTransportLogSearch  -Force
    + CategoryInfo          : CloseError: (System.ServiceProcess.ServiceController:ServiceController) [Restart-Service
   ], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStopService,Microsoft.PowerShell.Commands.RestartServiceCommand

PS C:\Users\HPadminRS> Restart-Service msftesql-Exchange -Force  -Force
Restart-Service : Cannot bind parameter because parameter 'Force' is specified more than once. To provide multiple valu
es to parameters that can accept multiple values, use the array syntax. For example, "-parameter value1,value2,value3".
At line:1 char:49
+ Restart-Service msftesql-Exchange -Force  -Force <<<<
    + CategoryInfo          : InvalidArgument: (:) [Restart-Service], ParameterBindingException
    + FullyQualifiedErrorId : ParameterAlreadyBound,Microsoft.PowerShell.Commands.RestartServiceCommand

PS C:\Users\HPadminRS>

Open in new window

0
 
Sumit GuptaCommented:
Hi, yes i mean Microsoft/exchange folder. Compressing exchange folder is never recommended..

Another thing is the problem you are having right now, you can follow these for fixing permission issues:

1 : Add Manage auditing and security log Properties
 
Administative Tools > Local Security Policy > Local Policies > User Rights Assignment > Manage auditing and security
 
Add Exchance Servers.
 
2. Check Exchange Trusted Subsystem
 
1)Open Active Directory Users and Computers
2)Under domain name (For example contoso.com),navigate to the Builtin Container,on
the right hand side select the Administrator group,goto the properties
3)Click members tab and add Exchange Trusted Subsystem
4)Click ok twice
5)Reboot the Exchange server


If still problem exist then i think repair will be last option. : http://www.anisjendoubi.com/2010/10/service-msexchangeadtopology-failed-to-start/
0
 
Gary ColtharpSr. Systems EngineerCommented:
Generally speaking, compressing the C: drive is a best practices no-no. Mostly due to the performance issues this causes. If you have a storage issue, resolve it correctly not with a band aid.

Uncompress C:

HTH
Gary
0
 
jmarkfoleyAuthor Commented:
Gary Coltharp: > compressing the C: drive is a best practices no-no. ... If you have a storage issue, resolve it correctly not with a band aid.

The problem here is that SBS2008 is running on an HP Proliant with only 500GB of total disk space. That 500GB is in the form of a RAID1 array in an HP Smart Array. Unfortunately, it cannot be expanded unless we purchase a P400 Battery Backed Write Cache Controller -- foolishly not purchased with the Proliant -- along with larger specialty drives.  The cost to do this is more than replacing the whole server. Plus, SBS 2008 is obsolescent and the HP Proliant has other issues (e.g. cannot boot with USB drive connected). I am in the process of replacing this server, so a Band-Aid is just what we need for a few months!

Sumit Gupta: > Hi, yes i mean Microsoft/exchange folder.

I assumed that's what you meant and uncompressed this folder last night and Exchange started working again! Whew! Just in time for work this morning.

> Compressing exchange folder is never recommended.

Apparently, but it would be nice if Microsoft either warned about that, or bypassed compression of Exchange. Perhaps they do in some secret MCSA/MCSE  knowledge base, but searching for hours on the Internet turned up NOTHING related to this issue. Maybe I'm a bad surfer.
0
 
jmarkfoleyAuthor Commented:
Thanks. This suggestion saved my life!
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now