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

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1059
  • Last Modified:

SBS 2003 -> 2011 migration / Exchange problems

This is pretty frustrating when you follow the MS guideline (and other sbs blog) and Exchange is so screwed.

My problem started when I replicated the public folders. I found out that was becase Rollup 2 of Exchange 2010 SP1 wasn't installed. Installing it (and now I have rollup 5 installed), I was able to move the mailbox except only two. They were disable accounts, but I activated them, and assign SELF in the security option full access. It work great for an other disable account (a 3rd one), but impossible to move those two mailbox. But my PF instances is empty and I did everything that was mentioned on MS guide.

At one point, I could go on OWA, log in, and send an email to myself, outside of the domain. And since, I have only installed updates and now when I try to login I will have the following error :

Url: https://sbs2011:443/owa/
User host address:
User: Username
EX Address: /o=PRYSM/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=Username
SMTP Address: Username@domain.com
OWA version: 14.1.339.1

Exception type: Microsoft.Exchange.Data.Storage.StoragePermanentException
Exception message: Cannot open mailbox /o=PRYSM/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=Username.

Call stack
Microsoft.Exchange.Data.Storage.MailboxSession.ForceOpen(MapiStore linkedStore)
Microsoft.Exchange.Data.Storage.MailboxSession.Initialize(MapiStore linkedStore, LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, GenericIdentity auxiliaryIdentity)
Microsoft.Exchange.Data.Storage.MailboxSession.<>c__DisplayClass12.b__10(MailboxSession mailboxSession)
Microsoft.Exchange.Data.Storage.MailboxSession.InternalCreateMailboxSession(LogonType logonType, ExchangePrincipal owner, CultureInfo cultureInfo, String clientInfoString, IAccountingObject budget, Action`1 initializeMailboxSession, InitializeMailboxSessionFailure initializeMailboxSessionFailure)
Microsoft.Exchange.Data.Storage.MailboxSession.CreateMailboxSession(LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, CultureInfo cultureInfo, String clientInfoString, PropertyDefinition[] mailboxProperties, IList`1 foldersToInit, GenericIdentity auxiliaryIdentity, IAccountingObject budget)
Microsoft.Exchange.Data.Storage.MailboxSession.ConfigurableOpen(ExchangePrincipal mailbox, MailboxAccessInfo accessInfo, CultureInfo cultureInfo, String clientInfoString, LogonType logonType, PropertyDefinition[] mailboxProperties, InitializationFlags initFlags, IList`1 foldersToInit, IAccountingObject budget)
Microsoft.Exchange.Data.Storage.MailboxSession.Open(ExchangePrincipal mailboxOwner, WindowsPrincipal authenticatedUser, CultureInfo cultureInfo, String clientInfoString, Boolean wantCachedConnection)
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, HttpRequest clientRequest)
Microsoft.Exchange.Clients.Owa.Core.UserContext.CreateMailboxSession(OwaContext owaContext)
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.AcquireAndPreprocessUserContext(OwaContext owaContext, HttpRequest request)
Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.InternalDispatchRequest(OwaContext owaContext)
Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.DispatchRequest(OwaContext owaContext)
Microsoft.Exchange.Clients.Owa.Core.OwaRequestEventInspector.OnPostAuthorizeRequest(Object sender, EventArgs e)
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Inner Exception
Exception type: Microsoft.Mapi.MapiExceptionCallFailed
Exception message: MapiExceptionCallFailed: Unable to make connection to the server. (hr=0x80004005, ec=5) Diagnostic context: Lid: 38439 EMSMDBPOOL.EcPoolConnect called [length=48] Lid: 54823 EMSMDBPOOL.EcPoolConnect returned [ec=0x0][length=48][latency=7] Lid: 38439 EMSMDBPOOL.EcPoolConnect called [length=48] Lid: 54823 EMSMDBPOOL.EcPoolConnect returned [ec=0x0][length=48][latency=0] Lid: 47655 EMSMDBPOOL.EcPoolCreateSession called [length=259] Lid: 64039 EMSMDBPOOL.EcPoolCreateSession returned [ec=0x5][length=118][latency=0] Lid: 41073 StoreEc: 0x5 Lid: 48243 Lid: 50033 StoreEc: 0x5 Lid: 1494 ---- Remote Context Beg ---- Lid: 20652 Lid: 7684 StoreEc: 0x5 Lid: 26220 Lid: 8880 StoreEc: 0x5 Lid: 29161 Lid: 13488 StoreEc: 0x5 Lid: 28780 Lid: 20076 StoreEc: 0x5 Lid: 57713 StoreEc: 0x5 Lid: 49009 StoreEc: 0x5 Lid: 1750 ---- Remote Context End ---- Lid: 52465 StoreEc: 0x5 Lid: 60065 Lid: 33777 StoreEc: 0x5 Lid: 59805 Lid: 52209 StoreEc: 0x5 Lid: 56583 Lid: 52487 StoreEc: 0x5 Lid: 19778 Lid: 27970 StoreEc: 0x5 Lid: 17730 Lid: 25922 StoreEc: 0x5 

Call stack
Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException)
Microsoft.Mapi.ExRpcConnection.Create(ConnectionCache connectionCache, ExRpcConnectionCreateFlag createFlags, ConnectFlag connectFlags, String serverDn, String userDn, String user, String domain, String password, String httpProxyServerName, Int32 ulConMod, Int32 lcidString, Int32 lcidSort, Int32 cpid, Int32 cReconnectIntervalInMins, Int32 cbRpcBufferSize, Int32 cbAuxBufferSize, Client xropClient, Byte[] clientSessionInfo, TimeSpan connectionTimeout)
Microsoft.Mapi.MapiStore.OpenMapiStore(String serverDn, String userDn, String mailboxDn, Guid guidMailbox, Guid guidMdb, String userName, String domainName, String password, String httpProxyServerName, ConnectFlag connectFlags, OpenStoreFlag storeFlags, CultureInfo cultureInfo, Boolean wantRedirect, String& correctServerDN, ClientIdentityInfo clientIdentity, String applicationId, Client xropClient, Boolean wantWebServices, Byte[] clientSessionInfo, TimeSpan connectionTimeout)
Microsoft.Mapi.MapiStore.OpenMailbox(String serverDn, String userDn, String mailboxDn, String userName, String domainName, String password, ConnectFlag connectFlags, OpenStoreFlag storeFlags, CultureInfo cultureInfo, WindowsIdentity windowsIdentity, String applicationId)
Microsoft.Exchange.Data.Storage.MailboxSession.ForceOpen(MapiStore linkedStore)

Open in new window

And when I try to access public folder from the toolbar (they were working at one point), the message is this :

No existing 'PublicFolder' matches the following Identity: '\'. Make sure that you specified the correct 'Public Folder' Identity and that you have the necessary permissions to view 'PublicFolder'. It was running the command 'get-publicfolder -getchildren -identity '\' -server servername.

I have not yet removed Exchange 2003 from my SBS 03 box. I have run the Exchange BPA but no important issued where shown except maybe one :

The default public folder database for mailbox database 'Mailbox Database 2011101615' on server SBS2011 isn't local. Public folder database: CN=Public Folder Database 0770419331,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=PRYSM,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=prysm,DC=local.

A few hours a go this was "working"... I could access to a OWA account (I created a user just to try), impossible to work. Did I loose my public folder :-/
  • 3
1 Solution
Did you sart replicating the public folder at any point?  it sounds like they are still on teh 2003 box
StephRuAuthor Commented:
Yes. I have no more PF instances on the sbs03 box!

And at one point everything was "working" : I could see the PF folders in the 2010 EMC PF toolbox and I could acces owa without any problem. I haven't changed anything to exchange and now nothing works :-/
StephRuAuthor Commented:
My mistake, when I read the "don't update anything warning", that is correct when you are installing SBS2008, but once it is over, and you want to start the migration process of Exchange, you have to update it ! One of the rollups corrected this issue .

StephRuAuthor Commented:
Because this is the solution :)!

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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