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()

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

Similar Messages

  • Exchange 2013 ECP "500 Unexpected Error" after Updates

    Hi *,
    after installing the latest Server 2012 Updates, i get the error "500 Unexpected Error" when i try to Login to the Exchange ECP. There wer no changes to the URL or front-/backend.
    I also tried the Workaround focussed over here: http://social.technet.microsoft.com/Forums/exchange/en-US/777b51ee-330d-43cc-a56e-4614d44aed7b/unable-to-access-owa-or-ecp-something-went-wrong-or-500-unexpected-error?forum=exchangesvrclientsentries but
    there were no entries like CN=Services at the ADSI edit.
    Best Regards
    Max @ Magelan Support

    Hi Max,
    Please double check the port bindings are correct.
    Please try to run lodctr /r and reset IIS as administrator.
    Found a similar thread for your reference:
    Unable to access ECP. -  "500 unexpected error"
    http://social.technet.microsoft.com/Forums/en-US/b4b7c47e-cde4-4c62-8bb1-91a5430d4814/unable-to-access-ecp-500-unexpected-error?forum=exchangesvrclients
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Accessing ECP = 500 Unexpected Error, Event ID 4 logged. Error msg: 'TargetDeliveryDomain' already belongs to this DataTable.

    Running E2013, CU6 on a Server 2012 Hyper-V VM. Was trying to complete the hybrid migration wizard. It kept failing at the point where it was trying to export the OAuth certificate (which I've since remedied.) Then all of a sudden I was getting 500 Unexpected
    Error after keying in my credentials into ECP.
    OWA works fine.
    Already removed and rebuilt ECP virtual directories, ran lodctr /r, removed the Canary settings in adsiedit and recycled the application pools.
    I'll just post the first part of the error details for brevity, if you need the entire thing please let me know
    Request for URL 'https://server.unitedwaytriangle.org:444/ecp/default.aspx(https://server/ecp/)' failed with the following error:System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. --->
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.DuplicateNameException: A column named 'TargetDeliveryDomain' already belongs to this DataTable.
       at System.Data.DataColumnCollection.RegisterColumnName(String name, DataColumn column)
    I built up another VM with Exchange and I can access the ECP there and fully manage the organization.
    Any insights will be greatly appreciated!!

    Absolutely.
    Yes, that link includes both clearing the Canary settings and rebuilding the virtual directories. I've done both.
    Current user: 'unitedwaytriangle.org/Accounts/Administrator'
    Request for URL 'https://server.unitedwaytriangle.org:444/ecp/default.aspx(https://server/ecp/)' failed with the following error:
    System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.DuplicateNameException:
    A column named 'TargetDeliveryDomain' already belongs to this DataTable.
       at System.Data.DataColumnCollection.RegisterColumnName(String name, DataColumn column)
       at System.Data.DataColumnCollection.BaseAdd(DataColumn column)
       at System.Data.DataColumnCollection.AddAt(Int32 index, DataColumn column)
       at Microsoft.Exchange.Management.DDIService.AutomatedDataHandlerBase.CreateColumn(DataTable table, Dictionary`2 rbacMetaData)
       at Microsoft.Exchange.Management.DDIService.AutomatedDataHandlerBase..ctor(Service profileBuilder)
       at Microsoft.Exchange.Management.DDIService.AutomatedDataHandlerBase..ctor(String schemaFilesInstallPath, String schema)
       at Microsoft.Exchange.Management.DDIService.WSListDataHandler..ctor(String schemaFilesInstallPath, String resourceName, String workflowName, DDIParameters parameters, SortOptions sortOptions)
       at Microsoft.Exchange.Management.DDIService.DDIServiceHelper.GetListCommon(DDIParameters filter, SortOptions sort, Boolean forGetProgress)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at Microsoft.Exchange.Management.ControlPanel.WebServiceReference.GetList(DDIParameters filter, SortOptions sort)
       at Microsoft.Exchange.Management.ControlPanel.OrganizationCache.LoadTargetDeliveryDomain(AddValueHandler addValue, LogErrorHandler logError)
       at Microsoft.Exchange.Management.ControlPanel.OrganizationCache.TryGetValue[T](String key, T& value)
       at Microsoft.Exchange.Management.ControlPanel._Default.RenderMetroTopNav()
       at ASP.default_aspx.__RendermainForm(HtmlTextWriter __w, Control parameterContainer)
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
       at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)
       at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
       at ASP.default_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)
       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.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       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.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.DuplicateNameException: A column named 'TargetDeliveryDomain' already belongs to this DataTable.
       at System.Data.DataColumnCollection.RegisterColumnName(String name, DataColumn column)
       at System.Data.DataColumnCollection.BaseAdd(DataColumn column)
       at System.Data.DataColumnCollection.AddAt(Int32 index, DataColumn column)
       at Microsoft.Exchange.Management.DDIService.AutomatedDataHandlerBase.CreateColumn(DataTable table, Dictionary`2 rbacMetaData)
       at Microsoft.Exchange.Management.DDIService.AutomatedDataHandlerBase..ctor(Service profileBuilder)
       at Microsoft.Exchange.Management.DDIService.AutomatedDataHandlerBase..ctor(String schemaFilesInstallPath, String schema)
       at Microsoft.Exchange.Management.DDIService.WSListDataHandler..ctor(String schemaFilesInstallPath, String resourceName, String workflowName, DDIParameters parameters, SortOptions sortOptions)
       at Microsoft.Exchange.Management.DDIService.DDIServiceHelper.GetListCommon(DDIParameters filter, SortOptions sort, Boolean forGetProgress)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at Microsoft.Exchange.Management.ControlPanel.WebServiceReference.GetList(DDIParameters filter, SortOptions sort)
       at Microsoft.Exchange.Management.ControlPanel.OrganizationCache.LoadTargetDeliveryDomain(AddValueHandler addValue, LogErrorHandler logError)
       at Microsoft.Exchange.Management.ControlPanel.OrganizationCache.TryGetValue[T](String key, T& value)
       at Microsoft.Exchange.Management.ControlPanel._Default.RenderMetroTopNav()
       at ASP.default_aspx.__RendermainForm(HtmlTextWriter __w, Control parameterContainer)
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
       at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)
       at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
       at ASP.default_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)
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at Microsoft.Exchange.Management.ControlPanel.WebServiceReference.GetList(DDIParameters filter, SortOptions sort)
       at Microsoft.Exchange.Management.ControlPanel.OrganizationCache.LoadTargetDeliveryDomain(AddValueHandler addValue, LogErrorHandler logError)
       at Microsoft.Exchange.Management.ControlPanel.OrganizationCache.TryGetValue[T](String key, T& value)
       at Microsoft.Exchange.Management.ControlPanel._Default.RenderMetroTopNav()
       at ASP.default_aspx.__RendermainForm(HtmlTextWriter __w, Control parameterContainer)
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
       at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)
       at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
       at ASP.default_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)
    System.Data.DuplicateNameException: A column named 'TargetDeliveryDomain' already belongs to this DataTable.
       at System.Data.DataColumnCollection.RegisterColumnName(String name, DataColumn column)
       at System.Data.DataColumnCollection.BaseAdd(DataColumn column)
       at System.Data.DataColumnCollection.AddAt(Int32 index, DataColumn column)
       at Microsoft.Exchange.Management.DDIService.AutomatedDataHandlerBase.CreateColumn(DataTable table, Dictionary`2 rbacMetaData)
       at Microsoft.Exchange.Management.DDIService.AutomatedDataHandlerBase..ctor(Service profileBuilder)
       at Microsoft.Exchange.Management.DDIService.AutomatedDataHandlerBase..ctor(String schemaFilesInstallPath, String schema)
       at Microsoft.Exchange.Management.DDIService.WSListDataHandler..ctor(String schemaFilesInstallPath, String resourceName, String workflowName, DDIParameters parameters, SortOptions sortOptions)
       at Microsoft.Exchange.Management.DDIService.DDIServiceHelper.GetListCommon(DDIParameters filter, SortOptions sort, Boolean forGetProgress)
       at System.Data.DataColumnCollection.RegisterColumnName(String name, DataColumn column)
       at System.Data.DataColumnCollection.BaseAdd(DataColumn column)
       at System.Data.DataColumnCollection.AddAt(Int32 index, DataColumn column)
       at Microsoft.Exchange.Management.DDIService.AutomatedDataHandlerBase.CreateColumn(DataTable table, Dictionary`2 rbacMetaData)
       at Microsoft.Exchange.Management.DDIService.AutomatedDataHandlerBase..ctor(Service profileBuilder)
       at Microsoft.Exchange.Management.DDIService.AutomatedDataHandlerBase..ctor(String schemaFilesInstallPath, String schema)
       at Microsoft.Exchange.Management.DDIService.WSListDataHandler..ctor(String schemaFilesInstallPath, String resourceName, String workflowName, DDIParameters parameters, SortOptions sortOptions)
       at Microsoft.Exchange.Management.DDIService.DDIServiceHelper.GetListCommon(DDIParameters filter, SortOptions sort, Boolean forGetProgress)
    Flight info: 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.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.RemoteDomain, False],[Eac.UCCAuditReports, False],[Eac.UCCPermissions, False],[Eac.UnifiedComplianceCenter, False],[Eac.UnifiedPolicy, False],[Eac.UnlistedServices, False],],  Flights:[], 
    Constraints:[[LOC, EN-US],[MACHINE, SERVER],[MODE, ENTERPRISE],[PROCESS, W3WP],[USER, ADMINISTRATOR@],], IsGlobalSnapshot: False

  • Exchange 2013 OWA/ECP HTTP 500 Internal Server Error

    So I know there are a lot of these threads, so I'll list what I've done and what I've tried so far.
    The setup is a pair of multirole servers with a DAG.  We have a root domain and sub domain.
    I've created 4 databases associated with the DAG, I successfully removed the default database on the 2nd mail server, then migrated the arbitration/system/discovery etc... mailboxes to one of the DAG databases.  I then removed the 1st mail server's default
    database after killing it's healthmailbox.  Rebooted the pair of servers and after that the ECP/OWA were inaccessible.
    To run tests I installed .NET 3.5 SP1 so I could run the ExBPA which really didn't get me anywhere.
    I can access the logon screen for both, but when I enter my username and password, I get the http 500 internal server error.
    I have used: Get-OwaVirtualDirectory -Server <server name> | fl *auth*
    To verify that basic and forms based auth are enabled, and they are.
    I've verified all services have started.
    I've tried to remove and re-add the app pools and the ecp virtual directories.
    http://social.technet.microsoft.com/Forums/ie/en-US/bb148ccb-a75e-4571-bfc7-76950f8e638e/exchange-2013-cu2-cant-access-ecp-unexpected-error-500?forum=exchangesvrgeneral
    I've tried to use ADSI Edit to purge the Canary Data.
    http://social.technet.microsoft.com/Forums/exchange/en-US/777b51ee-330d-43cc-a56e-4614d44aed7b/unable-to-access-owa-or-ecp-something-went-wrong-or-500-unexpected-error?forum=exchangesvrclients
    I've tried to run test-ecpconnectivity but stated that the test user wasn't available.
    So I tried to use the powershell script to create a new test user, but it doesn't seem to work either I think it's related to the exchange machine not being a member of the root domain, but not sure on that one.
    I seem to be able to manage everything with command-line still.  Create and remove mailboxes etc.
    As far as errors/warnings go exchange wise I get an ASP.NET 4.0 warning Event ID 1309 stating that an unhandled exception occurred, which seems to coincide with the logon attempt.  I'm sure this has something to do with it, but not real sure what yet.
     Nothing I can see within the logon attempt from IIS or anything else really.
    I think that's about all I have.

    Hi,
    Please check on the Application Pools to view whether OWA and ECP Application Pool is running on .NET Framework v4.0. It maybe the incompletely installation of Framework that causes this error.
    If so, We can try to run the following command as Administrator:
    %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
    Or change the MSExchangeECPAppPool from .NET Framework from v4.0 to v2.0. Then restart IIS to have a try.
    Regards,
    Winnie Liang
    TechNet Community Support

  • Unable to access OWA or ECP. - "Something went wrong" or "500 unexpected error"

    Our environment consist of 3 client access servers with 8 mailbox servers.  I recently installed windows updates on all of the servers.  Now when a user tries to access OWA it fails and says "Something went wrong" when I try to access
    ECP I receive "500 unexpected error"
    I have tried building a new CAS and mailbox servers with the default settings but it still fails.  I did not install the latest Windows updates on the new servers.  I tried creating new databases with new users and it also fails.  
    There are also these ASP.NET 4.0.30319.0 warnings showing in the application log:
    Log Name:      Application
    Source:        ASP.NET 4.0.30319.0
    Date:          8/30/2013 11:02:13 AM
    Event ID:      1309
    Task Category: Web Event
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      FacultyEmail01.corjesu.org
    Description:
    Event code: 3005 
    Event message: An unhandled exception has occurred. 
    Event time: 8/30/2013 11:02:13 AM 
    Event time (UTC): 8/30/2013 4:02:13 PM 
    Event ID: 1088bfe111264e01b536f66f2591c15a 
    Event sequence: 48245 
    Event occurrence: 1597 
    Event detail code: 0 
    Application information: 
        Application domain: /LM/W3SVC/2/ROOT/owa-1-130223042171473642 
        Trust level: Full 
        Application Virtual Path: /owa 
        Application Path: C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\owa\ 
        Machine name: FACULTYEMAIL01 
    Process information: 
        Process ID: 13764 
        Process name: w3wp.exe 
        Account name: NT AUTHORITY\SYSTEM 
    Exception information: 
        Exception type: NullReferenceException 
        Exception message: Object reference not set to an instance of an object.
       at Microsoft.Exchange.Clients.Common.Canary15.Init(Byte[] userContextIdBinary, Byte[] timeStampBinary, String logonUniqueKey, Byte[] hashBinary, String logData)
       at Microsoft.Exchange.Clients.Common.Canary15..ctor(String logonUniqueKey)
       at Microsoft.Exchange.Clients.Common.Canary15Cookie.TryCreateFromHttpCookie(HttpCookie cookie, String logonUniqueKey, Canary15Profile profile)
       at Microsoft.Exchange.Clients.Common.Canary15Cookie.TryCreateFromHttpContext(HttpContext httpContext, String logOnUniqueKey, Canary15Profile profile)
       at Microsoft.Exchange.Clients.Owa2.Server.Core.OwaRequestHandler.InternalOnPostAuthorizeRequest(Object sender)
       at Microsoft.Exchange.Clients.Owa2.Server.Core.OwaRequestHandler.OnPostAuthorizeRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    Request information: 
        Request URL: https://localhost:444/owa/logoff.owa 
        Request path: /owa/logoff.owa 
        User host address: 127.0.0.1 
        User: CORJESU\SM_cab26786a5604c759 
        Is authenticated: True 
        Authentication Type: Kerberos 
        Thread account name: NT AUTHORITY\SYSTEM 
    Thread information: 
        Thread ID: 12 
        Thread account name: NT AUTHORITY\SYSTEM 
        Is impersonating: False 
        Stack trace:    at Microsoft.Exchange.Clients.Common.Canary15.Init(Byte[] userContextIdBinary, Byte[] timeStampBinary, String logonUniqueKey, Byte[] hashBinary, String logData)
       at Microsoft.Exchange.Clients.Common.Canary15..ctor(String logonUniqueKey)
       at Microsoft.Exchange.Clients.Common.Canary15Cookie.TryCreateFromHttpCookie(HttpCookie cookie, String logonUniqueKey, Canary15Profile profile)
       at Microsoft.Exchange.Clients.Common.Canary15Cookie.TryCreateFromHttpContext(HttpContext httpContext, String logOnUniqueKey, Canary15Profile profile)
       at Microsoft.Exchange.Clients.Owa2.Server.Core.OwaRequestHandler.InternalOnPostAuthorizeRequest(Object sender)
       at Microsoft.Exchange.Clients.Owa2.Server.Core.OwaRequestHandler.OnPostAuthorizeRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    Custom event details: 
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="ASP.NET 4.0.30319.0" />
        <EventID Qualifiers="32768">1309</EventID>
        <Level>3</Level>
        <Task>3</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-08-30T16:02:13.000000000Z" />
        <EventRecordID>721791</EventRecordID>
        <Channel>Application</Channel>
        <Computer>FacultyEmail01.corjesu.org</Computer>
        <Security />
      </System>
      <EventData>
        <Data>3005</Data>
        <Data>An unhandled exception has occurred.</Data>
        <Data>8/30/2013 11:02:13 AM</Data>
        <Data>8/30/2013 4:02:13 PM</Data>
        <Data>1088bfe111264e01b536f66f2591c15a</Data>
        <Data>48245</Data>
        <Data>1597</Data>
        <Data>0</Data>
        <Data>/LM/W3SVC/2/ROOT/owa-1-130223042171473642</Data>
        <Data>Full</Data>
        <Data>/owa</Data>
        <Data>C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\owa\</Data>
        <Data>FACULTYEMAIL01</Data>
        <Data>
        </Data>
        <Data>13764</Data>
        <Data>w3wp.exe</Data>
        <Data>NT AUTHORITY\SYSTEM</Data>
        <Data>NullReferenceException</Data>
        <Data>Object reference not set to an instance of an object.
       at Microsoft.Exchange.Clients.Common.Canary15.Init(Byte[] userContextIdBinary, Byte[] timeStampBinary, String logonUniqueKey, Byte[] hashBinary, String logData)
       at Microsoft.Exchange.Clients.Common.Canary15..ctor(String logonUniqueKey)
       at Microsoft.Exchange.Clients.Common.Canary15Cookie.TryCreateFromHttpCookie(HttpCookie cookie, String logonUniqueKey, Canary15Profile profile)
       at Microsoft.Exchange.Clients.Common.Canary15Cookie.TryCreateFromHttpContext(HttpContext httpContext, String logOnUniqueKey, Canary15Profile profile)
       at Microsoft.Exchange.Clients.Owa2.Server.Core.OwaRequestHandler.InternalOnPostAuthorizeRequest(Object sender)
       at Microsoft.Exchange.Clients.Owa2.Server.Core.OwaRequestHandler.OnPostAuthorizeRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)
    </Data>
        <Data>https://localhost:444/owa/logoff.owa</Data>
        <Data>/owa/logoff.owa</Data>
        <Data>127.0.0.1</Data>
        <Data>CORJESU\SM_cab26786a5604c759</Data>
        <Data>True</Data>
        <Data>Kerberos</Data>
        <Data>NT AUTHORITY\SYSTEM</Data>
        <Data>12</Data>
        <Data>NT AUTHORITY\SYSTEM</Data>
        <Data>False</Data>
        <Data>   at Microsoft.Exchange.Clients.Common.Canary15.Init(Byte[] userContextIdBinary, Byte[] timeStampBinary, String logonUniqueKey, Byte[] hashBinary, String logData)
       at Microsoft.Exchange.Clients.Common.Canary15..ctor(String logonUniqueKey)
       at Microsoft.Exchange.Clients.Common.Canary15Cookie.TryCreateFromHttpCookie(HttpCookie cookie, String logonUniqueKey, Canary15Profile profile)
       at Microsoft.Exchange.Clients.Common.Canary15Cookie.TryCreateFromHttpContext(HttpContext httpContext, String logOnUniqueKey, Canary15Profile profile)
       at Microsoft.Exchange.Clients.Owa2.Server.Core.OwaRequestHandler.InternalOnPostAuthorizeRequest(Object sender)
       at Microsoft.Exchange.Clients.Owa2.Server.Core.OwaRequestHandler.OnPostAuthorizeRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)
    </Data>
      </EventData>
    </Event>

    I opened a case with Microsoft.  After 3 days and over 15 hours on the phone they were able to resolve the problem.  They had to use ADSI edit to remove the canary data for the domain.
    I tried rebuilding the virtual directories, building a new CAS server, a new mailbox server and a new server with both roles installed.  I created a new database and new users in that database and used the new CAS server but the problem continued which
    led us to believe it was something being obtained from Active Directory.  We finally figured out the problem was in the properties of an object in ADSI. 
    You have to open the ADSI editor on the primary domain controller (start-->administrative tools-->ADSI edit), go to CN=Services --> CN=Microsoft Exchange --> CN=<Your Site Name>  Right click CN=Client Access and click properties. 
    Scroll down to msExchCanaryData0.  You have to click edit and copy the data from Data0, Data1 and Data2 (you may have more or less) to a notepad file.  Then erase the data from those settings.  Now log onto the CAS server and open IIS management. 
    Go to application pools and  right click MSExchangeOWAAppPool and click Recycling.  Then restart all of the mailbox servers.  
    It's a great idea to take a system state backup before performing these steps as editing ADSI data is risky.  

  • Encounter "500 Unexpected Error" when admin account access to ECP

    Symptom: 
    In Exchange 2013, when using admin account to access ECP, you will get an error “500 Unexpected” as below. However, when using the same account to access OWA, everything is ok, and other normal accounts can access OWA also.
    At the same time, if you check the event log, you will get the following error:
    Current users: “yourdomain.com/User/admin”Request for URL 'https://servername.yourdomain.com:444/ecp/default.aspx(https://servername/ecp/)' failed with the following error: 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()
    Cause:
    According to the error information, there are some invalid characters in the file (C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\ecp\quarantine\web.config ).
    In Exchange Mailbox server, when we open this file with notepad, we will find that all the content are garbled. That is the cause.
    Solution: 
    1. Try to copy the following code to replace the contents of the file, and save it.
    2. Restart mailbox server.
    <?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>
    Reference: https://social.technet.microsoft.com/Forums/zh-CN/74a108a8-21f3-4f5e-8fee-94942698797a/exchange-2013ecp500?forum=exchangeserverzhchs
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Hi,
    According to your description, I understand that open a shared mailbox and modify the setting of Outlook Voice Access by OWA, then return an error “500 unexpected error”.
    If I misunderstand your concern, please do not hesitate to let me know.
    Basis on my testing, run Enable-UMMailbox to enable UM feature for shared mailbox, and enable shared mailbox account in AD. Then login OWA to double check the setting of Voice mail, everything is OK.
    However, I get the same error as your mentioned when login another account in OWA and open shared mailbox to modify the setting of voice mail. Also, I get same error when doing this way to access another mailbox.
    I find an similar thread about your question, it may be caused by the license of shared mailbox. For your reference:
    http://community.office365.com/en-us/f/148/t/160652.aspx
    Best Regards,
    Allen Wang

  • Seemingly successful install of Exchange 2013 SP1 turns into many errors in event logs after upgrade to CU7

    I have a new Exchange 2013 server with plans to migrate from my current Exchange 2007 Server. 
    I installed Exchange 2013 SP1 and the only errors I saw in the event log seemed to be long standing known issues that did not indicate an actual problem (based on what I read online). 
    I updated to CU7 and now lots of errors have appeared (although the old ones seem to have been fixed so I have that going for me). 
    Currently the Exchange 2013 server is not in use and clients are still hitting the 2007 server.
    Issue 1)
    After each reboot I get a Kernel-EventTracing 2 error.  I cannot find anything on this on the internet so I have no idea what it is.
    Session "FastDocTracingSession" failed to start with the following error: 0xC0000035
    I did read other accounts of this error with a different name in the quotes but still can’t tell what this is or where it is coming from.
    Issue 2)
    I am still getting 5 MSExchange Common 106 errors even after reregistering all of the perf counters per this page:
    https://support.microsoft.com/kb/2870416?wa=wsignin1.0
    One of the perf counters fails to register using the script from the link above.
    66 C:\Program Files\Microsoft\Exchange Server\V15\Setup\Perf\InfoWorkerMultiMailboxSearchPerformanceCounters.xml
    New-PerfCounters : The performance counter definition file is invalid.
    At C:\Users\administrator.<my domain>\Downloads\script\ReloadPerfCounters.ps1:19 char:4
    +    New-PerfCounters -DefinitionFileName $f
    +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo         
    : InvalidData: (:) [New-PerfCounters], TaskException
        + FullyQualifiedErrorId : [Server=VALIS,RequestId=71b6bcde-d73e-4c14-9a32-03f06e3b2607,TimeStamp=12/18/2014 10:09:
       12 PM] [FailureCategory=Cmdlet-TaskException] 33EBD286,Microsoft.Exchange.Management.Tasks.NewPerfCounters
    But that one seems unrelated to the ones that still throw errors. 
    Three of the remaining five errors are (the forum is removing my spacing between the error text so it looks like a wall of text - sorry):
    Performance counter updating error. Counter name is Count Matched LowFidelity FingerPrint, but missed HighFidelity FingerPrint, category name is MSExchange Anti-Malware Datacenter Perfcounters. Optional code: 3. Exception: The
    exception thrown is : System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
       at System.Diagnostics.PerformanceCounter.InitializeImpl()
       at System.Diagnostics.PerformanceCounter.set_RawValue(Int64 value)
       at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.set_RawValue(Int64 value)
    Last worker process info : System.ArgumentException: Process with an Id of 7384 is not running.
       at System.Diagnostics.Process.GetProcessById(Int32 processId)
       at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetLastWorkerProcessInfo()
    Performance counter updating error. Counter name is Number of items, item is matched with finger printing cache, category name is MSExchange Anti-Malware Datacenter Perfcounters. Optional code: 3. Exception: The exception thrown
    is : System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
       at System.Diagnostics.PerformanceCounter.InitializeImpl()
       at System.Diagnostics.PerformanceCounter.set_RawValue(Int64 value)
       at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.set_RawValue(Int64 value)
    Last worker process info : System.ArgumentException: Process with an Id of 7384 is not running.
       at System.Diagnostics.Process.GetProcessById(Int32 processId)
       at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetLastWorkerProcessInfo()
    Performance counter updating error. Counter name is Number of items in Malware Fingerprint cache, category name is MSExchange Anti-Malware Datacenter Perfcounters. Optional code: 3. Exception: The exception thrown is : System.InvalidOperationException:
    The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
       at System.Diagnostics.PerformanceCounter.InitializeImpl()
       at System.Diagnostics.PerformanceCounter.set_RawValue(Int64 value)
       at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.set_RawValue(Int64 value)
    Last worker process info : System.ArgumentException: Process with an Id of 7384 is not running.
       at System.Diagnostics.Process.GetProcessById(Int32 processId)
       at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetLastWorkerProcessInfo()
    Issue 3)
    I appear to have some issues related to the healthmailboxes. 
    I get MSExchangeTransport 1025 errors for multiple healthmailboxes.
    SMTP rejected a (P1) mail from 'HealthMailbox23b10b91745648819139ee691dc97eb6@<my domain>.local' with 'Client Proxy <my server>' connector and the user authenticated as 'HealthMailbox23b10b91745648819139ee691dc97eb6'. The Active Directory
    lookup for the sender address returned validation errors. Microsoft.Exchange.Data.ProviderError
    I reran setup /prepareAD to try and remedy this but I am still getting some.
    Issue 4)
    I am getting an MSExchange RBAC 74 error. 
    (Process w3wp.exe, PID 984) Connection leak detected for key <my domain>.local/Admins/Administrator in Microsoft.Exchange.Configuration.Authorization.WSManBudgetManager class. Leaked Value 1.
    Issue 5)
    I am getting MSExchange Assistants 9042 warnings on both databases.
    Service MSExchangeMailboxAssistants. Probe Time Based Assistant for database Database02 (c83dbd91-7cc4-4412-912e-1b87ca6eb0ab) is exiting a work cycle. No mailboxes were successfully processed. 2 mailboxes were skipped due to errors. 0 mailboxes were
    skipped due to failure to open a store session. 0 mailboxes were retried. There are 0 mailboxes in this database remaining to be processed.
    Some research suggested this may be related to deleted mailboxes however I have never had any actual user mailboxes on this server. 
    If they are healthmailboxes or arbitration mailboxes that might make sense but I am unsure of what to do on this.
    Issue 6)
    At boot I am getting an MSExchange ActiveSync warning 1033
    The setting SupportedIPMTypes in the Web.Config file was missing. 
    Using default value of System.Collections.Generic.List`1[System.String].
    I don't know why but this forum is removing some of my spacing that would make parts of this easier to read.

    Hi Eric
    Yes I have uninstalled and reinstalled Exchange 2013 CU7 for the 3<sup>rd</sup> time. 
    I realize you said one issue per forum thread but since I already started this thread with many issues I will at least post what I have discovered on them in case someone finds their way here from a web search.
    I have an existing Exchange 2007 server in the environment so I am unable to create email address policies that are defined by “recipient container”. 
    If I try and do so I get “You can't specify the recipient container because legacy servers are detected.”
     So I cannot create a normal email address policy and restrict it to an OU without resorting to some fancy filtering. 
    Instead what I have done is use PS to modify extensionAttribute1 (otherwise known as Custom Attribute 1 to exchange) for all of my users. 
    I then applied an address policy to them and gave it the highest priority. 
    Then I set a default email address policy for the entire organization. 
    After reinstalling Exchange all of my system mailboxes were created with the internal domain name. 
    So issue number 3 above has not come up. 
    For issue number one above I have created a new thread:
    https://social.technet.microsoft.com/Forums/office/en-US/7eb12b89-ae9b-46b2-bd34-e50cd52a4c15/microsoftwindowskerneleventtracing-error-2-happens-twice-at-boot-ex2013cu7?forum=exchangesvrdeploy
    For issue number four I have posted to this existing thread where there is so far no resolution:
    https://social.technet.microsoft.com/Forums/exchange/en-US/2343730c-7303-4067-ae1a-b106cffc3583/exchange-error-id-74-connection-leak-detected-for-key?forum=exchangesvradmin
    Issue number Five I have managed to recreate and get rid of in more than one way. 
    If I create a new database in ECP and set the database and log paths where I want, then this error will appear. 
    If I create the database in the default location and then use EMS to move it and set the log path, then the error will not appear. 
    The error will also appear (along with other errors) if I delete the health mailboxes and let them get recreated by restarting the server or the Health Manager service. 
    If I then go and set the retention period for deleted mailboxes to 0 days and wait a little while, these will all go away. 
    So my off hand guess is that these are caused by orphaned system mailboxes.
    For issue number six I have posted to this existing thread where there is so far no resolution:
    https://social.technet.microsoft.com/Forums/exchange/en-US/dff62411-fad8-4d0c-9bdb-037374644845/event-1033-msexchangeactivesync-warning?forum=exchangesvrmobility
    So for the remainder of this thread we can try and tackle issue number two which is the perf counters. 
    The exact same 5 perf counter were coming up and this had been true each time I have uninstalled and reinstalled Exchange 2013CU7. 
    Actually to be more accurate a LOT of perf counter errors come up after the initial install, but reloading the perf counters using the script I posted above reduces it to the same five. 
    Using all of your suggestions so far has not removed these 5 remaining errors either.  Since there is no discernible impact other than these errors at boot I am not seriously bothered by them but as will all event log errors, I would prefer
    to make them go away if possible.

  • 500 unexpected error : Editing Resource mailbox Issue

    Not able to edit resource mailbox in 2013. Issue is not for all resource mailbox only for few resource mailbox's it gives me error 500 unexpected error . Request could not be completed. any idea we are migrating from ex2007 to 2013 When we create new resource
    mailbox in Ex2013 there is no issue
    Version of Exchange 2007 sp3 roll12, Ex2013with rollup 4 . All resource mailboxes are on Ex2013

    Hi,
    Could you perform other operations in EAC?
    You said that issue was not for all resource mailbox, only some resource mailboxes were affected. If that is the case, I recommend you compare these affected resource mailbox with other normal mailbox and check if there is any difference between them.
    If possible, I recommend you move a resource mailbox to a different mailbox database to check result.
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Exchange 2013 CU7 - Frequent Outlook 2013 Disconnections and Delays

    We currently have the following environment:
    Windows 2012 VM on Hyper-V with 24GB of RAM and 4 virtual procs (1 socket)
    Cisco UCS, B200 M3 Blades
    Exchange 2013 CU7
    Exchange 2007 is in our environment, but public folders have been removed and only a few stale, unused accounts exist on it. 
    Two dual-role CAS/Mailbox servers
    Mailbox servers are in a DAG
    MAPI/HTTP is our connection protocol
    .NET Framework 4.5.2
    Clients are Outlook 2013 SP1 on Windows 7 and 8.1
    (Currently round robin DNS, but we have a hardware load balancer we've temporarily taken out of the mix to solve this problem)
    What we're seeing is frequent disconnections from Exchange, regardless of the CAS server. That is, both CAS servers will disconnect clients, but not at the same time.  When we look at the Exchange boxes, we notice that the CPU is 99% - 100% each time the
    disconnections occur.  When we hunt down the IISWorker process causing the sudden CPU run, we see it comes back to the following app pools:
    MSExchangeMAPIFrontEndAppPool
    MSExchangeMAPIMailboxAppPool
    (We were running RPC/HTTP, but switched to MAPI/HTTP to resolve the problem.  We had the same issue with equivalent RPC app pools at the time.)
    Eventually, within a minute or two, the CPU load will decrease and the clients connected via that CAS will regain connection.  As you can imagine, the pain is felt more frequently by uncached clients--although everyone, regardless of caching, will see
    the disconnections.
    Basically, the problem sounds exactly as shown in this KB:  http://support.microsoft.com/kb/2995145  Unfortunately, we already had .NET 4.5.2 installed, and have changed the environment variable and registry as shown in the article. 
    We're in contact with Microsoft Support, but thus far they're scratching their heads.
    I'm clearing up all small errors to decrease the noise in the application error logs, but the most persistent one is Event ID 106 (MSExchange Common):
    "Performance counter updating error. Counter name is Time in Resource per second, category name is MSExchange Activity Context Resources. Optional code: 2. Exception: The exception thrown is : System.InvalidOperationException: Instance 'ad-powershell-defaultdomain'
    already exists with a lifetime of Process.  It cannot be recreated or reused until it has been removed or until the process using it has exited."
    Loading/reloading and recreation of the performance counters does not fix the problem, by Microsoft Support or us.  Of course, this error existed before we started having issues; I'd just like to clean it up just in case it's a contributing factor.
    Has anyone seen anything similar? 

    We're using a Barracuda load balancer (641), but we've eliminated that as a source of the problem.  The CPU spikes and disconnections happen whether or not the load balancer is in use.
    This problem is still ongoing, and we're still working with Microsoft Support.  Right now they're focused on our environment, but having combed through it numerous times, there's nothing that stands out. I suspect this is a bug in CU7 (yet I would
    readily accept our environment being at fault if it means we can identify and resolve the problem), but that's not the road Support is going down.
    We've looked at storage I/O on the VM hosts (disk responses are 10 MS or less), added double the CPUs to each mail server (for a total of 8, each), disabled TCP chimney offload, run numerous Experfwiz log collections, etc...  Now
    the tech is focused on a particular mailbox database being the culprit because it also takes up more CPU when the MAPI app pools are gunning pretty high.  I suspect that it is a symptom and not the problem, but I have no choice but to follow his lead.
    What is your environment like? Are you also CU7?  And did the problem show itself after a cumulative update was applied?

  • Exchange 2013 OWA HTTP 500 error when opening another mailbox

    We have an Windows Server 2012 Exchange 2013 server with OWA. 
    All users can login fine, but when I open another mailbox with my Admin account, having enabled access to that user's mailbox, the URL redirects to /owa/auth/errorfe.aspx?httpCode=500 and shows: 
    something went wrong
    Sorry, we can't get that information right now. Please try again later. If the problem continues, contact your helpdesk
    Google won't help me in this instance. Where in the eventlog are OWA events logged?

    Hello,
    I am joining to the thread opener, however, we do not use exchange server. we are using the Cloud services through Microsoft and as far as I know, the version is 2013 wave 15 (again, through Microsoft's cloud).
    when I open the outlook, I can see the shared mailbox just fine.
    when I open the office web access, and I search the mailbox through the 'add another mailbox..' It finds it however when I press the add button I get the HTTP 500 error.
    when I tried to open a different mailbox (another shared mailbox I gave myself permissions for), it opens just fine.
    it seems (from what I can tell) it is this specific shared mailbox that I cannot open through OWA while others I can.
    when I try to open the mailbox in question through a different internet browser (Chrome) I get this Error:
    NegotiateSecurityContext failed with for host 'db3pr04mb138.eurprd04.prod.outlook.com' with status'LogonDenied'
    the error seems to be persistent on this specific mailbox only regardless to what browser I am trying to access with.
    I can only assume that the solutions you (Winnie) offered isn't relevant in my case.
    thanks in advance for any attempt to help me with this issue.

  • Exchange 2013 CU7 OWA 400 Bad Request after successful login

    Scenario:
    Exchange 2007/2013 Migration
    One
    Exchange 2007 Server [removed]
    One
    Exchange 2013 Server Std, Windows 2012
    All mailboxes moved to 2013
    - November 27-30 2014
    All public folders moved to
    2013 - December 2, 2014
    Exchange
    2007 is still running and has not been removed from the domain, yet. [update]
    Exchange
    2007 removed from domain - 12-13-14
    SSL
    Certs are current for: Autodiscover.ExtDom.com, ex13.ExtDom.com, ex13.IntDom.com
    Applied
    CU6 (Dec 3, 2014) to fix Mobile access issues. Since applying CU6, OWA does not work with the exception of mobile browsers (Chrome - Nexus 7) or Safari 5.1.7 on Windows 7. These browsers get the OWA 2010 theme (Yellow).
    User
    logs into OWA with Domain\UserName and PWD(IE). After clicking Sign In, page returns Bad Request. No errors logged in w3scv logs.
    [update]
    CU7 applied 12-11-2014
    All
    users can connect using Outlook 2013 or Mobile (iPhone & Android)
    Exchange
    Admin Center (ECP) still works!
    Browsers
    tested: IE10 (windows 7 x64),Chrome 39.0.2171.71m, Opera 26.0, FireFox 34.0.5, Safari 5.1.7
    Attempted:
    https://ex13.ExtDom.com/owa
    https://ex13.IntDom.com/owa
    https://ex13.ExtDom.com/owa?ExchClientVer=15
    https://ex13.IntDom.com/owa?ExchClientVer=15
    https://localhost/owa
    (on Ex 2013 server)
    https://localhost/owa?ExchClientVer=15
    (on Ex 2013 Server)
    Fixes
    attempted:
    remove
    | create Virtual Directories for OWA
    Change
    authentication through Exchange PowerShell - Integrated/Basic from FBA/Basic
    reverted
    since change didn’t work.
    Run
    UpdateCas.ps1
    Run
    UpdateConfigFiles.ps1
    IISReset
    (iisReset /NoForce fails)
    OWA
    (Default Web Site) displays as Version 15.0 (Build 995.29) in EAC. [update] Build 1044.25 (CU7)
    Links
    used for troubleshooting:
    http://community.spiceworks.com/topic/514617-exchange-2013-unable-to-login-to-owa-ecp
    https://social.technet.microsoft.com/Forums/ie/en-US/f8aa95d4-19e4-483c-8c4b-b039ab0d0127/400-bad-request-when-logging-in-to-owa-exchange-2013?forum=exchangesvrclients
    http://tecfused.com/2013/09/23/exchange-2013-ecp-double-login-error-400/
    https://social.technet.microsoft.com/Forums/lync/en-US/c25ce81c-76ea-471a-93ae-eeaf9e5015ac/exchange-2013-owa-error-400-bad-request?forum=exchangesvradmin
    http://support.microsoft.com/kb/2871485/en-gb

    Hi,
    Does it work if you disable the FBA and only use the basic authentication?
    Please also let us know the authentication settings on the Default Web site.
    Thanks,
    Simon Wu
    TechNet Community Support

  • Exchange 2013 EMS throwing Access Denied error and Toolbox giving MMC error

    Hi,
    I am getting a very strange problem with an Exchange 2013 server deployed at a customer's site. After some hours of usage, EMS or Toolbox will not open and will throw below errors. However, if I restart the server, everything works fine for some hours before
    the error start coming again. This does not affect mail flow or ECP but, I wonder if something is going wrong in the background and may cause a severe failure in future.
    I tried hard but could not find the source of the problem.
    EMS error:
    VERBOSE: Connecting to CARISSA.skc.mru.
    New-PSSession : [carissa.skc.mru] Connecting to remote server carissa.skc.mru failed with the following error message
    : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
    At line:1 char:1
    + New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
       gTransportException
        + FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed
    VERBOSE: Connecting to CARISSA.skc.mru.
    New-PSSession : [carissa.skc.mru] Connecting to remote server carissa.skc.mru failed with the following error message
    : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
    At line:1 char:1
    + New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
       gTransportException
        + FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed
    VERBOSE: Connecting to CARISSA.skc.mru.
    New-PSSession : [carissa.skc.mru] Connecting to remote server carissa.skc.mru failed with the following error message
    : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
    At line:1 char:1
    + New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
       gTransportException
        + FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed
    VERBOSE: Connecting to CARISSA.skc.mru.
    New-PSSession : [carissa.skc.mru] Connecting to remote server carissa.skc.mru failed with the following error message
    : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
    At line:1 char:1
    + New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
       gTransportException
        + FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed
    VERBOSE: Connecting to CARISSA.skc.mru.
    New-PSSession : [carissa.skc.mru] Connecting to remote server carissa.skc.mru failed with the following error message
    : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
    At line:1 char:1
    + New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
       gTransportException
        + FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed
    Failed to connect to an Exchange server in the current site.
    Enter the server FQDN where you want to connect.:
    Hope someone has a solution to this.
    Pramod

    Hi 
    It can be possibly a WIN RM Issue. Run
    winrm quickconfig and see whether u are able to connect
    If you are unable to connect then Try reinstalling the WinRM
    Import-Module ServerManager
    Remove-WindowsFeatureWinRM-IIS-Ext
    Add-WindowsFeatureWinRM-IIS-Ext
    Also check if you have a certificate assigned to the Default Web Site - HTTPS Binding/Port 443, and Exchange
    Back End web site - HTTPS binding/Port 444
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish
    (MVP)

  • Exchange 2013 Server ECP Not Loading

    Running Exchange 2013 (with all roles installed). I tried going to the ECP via https://servername.domain.com/ecp/
    It keeps loading on and on forever (in a loop, never fully loads the page). Any help?
    Running Windows Server 2012 DataCenter RTM with Exchange 2013
    Thanks!

    Hi,
    Before we can go further, I'd like to confirm the following information and recommen the troubleshooting:
    1. Is there only Exchange 2013 server in your environment? If there is other Exchange server, the proper URL is as following:https://CASServerFQDN/ecp?ExchClientVer=15
    2. Please try to access the ECP URL with your CAS server IP address.
    3. Check if there is any error about ECP in your IIS log.
    Thanks,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Angela Shi
    TechNet Community Support

  • Exchange 2013 CU7 server performance/outage issues.

    Hi Forum,
    We are constantly faced with incidents from users that the connections are lost with the exchange server. As a result, we hired a consultant to install an new Exchange 2013 environment based on the Microsoft, VM-Ware and NetApp best practices.
    We are still having problems with performance issues. From the client prospective, the performance has not changed, weekly hangs are still happening and I’m at my wits end.
    This is our configuration:
    2 Windows Server 2012 R2 CAS and DB
    VM with 4 vCpu, 16GB, 1 Vmxnet3, IPv6 disabled (the Microsoft way)
    VM Ware 5.1 U1
    Cluster without AAP
    DB1 active on Server 1 (Datacenter 1 with 3 host cluster)
    DB2 active on Server 2 (Datacenter 2 with 3 host cluster)
    Veeam 8 Backup (Move-ActiveMailboxDatabase DB2 -ActivateOnServer Server1 , backup server 2 then Move-ActiveMailboxDatabase back to
     Server2.
    Exchange is in Online-Mode due to Citrix XD VDI clients.
    1300 Mailboxes and 750 users.
    NetApp with SATA disks. (1.5TB E: Vol for DB1/1.5TB F: Vol for DB2)
    No archiving
    Unlimited mailbox sizes.
    The problems are:
    If we migrate a non-Exchange VM in the same cluster or to\from the same host, this results in a 30 second to 5 min Outlook outage;
    If we make both DB’s active on mail server 1 and reboot server 2, this results in a 30 second to 5 min Outlook outage;
    If we make both DB’s active on mail server 1 and do a Veeam backup of server 2, sometimes one of the DB’s go back to server 1, on its own;
    While monitoring we see that the w3wp.exe and the Microsoft.Exchange.Store.worker.exe are consuming most of the cpu and memory;
    What can I do to solve the outages?
    Tnx. Timotatty.
    Exchange server performance issues.
    Hi Forum,
    We are constantly faced with incidents from users that the connections are lost with the exchange server. As a result, we hired a consultant to install an new Exchange 2013 environment based on the Microsoft, VM-Ware and NetApp best practices.
    We are still having problems with performance issues. From the client prospective, the performance has not changed, weekly hangs are still happening and I’m at my wits end.
    This is our configuration:
    2 Windows Server 2012 R2 CAS and DB
    VM with 4 vCpu, 16GB, 1 Vmxnet3, IPv6 disabled (the Microsoft way)
    VM Ware 5.1 U1
    Cluster without AAP
    DB1 active on Server 1 (Datacenter 1 with 3 host cluster)
    DB2 active on Server 2 (Datacenter 2 with 3 host cluster)
    Veeam 8 Backup (Move-ActiveMailboxDatabase DB2 -ActivateOnServer Server1 , backup server 2 then Move-ActiveMailboxDatabase back to
     Server2.
    Exchange is in Online-Mode due to Citrix XD VDI clients.
    1300 Mailboxes and 750 users.
    NetApp with SATA disks. (1.5TB E: Vol for DB1/1.5TB F: Vol for DB2)
    No archiving
    Unlimited mailbox sizes.
    The problems are:
    If we migrate a non-Exchange VM in the same cluster or to\from the same host, this results in a 30 second to 5 min Outlook outage;
    If we make both DB’s active on mail server 1 and reboot server 2, this results in a 30 second to 5 min Outlook outage;
    If we make both DB’s active on mail server 1 and do a Veeam backup of server 2, sometimes one of the DB’s go back to server 1, on its own;
    While monitoring we see that the w3wp.exe and the Microsoft.Exchange.Store.worker.exe are consuming most of the cpu and memory;
    What can I do to solve the outages?
    Tnx. Timotatty.

    Hi Simon,<o:p></o:p>
    Apparently we are using basic authentication which result in a FailingCode=401 as seen in the Event Log under Active Monitoring --> Probe Results from ECP and others. This
    became apparent after reading this blog:
    http://blogs.technet.com/b/ehlro/archive/2014/02/20/exchange-2013-managed-availability-healthset-troubleshooting.aspx<o:p></o:p>
    We are now overriding some of the monitors which require Forms Based Authentication.<o:p></o:p>
    Regarding the other 2 issues we have changed the licensing model for Veeam 8 to allow full throughput which will reduce the backup time and add compression.
    The KEMP support team helped us by deselecting Use HTTP/1.1 under View/Modify Services --> ECP –> Modify --> Real Servers. This
    now only flags a service (ECP or ActiveSync or OWA) as being down instead of an etire server should one component fail.<o:p></o:p>
    I am satisfied but still not happy with the steps required to troubleshoot an Unhealthy Health Sets:<o:p></o:p>
    Invoke-MonitoringProbe always returns with: WARNING: Could not find assembly or object type associated with monitor identity '<Healthe Set >\< Probe >'. Please ensure
    that the given monitor identity exists on the server.
    This makes it very difficult to troubleshoot
    Unhealthy Health Sets.
    Regards,
    Timotatty

  • Excel 2013 can't open unexpected error 32809

    I have an Excel macro application written in Windows 7 Office 2007. The application works on 3 PC's recently one PC was upgraded to Office 2013 and the application running on Windows 8 when opening the file in Excel I have unexpected error 32809.
    Accessing the  VB Editor and debugging it tells me can't create cmbRecon (combobox). All the resources are there nothing missing I have spent days researching the internet and I'm frustrated as hell can't find a solution. Has anyone
    had a similar problem?

    Hi
    I suppose the problem is that your file is corrupt. After that (very bad) Microsoft Update in December 2014 any XLSM File you safe with an updated Excel Version becomes corrupt. We are also experiencing serious troubles with our XLSM files. The problem is
    neither your vba code nor the references or any like that.
    Til now I found only the following solution: I have two Excel 2010 machines and one 2013 machine working. On the 2010 machines I uninstalled the KB2553154 and replaced the new (but corrupt, that's what I think) MSForms.exd (size 226KB) with the old (but
    good) one (221KB). Files created in this environment are working fine.
    With the 2013 machine I first tried the same: Uninstalling the respective KB2726958 and replacing the MSForms.exd. Unfortunately this did not bring the desired result. So I reverted my office to an earlier version,  (http://support2.microsoft.com/kb/2770432/en-us)
    which was the November release 15.0.4667.1002. Now I faced the problem that the activeX controls did't work anymore. So I deleted the old MSForms.exd. Now things are working... til now. Ah, yes, and I disabled automatic updates ... well
    May be this information might  help u
    Yours truly, litobito

Maybe you are looking for

  • How to update one key recovery on a G580

    Hi guys, Does anybody know how to update the one key recovery to the current setup? If I allow it to make changes, will it update, or revert to the previous recovery point? Any help greatly appreciated, new to Lenovo, still not sure where I'm at with

  • Volume control error

    I have an iPod touch 4g, and lately the volume control has been dissapearing and then coming back randomly, and there is no audio when volume control is gone, Help??

  • Program will not even open after installation from Cloud

    I installed the new version of Acrobat only to have the old removed and the new will not open.

  • Azure DataSync between Azure DBs stuck at Processing; can't cancel/delete/change

    Title kind of says it all: I have two Azure DBs that I have kept synchronized for over a year and on 12/6 they suddenly stopped synchronizing and have been stuck in "Processing" ever since.  There is nothing in the logs after 12/6 so I cannot diagnos

  • Active input fields on ipad

    I have created an interactive PDF vir adobe creator with input fields:  How do we make it active when this document are opened in IPAD so that the user can type on the input fields