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!!

September 8th, 2014 3:20pm

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

September 8th, 2014 4:20pm

Are you load balancing with NLB?
Free Windows Admin Tool Kit Click here and download it now
September 8th, 2014 4:52pm

I had only one server running Exchange when this happened. I only have about 50 users. And I've got the second server is off-line right now.
September 8th, 2014 4:55pm

Fair enough, that happened to me a few weeks back when I NLB'd two CAS servers...http://blog.ryanbetts.co.uk/2014/08/exchange-2013-sp1-client-access-servers_21.html obviously not relevant in this instance.
Free Windows Admin Tool Kit Click here and download it now
September 8th, 2014 5:00pm

Well, I appreciate you trying!
September 8th, 2014 5:04pm

Event viewer is reporting anything else related with Exchange?

Can you access OWA/PF?

Free Windows Admin Tool Kit Click here and download it now
September 8th, 2014 5:48pm

I get some random 106, MSExchange Common errors around Performance Counters. Supposedly, lodctr /r is used to fix that, but apparently it hasn't in this case.

The thing abut the error 4 also is, it occurs the instant you see the 500 error. You get the logon fields on the page, you fill them in, IE thinks about it for a moment and then you get the 500 and event ID 4.

September 8th, 2014 5:52pm

Did you try to restart IIS?

Please use this commands to see if anything strange is reported.

Test-outlookwebservices

and also

Test-EcpConnectivity -ClientAccessServer Server01 or Test-EcpConnectivity

Free Windows Admin Tool Kit Click here and download it now
September 8th, 2014 6:17pm

Test-outlookwebservices said it was ok except the Offline Address Book had been moved to the temporary server and it's offline, so that failed.

Test-ecpconnectivity failed across the board:

CasServer  LocalSite     Scenario        Result  Latency(MS) Error
---------  ---------     --------        ------  ----------- -----
Ex13       RTP           Sign in         Failure             The server didn't ret...
Ex13       RTP           Sign in         Failure             The server didn't ret...
Ex13       RTP           Sign in         Failure             The server didn't ret...
Ex13       RTP           Sign in         Failure             The server didn't ret...

So I brought the temp server up and NOW I'm getting the 500 error on it as well. It's not generating the Event ID 4 on either machine. OWA still works on both machines.

September 8th, 2014 6:37pm

Ran the ecp test again with |fl.

Got 4 of these:

RunspaceId                  : 3708ea57-c754-4d60-ad4b-30ecc3301c3a
LocalSite                       : RTP
SecureAccess                : True
VirtualDirectoryName    : ecp (Default Web Site)
Url                                 : https://ex13.unitedwaytriangle.org/ecp/
UrlType                         : Internal
Port                              : 0
ConnectionType            : Plaintext
ClientAccessServerShortName : Ex13
LocalSiteShortName      : RTP
ClientAccessServer        : Ex13.unitedwaytriangle.org
Scenario                        : Sign in
ScenarioDescription       : Sign in to Exchange Control Panel and verify the response page.
PerformanceCounterName      : Logon Latency
Result                            : Failure
Error                            : The server didn't return a user context cookie.
UserName                   : extest_8f9ddf2f83dc4
StartTime                    : 9/8/2014 2:43:04 PM
Latency                       : -00:00:00.0010000
EventType                   : Error
LatencyInMillisecondsString :
Identity                        :
IsValid                          : True
ObjectState                  : New

Server didn't return a cookie. What generates the cookie for EAC?

Free Windows Admin Tool Kit Click here and download it now
September 8th, 2014 6:50pm

And by the way can you insert here the performance event that you are receiving?

The 106.

September 8th, 2014 7:01pm

Performance counter updating error. Counter name is Per-User KeyToRemoveBudgets Cache Size, category name is MSExchangeRemotePowershell. 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.get_RawValue()
   at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.set_RawValue(Int64 value)
