Outlook Web App didn't initialize. If the problem continues, please contact your helpdesk. Nullable object must have a value.

We had issues with a corrupt certificate. Had to uninstall OWA virtual directories and also from ADSI. I could not recreate the backend OWA from Command line so I did it manually in IIS. I also had to add OWA backend to ADSI so it might be missing some attributes, and not sure what they are.

Here is the issue I get now when logging into OWA on Exchange 2013


 Outlook Web App didn't initialize. If the problem continues, please contact your helpdesk.
Nullable object must have a value.  

--------------------------------------------------------------------------------

 Show details



Request
Url: https://exchange2k13.corp.corpcomm.com:444/owa/auth/error.aspx?ver=15.0.1076.9&cver=15.0.1044.25&cf=0&vC=0
User host address: ::1
OWA version: 15.0.1076.2

Exception
Exception type: Microsoft.Exchange.Clients.Owa.Core.OwaInvalidConfigurationException
Exception message: Nullable object must have a value.

Call stack

Microsoft.Exchange.Clients.Owa.Core.OwaConfigurationManager.CreateAndLoadConfigurationManager()
Microsoft.Exchange.Clients.Owa.Core.OwaSettingsLoaderBase.Load()
Microsoft.Exchange.Clients.Owa.Core.OwaSettingsLoader.Load()
Microsoft.Exchange.Clients.Owa.Core.OwaApplicationBase.ExecuteApplicationStart(Object sender, EventArgs e)

Inner Exception
Exception type: System.InvalidOperationException
Exception message: Nullable object must have a value.

Call stack

System.Nullable`1.get_Value()
Microsoft.Exchange.Clients.Owa.Core.Configuration..ctor(IConfigurationSession session, String virtualDirectory, String webSiteName, ADObjectId vDirADObjectId, Boolean isPhoneticSupportEnabled)
Microsoft.Exchange.Clients.Owa.Core.OwaConfigurationManager.LoadConfiguration()
Microsoft.Exchange.Clients.Owa.Core.OwaConfigurationManager.CreateAndLoadConfigurationManager()
georgeagrantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Simon Butler (Sembee)ConsultantCommented:
" I could not recreate the backend OWA from Command line so I did it manually in IIS."

That has never worked for me.
A corrupt certificate should have had no effect on the virtual directories.

I would be planning to rebuild the Exchange box, as you cannot remove the CAS role on its own any longer. The ADSIEDIT hacking probably didn't help either.

What you have done is not supported by Microsoft, so you are just going to have problems going forwards until you replace the installation of Exchange.

Simon.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.