积极答复者
Exchange 2013访问ECP后台管理报500意外错误,该如何解决?

问题
-
各位高手,最近不知道做了什么操作,访问ECP后台就显示“500意外错误”,但OWA就能正常访问,该如何修复?后台日志显示如何下错误:
当前用户:“fang-sh.com/Users/admin”
对 URL“https://mbx-2.fang-sh.com:444/ecp/default.aspx(https://mail2.fang-sh.com/ecp/)”的请求失败,出现以下错误:
System.Configuration.ConfigurationErrorsException: “”(十六进制值 0x03)是无效的字符。 第 1 行,位置 1。 (C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\ecp\quarantine\web.config line 1) ---> System.Xml.XmlException: “”(十六进制值 0x03)是无效的字符。 第 1 行,位置 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: “”(十六进制值 0x03)是无效的字符。 第 1 行,位置 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()
未启用的功能信息: Features:[[Global.DistributedKeyManagement, False],[Global.GlobalCriminalCompliance, False],[Global.MultiTenancy, False],[Global.WindowsLiveID, False],[Eac.AllowMailboxArchiveOnlyMigration, True],[Eac.AllowRemoteOnboardingMovesOnly, False],[Eac.BulkPermissionAddRemove, True],[Eac.CmdletLogging, True],[Eac.CrossPremiseMigration, False],[Eac.DevicePolicyMgmtUI, False],[Eac.DiscoveryDocIdHint, False],[Eac.DiscoveryPFSearch, False],[Eac.DiscoverySearchStats, False],[Eac.DlpFingerprint, False],[Eac.EACClientAccessRulesEnabled, False],[Eac.GeminiShell, False],[Eac.ManageMailboxAuditing, False],[Eac.ModernGroups, False],[Eac.Office365DIcon, False],[Eac.OrgIdADSeverSettings, False],[Eac.RemoteDomain, False],[Eac.UCCAuditReports, False],[Eac.UCCPermissions, False],[Eac.UnifiedAuditPolicy, False],[Eac.UnifiedComplianceCenter, False],[Eac.UnifiedPolicy, False],[Eac.UnlistedServices, False],], Flights:[], Constraints:[[LOC, ZH-CN],[MACHINE, MBX-2],[MODE, ENTERPRISE],[PROCESS, W3WP],[USER, SERVER2@],[USERTYPE, BUSINESS],], IsGlobalSnapshot: False
答案
-
你好,
根据你的描述,你使用admin帐户访问ECP界面,是指访问admin邮箱帐户的ecp界面,还是访问整个EAC管理控制台?
如果是访问admin单个邮箱的ecp界面报错,请尝试将admin的邮箱迁移到其他数据库,看看是否有帮助;
另外,根据下面的报错信息,请查看对应路径下的web.config文件中是否有报错中提到的无效字符“”,如果有多台服务器,请对比不同服务器上的web.config文件是否有差异。
(C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\ecp\quarantine\web.config line 1) ---> System.Xml.XmlException: “”(十六进制值 0x03)是无效的字符。 第 1 行,位置 1。
下面是我的测试环境中的web.config文件的具体内容,供你对比参考:
<?xml version="1.0"?>
<configuration>
<location path="Quarantine.slab">
<system.web>
<authorization>
<allow roles="Get-QuarantineMessage@R:Organization"/>
<!-- Deny everyone else -->
<deny users="*"/>
</authorization>
</system.web>
</location>
<location path="EditQuarantineAdvFilter.aspx">
<system.web>
<authorization>
<allow roles="Get-QuarantineMessage@R:Organization"/>
<!-- Deny everyone else -->
<deny users="*"/>
</authorization>
</system.web>
</location>
<location path="QuarantineDetails.aspx">
<system.web>
<authorization>
<allow roles="Get-QuarantineMessage@R:Organization"/>
<!-- Deny everyone else -->
<deny users="*"/>
</authorization>
</system.web>
</location>
<location path="QuarantineSDO.aspx">
<system.web>
<authorization>
<allow roles="Get-QuarantineMessage@R:Organization"/>
<!-- Deny everyone else -->
<deny users="*"/>
</authorization>
</system.web>
</location>
<location path="ReleaseQuarantine.aspx">
<system.web>
<authorization>
<allow roles="Release-QuarantineMessage@R:Organization"/>
<!-- Deny everyone else -->
<deny users="*"/>
</authorization>
</system.web>
</location>
</configuration>谢谢!
Niko Cheng
TechNet Community Support- 已标记为答案 Jimmieyuan 2015年1月20日 10:42
全部回复
-
你好,
根据你的描述,你使用admin帐户访问ECP界面,是指访问admin邮箱帐户的ecp界面,还是访问整个EAC管理控制台?
如果是访问admin单个邮箱的ecp界面报错,请尝试将admin的邮箱迁移到其他数据库,看看是否有帮助;
另外,根据下面的报错信息,请查看对应路径下的web.config文件中是否有报错中提到的无效字符“”,如果有多台服务器,请对比不同服务器上的web.config文件是否有差异。
(C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\ecp\quarantine\web.config line 1) ---> System.Xml.XmlException: “”(十六进制值 0x03)是无效的字符。 第 1 行,位置 1。
下面是我的测试环境中的web.config文件的具体内容,供你对比参考:
<?xml version="1.0"?>
<configuration>
<location path="Quarantine.slab">
<system.web>
<authorization>
<allow roles="Get-QuarantineMessage@R:Organization"/>
<!-- Deny everyone else -->
<deny users="*"/>
</authorization>
</system.web>
</location>
<location path="EditQuarantineAdvFilter.aspx">
<system.web>
<authorization>
<allow roles="Get-QuarantineMessage@R:Organization"/>
<!-- Deny everyone else -->
<deny users="*"/>
</authorization>
</system.web>
</location>
<location path="QuarantineDetails.aspx">
<system.web>
<authorization>
<allow roles="Get-QuarantineMessage@R:Organization"/>
<!-- Deny everyone else -->
<deny users="*"/>
</authorization>
</system.web>
</location>
<location path="QuarantineSDO.aspx">
<system.web>
<authorization>
<allow roles="Get-QuarantineMessage@R:Organization"/>
<!-- Deny everyone else -->
<deny users="*"/>
</authorization>
</system.web>
</location>
<location path="ReleaseQuarantine.aspx">
<system.web>
<authorization>
<allow roles="Release-QuarantineMessage@R:Organization"/>
<!-- Deny everyone else -->
<deny users="*"/>
</authorization>
</system.web>
</location>
</configuration>谢谢!
Niko Cheng
TechNet Community Support- 已标记为答案 Jimmieyuan 2015年1月20日 10:42
-
- 已编辑 Niko.ChengModerator 2015年1月15日 3:15