Last worker process info : System.ArgumentException: Process with an Id of 4104 is not running.
   at System.Diagnostics.Process.GetProcessById(Int32 processId)
   at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetLastWorkerProcessInfo()
...
Performance Counters Layout information: FileMappingNotFoundException for category MSExchangeRemotePowershell : Microsoft.Exchange.Diagnostics.FileMappingNotFoundException: Cound not open File mapping for name Global\netfxcustomperfcounters.1.0msexchangeremotepowershell. Error Details: 2
   at Microsoft.Exchange.Diagnostics.FileMapping..ctor(String name, Boolean writable)
   at Microsoft.Exchange.Diagnostics.PerformanceCounterMemoryMappedFile.Initialize(String fileMappingName, Boolean writable)
   at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetAllInstancesLayout(String categoryName)

  • Edited by Jmiker Monday, September 08, 2014 7:38 PM
Free Windows Admin Tool Kit Click here and download it now
September 8th, 2014 7:03pm

Did report Event Id 1001?

Microsoft advise to install the update SP2 RollUp 2:

This the KB->http://support.microsoft.com/kb/2652730/en-us

Here the Update->http://support.microsoft.com/kb/2661854/en

For errors related with ECPConnectivity. "Error: The server didn't return a user context cookie."

If this doesnt solve the issue you have to check DNS.

Let us Know.

David

September 8th, 2014 7:06pm

Yes I know, after a second check I deleted the info.

But your events are reporting latency issues, can you check that all services are running, RPC, CAS, 

Free Windows Admin Tool Kit Click here and download it now
September 8th, 2014 7:28pm

All the Automatic processes are running. Email is flowing. The latency is only 0.001 seconds, and I'd think that would be due to the cookie/logon failure.

But what do you think about the duplicate column name in the initial Event ID 4 error? To me that seems like the core of the entire problem.

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)

How would you diagnose that? And bear in mind, I'm a network and sysadmin, NOT a programmer.

September 8th, 2014 7:42pm

That can also be related with the token like you mention.

When I pointed out the link to a similar solution, and you said that you already have done that are you meaning the following steps:

  • Open ADSIEDIT.msc
  • go to CN=Services > CN=Microsoft Exchange > CN=<Your Site Name>
  • right click CN=your Client Access Server(s) with CU6 or CN=your multi-role server(s) with CU6 and open properties
  • scroll down until you find msExchCanaryData0, msExchCanaryData1, msExchCanaryData2 and dont forget the subfolders, there are also canary values stored
  • Copy all of these values to a text file with their attribute names and paths.
  • Once copied and saved, erase all these values
  • Logon on the CAS server(s) or multi-role server
  • Open IIS management
  • Go to the application pools
  • Right click on MSExchangeOWAAppPool and click on recycle
  • Note: during a recycle the established sessions will be lost, but in this case no worries.
  • Cmd: appcmd recycle apppool /apppool.name: MSExchangeOWAAppPool
  • If single role exchange architecture, reboot all mailbox servers with CU6 deployed
  • If multi-role, just reboot the server and skip recycling.

Can you re-check?

Free Windows Admin Tool Kit Click here and download it now
September 8th, 2014 8:08pm

That's exactly what I did - but I am certainly not opposed to trying it again. And I just uninstalled Exchange from the temp VM, since it was now giving me the 500 error also.
September 8th, 2014 9:06pm

Hello,

Please check the IIS log and let us know the detailed number after the 500.

Thanks,

If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

Free Windows Admin Tool Kit Click here and download it now
September 9th, 2014 5:25am

I don't see any reference at all to the 500 transaction in either of the IIS logs. I closed IE, launched it, logged into ECP, immediately got the 500 error and opened each of the last logfiles in the two folders (W3SVC1, W3SVC2) and there are no references to the 500.

What should I expect to see?

September 9th, 2014 12:58pm

Can you try to clean your browser cookies and history.

Did you re-check the steps with no luck?

Free Windows Admin Tool Kit Click here and download it now
September 9th, 2014 2:31pm

