Exchange 2013 ECP and OWA - Something went wrong error

Hello,

This evening, I tried to set the OWA Public/Private setting. I ran iisrest/noforce and it had an error starting the service. I was however able to start the service just fine manually. Once I did that, I tried to login to OWA and ECP, and I got the "Something went wrong" error message. I checked my logs and they looked clean, but did see an ASP.NET warning message - Unhandled exception has occurred related to -

Application Virtual Path: /ecp

Application Path: C:\Program....\Exchange\V15\FrontEnd\HttpProxy\ecp\

Here is the event information:

Process information:

Process ID: 13388

    Process name: w3wp.exe

    Account name: NT AUTHORITY\SYSTEM

Exception information:

    Exception type: HttpUnhandledException

    Exception message: Exception of type 'System.Web.HttpUnhandledException' was thrown.

   at System.Web.UI.Page.HandleError(Exception e)

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

   at System.Web.UI.Page.ProcessRequest()

   at System.Web.UI.Page.ProcessRequest(HttpContext context)

   at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)

Could not find a part of the path 'C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\ecp\auth\15.0.995\themes\resources\errorFE.css'.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)

   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)

   at Microsoft.Exchange.Clients.Owa.Core.OwaPage.<InlineCss>b__5(String fullFilePath)

   at Microsoft.Exchange.Clients.Owa.Core.OwaPage.InlineResource(String fileName, String partialFileLocation, ResoruceCreator createResource, Dictionary`2 resourceDictionary)

   at Microsoft.Exchange.Clients.Owa.Core.OwaPage.InlineCss(String fileName)

   at Microsoft.Exchange.Clients.Owa.Core.OwaPage.InlineCss(ThemeFileId themeFileId)

   at ASP.errorfe_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)

   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)

   at System.Web.UI.Page.Render(HtmlTextWriter writer)

   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Request information:

    Request URL: https://server1.abc.local:443/ecp/

    Request path: /ecp/

    User host address: my IP address 

    User: 

    Is authenticated: False

    Authentication Type: 

    Thread account name: NT AUTHORITY\SYSTEM

Thread information:

    Thread ID: 23

    Thread account name: NT AUTHORITY\SYSTEM

    Is impersonating: False

    Stack trace:    at System.Web.UI.Page.HandleError(Exception e)

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

   at System.Web.UI.Page.ProcessRequest()

   at System.Web.UI.Page.ProcessRequest(HttpContext context)

   at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)

Custom event details:

It seems like its trying to find a path to "errorFE.css" and it doesn't find it, which is correct since that path doesn't exist after the auth folder. Now, I did go ahead and recreate the Virtual Directories, and I don't see that warning message anymore, however I'm still unable to login to OWA or ECP. and get the "Something went wrong " message. Email is working fine using Outlook and Mobile access. Can someone please help me with this. Sorry for this being so long. Any help advice/comments are appreciated.

Thanks again,

-S

July 24th, 2015 7:16pm

Hi 

This is an issue with Active Directory Cache error related with CAS server for a value called Canary Data.

Exchange creates 4 attributes while schema preparation or it may be even just one attriubute(any one of the below values)

msExchCanaryData0
msExchCanaryData1
msExchCanaryData2
msExchCanaryData3

Solution : we just need to clear the existing values and then recycle the pool so these values will get new one's from the AD.

open ADSIEDIT - Configuration - Services - Orgname- Client access 

Right click CN=Client Accessand click properties, scroll down to look for values

msExchCanaryData0

msExchCanaryData1

msExchCanaryData2

Clear all these values to not set if you see any values in them


Open IIS Manager on your CAS server, go to Application Pools, right click MSExchangeOWAAppPool and click Recycling

After doing the above its better to restart Mailbox and CAS server and this issue will be resolved

Free Windows Admin Tool Kit Click here and download it now
July 25th, 2015 4:12am

Hi,

The solution above should solve your problem.

If this doesnt solve it, please try to check if there are any error code in the iis logs. Or you may consider to rebuild the exchange servers.

Best Regards.

July 27th, 2015 4:33am

Thank you for your reply. I did try this out last night, unfortunately it didn't help. Any other suggestions? Rebuilding the Exchange server is not really an option, considering it's our only one. I'll check IIS logs as well as Lynn-Li suggested. Thanks again everyone!
Free Windows Admin Tool Kit Click here and download it now
July 27th, 2015 10:23am

Called MS Tech Support and they were able to help fix it.

1. My IIS bindings for 127.0.0.1 for both http/https had to be recreated along with the correct cert. I'd read on other related posts that you don't need them and deleting them would fix the issue I had, but seems like you do.

2. HTTP Redirections removed - For some reason the Default WebSite and Exchange BackEnd both had Redirections set to my internal OWA site. I know they weren't set manually, but the tech mentioned they are not default settings. Anyways, he had me remove them.

So, I now have a working OWA/ECP site and everyone's happy. Hope this helps others!

-S

  • Marked as answer by Sau Pat 10 hours 55 minutes ago
July 28th, 2015 4:35pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics