Exchange 2013 CU7 ECP 500 Unexpected Error

I get the error "500 Unexpected Error" when i try to Login to the Exchange ECP. but OWA is normal, Plese help me.

Exchange error log:

System.Configuration.ConfigurationErrorsException: (hexadecimal value 0x03)is an invalid character. Line 1, position 1 (C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\ecp\quarantine\web.config line 1) ---> System.Xml.XmlException: (hexadecimal value 0x03)is an invalid character. Line 1, position 1
    System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
    System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
    System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    System.Configuration.XmlUtil..ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors)
    System.Configuration.BaseConfigurationRecord.InitConfigFromFile()

    System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
    System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
    System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
    System.Web.Configuration.RuntimeConfig.GetSectionObject(String sectionName)
    System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index)
    System.Web.Configuration.RuntimeConfig.get_Authorization()
    System.Web.Security.UrlAuthorizationModule.IsUserAllowedToPath(HttpContext context, VirtualPath virtualPath)
    System.Web.SiteMapProvider.IsAccessibleToUser(HttpContext context, SiteMapNode node)
    Microsoft.Exchange.Management.ControlPanel.EacSiteMapProvider.IsAccessibleToUser(HttpContext context, SiteMapNode node)
    System.Web.StaticSiteMapProvider.GetChildNodes(SiteMapNode node)
    System.Web.XmlSiteMapProvider.GetChildNodes(SiteMapNode node)
    Microsoft.Exchange.Management.ControlPanel._Default.CreateDataContract(SiteMapNode sNode)
    Microsoft.Exchange.Management.ControlPanel._Default.CreateDataContract(SiteMapNode sNode)
    Microsoft.Exchange.Management.ControlPanel._Default.CreateDataContract(SiteMapNode sNode)
    Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
    Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
    System.Web.UI.Control.LoadRecursive()
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    System.Web.UI.Page.ProcessRequest()
    System.Web.UI.Page.ProcessRequest(HttpContext context)
    System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
    System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
    System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
    System.Web.Configuration.RuntimeConfig.GetSectionObject(String sectionName)
    System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index)
    System.Web.Configuration.RuntimeConfig.get_Authorization()
    System.Web.Security.UrlAuthorizationModule.IsUserAllowedToPath(HttpContext context, VirtualPath virtualPath)
    System.Web.SiteMapProvider.IsAccessibleToUser(HttpContext context, SiteMapNode node)
    Microsoft.Exchange.Management.ControlPanel.EacSiteMapProvider.IsAccessibleToUser(HttpContext context, SiteMapNode node)
    System.Web.StaticSiteMapProvider.GetChildNodes(SiteMapNode node)
    System.Web.XmlSiteMapProvider.GetChildNodes(SiteMapNode node)
    Microsoft.Exchange.Management.ControlPanel._Default.CreateDataContract(SiteMapNode sNode)
    Microsoft.Exchange.Management.ControlPanel._Default.CreateDataContract(SiteMapNode sNode)
    Microsoft.Exchange.Management.ControlPanel._Default.CreateDataContract(SiteMapNode sNode)
    Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
    Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
    System.Web.UI.Control.LoadRecursive()
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    System.Web.UI.Page.ProcessRequest()
    System.Web.UI.Page.ProcessRequest(HttpContext context)
    System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

System.Xml.XmlException: (hexadecimal value 0x03)is an invalid character. Line 1, position 1
    System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
    System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
    System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    System.Configuration.XmlUtil..ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors)
    System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
    System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
    System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
    System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    System.Configuration.XmlUtil..ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors)
    System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
  • Edited by Jimmieyuan Friday, January 09, 2015 12:34 PM
January 9th, 2015 11:10am

any somebody help me
Free Windows Admin Tool Kit Click here and download it now
January 12th, 2015 2:05am

Hi,

According to your description, I understand that cannot login ECP with error 500 Unexpected Error, however OWA works fine.

I want to confirm some points, please help to collect the answers for following questions to narrow down the issue:
1. Are all account or some special accounts experience this question?
2. Is it works before?

Firstly, please run following command by EMS to double check whether all services works fine:
Test-ServiceHealth

Secondly, please open IIS manager to recycle MSExchangeECPAppPool or run lodctr /r and iisreset as administrator in cmd on all exchange servers.

Additional, we can rebuild the ECP virtual directories, for your reference:
http://technet.microsoft.com/en-us/library/ff629372(v=exchg.141).aspx

If the issue still exists, we can collect the IIS log except the event warning log.

Best Regards,
Allen Wang

January 12th, 2015 6:48am

Hi Allen

Thank you for your responce. I will try it, answer your question:

1.Only Exchange admin user had  error, the other user had normal

2.The Exchange before had Normal. after update CU7 occur error

Free Windows Admin Tool Kit Click here and download it now
January 12th, 2015 9:09am

Hi Allen

I tried your suggestion, but it is still error.

January 12th, 2015 9:40am

Who can send "web.config" file to me? position (C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\ecp\quarantine\web.config) 

my email: jimmieno_1@msn.com

Thank you everybody!

Free Windows Admin Tool Kit Click here and download it now
January 14th, 2015 3:20am

Hi,

Sorry for dely.

Whats wrong with this file? Would you please post more details for further troubleshooting?

Please try to move administrator mailbox database to another Mailbox server for testing.

Best Regards,
Allen Wang

January 14th, 2015 9:49am

Hi Allen

Open "web.config" this file is garbled, can't edit,so can you send this file to me? and after move admin mailbox to another database still failure, do you have another solution? thanks

Free Windows Admin Tool Kit Click here and download it now
January 15th, 2015 2:16am

Hi

I have kind of the same problem, I can login to ECP but when managing Databases (DAG) I get the 500 Error.

Did you solve this?

Regards
Robert

March 26th, 2015 9:19am

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

Other recent topics Other recent topics