Jesus, I don't know what Technet just did to my profile but I had to create a new one. Now this thread isn't even mine.

Sorry. Yes, I did that last night and was replying to your about 11pm and never finished it.

I did also empty the cache and ran a cleaner utility on all the temp folder locations.

This, as convoluted as it's gotten to be, HAS to revolve around the crash during the certificate export by the hybrid configuration wizard. That's when I first started seeing the Event ID 4 and Event ID 32869, which is something about a missing private key. I've texted the consultant that installed the cert, just a few weeks ago, and am waiting to hear what he thinks.
September 9th, 2014 3:06pm

Well, I'm still logged in here in IE. But I can't figure out what email I've used and the Edit Profile doesn't show me??
Free Windows Admin Tool Kit Click here and download it now
September 9th, 2014 3:23pm

Hello,

Did you remove the ECP VD on the Front End or Back End?

Try doing the recreation again on both the Front End or Back End, then restart the IIS service and see if the issue persists.

Thanks,

Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

September 10th, 2014 1:34am

I've recreated the virtual directory on both ends multiple times.
Free Windows Admin Tool Kit Click here and download it now
September 10th, 2014 12:19pm

And after that you continue with same 500 Error?

Or something new coming up?

September 10th, 2014 4:29pm

Same error. My boss doesn't know it, but I'm going to build a new system and move the database over. We just wanted to have the hybrid organization set up by this weekend because our busy season kicks off next week.
Free Windows Admin Tool Kit Click here and download it now
September 10th, 2014 5:06pm

Hello Jmiker919,

Its quite strange that the IIS log even do not record the internal 500 error message.

If you still have questions when or after moving to the new system, you are welcome to ask them here and we are glad to be of assistance.

Thanks,

Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

 

September 17th, 2014 1:54am

We wound up opening a ticket with MS. Took them a few days and it got bumped up the chain a few levels. Even they're not sure what it was but they wound up replacing a lot of files in the ECP folder, including the entire DDI folder.

So I would have had absolutely no chance of figuring this out, I would have wound up rebuilding the server, going through the pain and expense of another SSL cert, the whole bit.

But thank you, and especially you, David, for all your input and suggestions!!

Mike

Free Windows Admin Tool Kit Click here and download it now
September 17th, 2014 2:08pm

You are Welcome Mike.

I just wanted to apologize for not helping further.

  

September 17th, 2014 4:46pm

Please, I appreciate what you did offer. There's no way anyone could have resolved this one, especially considering how close it came to stumping the MS engineers!
Free Windows Admin Tool Kit Click here and download it now
September 17th, 2014 4:55pm

Hi,

I have windows 2012 with exchange 2013.. We are getting the same error.

I am unable to find CN=Services under ADSIEDIT.msc..

Please help

December 18th, 2014 11:43am

I was having the same problem, and tried all the previous fixes, with no results. The hint that allowed me to fix this was in what Microsoft Support did - particularly the reference to the DDI folder. In there, I found only one file that had been modified since the install of the last rollup, RemoteDomains.xaml. With nothing to lose, I opened this file and, combined with the event log that says the TargetDeliveryDomain column already exists, it was pretty obvious:

<Variable DataObjectName="RemoteDomain" Name="DomainName" Type="{x:Type s:String}" />    <Variable DataObjectName="RemoteDomain" Name="TargetDeliveryDomain" Type="{x:Type s:Boolean}" />

Notice there's a few missing carriage returns - and also TWO declarations for TargetDeliveryDomain, exactly what the Event Log shows. I made a copy of the file, and then fixed the formatting and took out the extra TargetDeliveryDomain and then saved it. Restarted IIS (actually, just recycled the ECP and OWA application pools) and I was able to get back in to EAC with no problems.

 Hopefully this can help someone.

                --Randy

Free Windows Admin Tool Kit Click here and download it now
March 17th, 2015 7:11pm

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

Other recent topics Other recent topics