none
Exchange 2013 ECP and OWA error on Server 2012

    Question

  • I have searched everywhere and i can't find a solution.

    I have recientally done a migration of SBS 2003 to Windows Server 2012 w Exchange 2013

    It is a single server installation

    Everything went smoothly and the migration was successful. It is now 2 weeks later and i keep getting the following error when trying to access ECP

    Stack Trace:


    [SecurityAccessDeniedException: Access is denied.]
       System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +14489026
       System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +622
       Microsoft.Exchange.Data.Directory.TopologyDiscovery.ITopologyClient.GetServersForRole(String partitionFqdn, List`1 currentlyUsedServers, ADServerRole role, Int32 serversRequested) +0
       Microsoft.Exchange.Data.Directory.<>c__DisplayClass10.<InternalGetServersForRole>b__f(IPooledServiceProxy`1 proxy) +145
       Microsoft.Exchange.Net.ServiceProxyPool`1.TryCallServiceWithRetry(Action`1 action, String debugMessage, WCFConnectionStateTuple proxyToUse, Int32 numberOfRetries, Boolean doNotReturnProxyOnSuccess, Exception& exception) +255

    [ADTopologyUnexpectedException: Unexpected error when calling the Microsoft Exchange Active Directory Topology service on server 'TopologyClientTcpEndpoint (localhost)'. Error details: Access is denied..]
       Microsoft.Exchange.Data.Directory.ServiceTopologyProvider.GetConfigDCInfo(String partitionFqdn, Boolean throwOnFailure) +513
       Microsoft.Exchange.Data.Directory.TopologyProvider.PopulateConfigNamingContexts(String partitionFqdn) +88
       Microsoft.Exchange.Data.Directory.TopologyProvider.GetConfigurationNamingContext(String partitionFqdn) +86
       Microsoft.Exchange.Data.Directory.ADSession.GetConfigurationNamingContext(String partitionFqdn) +293
       Microsoft.Exchange.Data.Directory.ADDataSession.GetNamingContext(ADNamingContext adNamingContext) +640
       Microsoft.Exchange.Data.Directory.ADDataSession.GetConnection(String preferredServer, Boolean isWriteOperation, String optionalBaseDN, ADObjectId& rootId, ADScope scope) +678
       Microsoft.Exchange.Data.Directory.ADDataSession.GetReadConnection(String preferredServer, String optionalBaseDN, ADObjectId& rootId, ADRawEntry scopeDeteriminingObject, DualSearchMode dualSearchMode) +207
       Microsoft.Exchange.Data.Directory.ADDataSession.Find(ADObjectId rootId, String optionalBaseDN, ADObjectId readId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, CreateObjectDelegate objectCreator, CreateObjectsDelegate arrayCreator, Boolean includeDeletedObjects) +3287
       Microsoft.Exchange.Data.Directory.ADDataSession.Find(ADObjectId rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, Boolean includeDeletedObjects) +269
       Microsoft.Exchange.Data.Directory.SystemConfiguration.ADTopologyConfigurationSession.FindLocalServer() +213
       Microsoft.Exchange.Management.Security.Utility.GetVirtualDirectoryObject(Guid vDirObjectGuid, ITopologyConfigurationSession session, PropertyDefinition[] virtualDirectoryPropertyDefinitions) +307
       Microsoft.Exchange.Management.Security.AdfsFederationAuthModule.InitStaticVariables() +482
       Microsoft.Exchange.Management.Security.AdfsFederationAuthModule..ctor() +49

    [TargetInvocationException: Exception has been thrown by the target of an invocation.]
       System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
       System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +159
       System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +256
       System.Activator.CreateInstance(Type type, Boolean nonPublic) +127
       System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +14376269
       System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +200
       System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +28
       System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +83
       System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) +335
       System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) +1262
       System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +133
       System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304
       System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404
       System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475

    [HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12881540
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12722601

    I am also continually getting the following errors in Event Viewer:

    Log Name:      Application
    Source:        MSExchange ADAccess
    Date:          2013-01-31 11:00:22 AM
    Event ID:      4027
    Task Category: General
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      NTSERV-2012.cleanair.co.za
    Description:
    Process w3wp.exe (RemotePS) (PID=14072). WCF request (Get Servers for cleanair.co.za) to the Microsoft Exchange Active Directory Topology service on server (TopologyClientTcpEndpoint (localhost)) failed. Make sure that the service is running. In addition, make sure that the network ports that are used by Microsoft Exchange Active Directory Topology service are not blocked by a firewall. The WCF call was retried 1 time(s). Error Details 
     System.ServiceModel.Security.SecurityAccessDeniedException: Access is denied.

    Server stack trace: 
       at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.Exchange.Data.Directory.TopologyDiscovery.ITopologyClient.GetServersForRole(String partitionFqdn, List`1 currentlyUsedServers, ADServerRole role, Int32 serversRequested)
       at Microsoft.Exchange.Data.Directory.ServiceTopologyProvider.<>c__DisplayClass10.<InternalGetServersForRole>b__f(IPooledServiceProxy`1 proxy)
       at Microsoft.Exchange.Net.ServiceProxyPool`1.TryCallServiceWithRetry(Action`1 action, String debugMessage, WCFConnectionStateTuple proxyToUse, Int32 numberOfRetries, Boolean doNotReturnProxyOnSuccess, Exception& exception)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchange ADAccess" />
        <EventID Qualifiers="49156">4027</EventID>
        <Level>2</Level>
        <Task>1</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-31T09:00:22.000000000Z" />
        <EventRecordID>281983</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NTSERV-2012.cleanair.co.za</Computer>
        <Security />
      </System>
      <EventData>
        <Data>w3wp.exe (RemotePS)</Data>
        <Data>14072</Data>
        <Data>Get Servers for cleanair.co.za</Data>
        <Data>TopologyClientTcpEndpoint (localhost)</Data>
        <Data>1</Data>
        <Data>System.ServiceModel.Security.SecurityAccessDeniedException: Access is denied.

    Server stack trace: 
       at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc&amp; rpc)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
       at Microsoft.Exchange.Data.Directory.TopologyDiscovery.ITopologyClient.GetServersForRole(String partitionFqdn, List`1 currentlyUsedServers, ADServerRole role, Int32 serversRequested)
       at Microsoft.Exchange.Data.Directory.ServiceTopologyProvider.&lt;&gt;c__DisplayClass10.&lt;InternalGetServersForRole&gt;b__f(IPooledServiceProxy`1 proxy)
       at Microsoft.Exchange.Net.ServiceProxyPool`1.TryCallServiceWithRetry(Action`1 action, String debugMessage, WCFConnectionStateTuple proxyToUse, Int32 numberOfRetries, Boolean doNotReturnProxyOnSuccess, Exception&amp; exception)</Data>
      </EventData>
    </Event>

    Log Name:      Application
    Source:        MsExchange BackEndRehydration
    Date:          2013-01-31 11:00:28 AM
    Event ID:      3002
    Task Category: Requests
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      NTSERV-2012.cleanair.co.za
    Description:
    Protocol /owa failed to process request from identity NT AUTHORITY\SYSTEM. Exception: Microsoft.Exchange.Data.Directory.ADTopologyUnexpectedException: Unexpected error when calling the Microsoft Exchange Active Directory Topology service on server 'TopologyClientTcpEndpoint (localhost)'. Error details: Access is denied.. ---> System.ServiceModel.Security.SecurityAccessDeniedException: Access is denied.

    Server stack trace: 
       at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.Exchange.Data.Directory.TopologyDiscovery.ITopologyClient.GetServersForRole(String partitionFqdn, List`1 currentlyUsedServers, ADServerRole role, Int32 serversRequested)
       at Microsoft.Exchange.Data.Directory.ServiceTopologyProvider.<>c__DisplayClass10.<InternalGetServersForRole>b__f(IPooledServiceProxy`1 proxy)
       at Microsoft.Exchange.Net.ServiceProxyPool`1.TryCallServiceWithRetry(Action`1 action, String debugMessage, WCFConnectionStateTuple proxyToUse, Int32 numberOfRetries, Boolean doNotReturnProxyOnSuccess, Exception& exception)
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Data.Directory.ServiceTopologyProvider.GetConfigDCInfo(String partitionFqdn, Boolean throwOnFailure)
       at Microsoft.Exchange.Data.Directory.TopologyProvider.PopulateConfigNamingContexts(String partitionFqdn)
       at Microsoft.Exchange.Data.Directory.TopologyProvider.GetConfigurationNamingContext(String partitionFqdn)
       at Microsoft.Exchange.Data.Directory.ADSession.GetConfigurationNamingContext(String partitionFqdn)
       at Microsoft.Exchange.Data.Directory.ADDataSession.GetNamingContext(ADNamingContext adNamingContext)
       at Microsoft.Exchange.Data.Directory.ADDataSession.GetConnection(String preferredServer, Boolean isWriteOperation, String optionalBaseDN, ADObjectId& rootId, ADScope scope)
       at Microsoft.Exchange.Data.Directory.ADDataSession.GetReadConnection(String preferredServer, String optionalBaseDN, ADObjectId& rootId, ADRawEntry scopeDeteriminingObject, DualSearchMode dualSearchMode)
       at Microsoft.Exchange.Data.Directory.ADDataSession.Find(ADObjectId rootId, String optionalBaseDN, ADObjectId readId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, CreateObjectDelegate objectCreator, CreateObjectsDelegate arrayCreator, Boolean includeDeletedObjects)
       at Microsoft.Exchange.Data.Directory.ADDataSession.Find[TResult](ADObjectId rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, Boolean includeDeletedObjects)
       at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADTopologyConfigurationSession.FindLocalServer()
       at Microsoft.Exchange.Data.Directory.SystemConfiguration.LocalServer.GetServer()
       at Microsoft.Exchange.Security.Authentication.BackendRehydrationModule.IsTokenSerializationAllowed(WindowsIdentity windowsIdentity)
       at Microsoft.Exchange.Security.Authentication.BackendRehydrationModule.ProcessRequest(HttpContext httpContext)
       at Microsoft.Exchange.Security.Authentication.BackendRehydrationModule.OnAuthenticateRequest(Object source, EventArgs args).
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MsExchange BackEndRehydration" />
        <EventID Qualifiers="49156">3002</EventID>
        <Level>2</Level>
        <Task>1</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-01-31T09:00:28.000000000Z" />
        <EventRecordID>281991</EventRecordID>
        <Channel>Application</Channel>
        <Computer>NTSERV-2012.cleanair.co.za</Computer>
        <Security />
      </System>
      <EventData>
        <Data>/owa</Data>
        <Data>NT AUTHORITY\SYSTEM</Data>
        <Data>Microsoft.Exchange.Data.Directory.ADTopologyUnexpectedException: Unexpected error when calling the Microsoft Exchange Active Directory Topology service on server 'TopologyClientTcpEndpoint (localhost)'. Error details: Access is denied.. ---&gt; System.ServiceModel.Security.SecurityAccessDeniedException: Access is denied.

    Server stack trace: 
       at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc&amp; rpc)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
       at Microsoft.Exchange.Data.Directory.TopologyDiscovery.ITopologyClient.GetServersForRole(String partitionFqdn, List`1 currentlyUsedServers, ADServerRole role, Int32 serversRequested)
       at Microsoft.Exchange.Data.Directory.ServiceTopologyProvider.&lt;&gt;c__DisplayClass10.&lt;InternalGetServersForRole&gt;b__f(IPooledServiceProxy`1 proxy)
       at Microsoft.Exchange.Net.ServiceProxyPool`1.TryCallServiceWithRetry(Action`1 action, String debugMessage, WCFConnectionStateTuple proxyToUse, Int32 numberOfRetries, Boolean doNotReturnProxyOnSuccess, Exception&amp; exception)
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Data.Directory.ServiceTopologyProvider.GetConfigDCInfo(String partitionFqdn, Boolean throwOnFailure)
       at Microsoft.Exchange.Data.Directory.TopologyProvider.PopulateConfigNamingContexts(String partitionFqdn)
       at Microsoft.Exchange.Data.Directory.TopologyProvider.GetConfigurationNamingContext(String partitionFqdn)
       at Microsoft.Exchange.Data.Directory.ADSession.GetConfigurationNamingContext(String partitionFqdn)
       at Microsoft.Exchange.Data.Directory.ADDataSession.GetNamingContext(ADNamingContext adNamingContext)
       at Microsoft.Exchange.Data.Directory.ADDataSession.GetConnection(String preferredServer, Boolean isWriteOperation, String optionalBaseDN, ADObjectId&amp; rootId, ADScope scope)
       at Microsoft.Exchange.Data.Directory.ADDataSession.GetReadConnection(String preferredServer, String optionalBaseDN, ADObjectId&amp; rootId, ADRawEntry scopeDeteriminingObject, DualSearchMode dualSearchMode)
       at Microsoft.Exchange.Data.Directory.ADDataSession.Find(ADObjectId rootId, String optionalBaseDN, ADObjectId readId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, CreateObjectDelegate objectCreator, CreateObjectsDelegate arrayCreator, Boolean includeDeletedObjects)
       at Microsoft.Exchange.Data.Directory.ADDataSession.Find[TResult](ADObjectId rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, Boolean includeDeletedObjects)
       at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADTopologyConfigurationSession.FindLocalServer()
       at Microsoft.Exchange.Data.Directory.SystemConfiguration.LocalServer.GetServer()
       at Microsoft.Exchange.Security.Authentication.BackendRehydrationModule.IsTokenSerializationAllowed(WindowsIdentity windowsIdentity)
       at Microsoft.Exchange.Security.Authentication.BackendRehydrationModule.ProcessRequest(HttpContext httpContext)
       at Microsoft.Exchange.Security.Authentication.BackendRehydrationModule.OnAuthenticateRequest(Object source, EventArgs args)</Data>
      </EventData>
    </Event>

    Any Idea's or a direction to point me in?

    Thank You

    Tom

    Thursday, January 31, 2013 9:03 AM

All replies

  • Hi tnorth,

    Do you have single ADDS server or any more? Does your DNS (used by this server) function properly?

    At first glimpse it looks like your ECP/Exchange lost ADDS from the environment.

    1. Make sure all the services marked to "Start type : Automatic" are started.

    2. Try to restart netlogon service: "PS:> Restart-Service netlogon"

    2. Make sure "cleanair.co.za" and "NTSERV-2012.cleanair.co.za" names are successfully resolvable.


    ▲ Vote if Helpful :) | MaximumExchange.ru

    Thursday, January 31, 2013 1:34 PM
  • Hello Thank you for the reply

    This is the only ADDS server.

    I have checked all the services and after a restart the services all come up and are running

    The DNS names resolve to the server (NTSERV-2012.cleanair.co.za resolves to the IPV6 address) and cleanair.co.za resolve correctly to the IP of the Hosting server (NTSERV-2012)

    Thursday, January 31, 2013 7:24 PM
  • Hello tnorth,

    Are you install DC and Exchange Server on the same server?

    What is dcdiag and netdiag test result?

    Thanks,

    Evan Liu

    TechNet Subscriber Support in forum

    If you have any feedback on our support, please contact tnmff@microsoft.com


    Evan Liu
    TechNet Community Support

    Friday, February 01, 2013 8:13 AM
  • What does your

    Get-WebServicesVirtualDirectory | fl

    say?

    Meanwhile - Placing the ADDS and Exchange Server in one Windows Server installation is highly unrecommended, and may involve numerous errors as you can see.


    ▲ Vote if Helpful :) | MaximumExchange.ru

    Friday, February 01, 2013 1:49 PM
  • The reply i get is:


    Domain Controller Diagnosis

    Performing initial setup:
       Done gathering initial info.

    Doing initial required tests
       
       Testing server: Default-First-Site-Name\NTSERV-2012
          Starting test: Connectivity
             ......................... NTSERV-2012 passed test Connectivity

    Doing primary tests
       
       Testing server: Default-First-Site-Name\NTSERV-2012
          Starting test: Replications
             ......................... NTSERV-2012 passed test Replications
          Starting test: NCSecDesc
             ......................... NTSERV-2012 passed test NCSecDesc
          Starting test: NetLogons
             ......................... NTSERV-2012 passed test NetLogons
          Starting test: Advertising
             ......................... NTSERV-2012 passed test Advertising
          Starting test: KnowsOfRoleHolders
             ......................... NTSERV-2012 passed test KnowsOfRoleHolders
          Starting test: RidManager
             ......................... NTSERV-2012 passed test RidManager
          Starting test: MachineAccount
             ......................... NTSERV-2012 passed test MachineAccount
          Starting test: Services
             ......................... NTSERV-2012 passed test Services
          Starting test: ObjectsReplicated
             ......................... NTSERV-2012 passed test ObjectsReplicated
          Starting test: frssysvol
             ......................... NTSERV-2012 passed test frssysvol
          Starting test: frsevent
             ......................... NTSERV-2012 passed test frsevent
          Starting test: kccevent
             ......................... NTSERV-2012 passed test kccevent
          Starting test: systemlog
             ......................... NTSERV-2012 passed test systemlog
          Starting test: VerifyReferences
             ......................... NTSERV-2012 passed test VerifyReferences
       
       Running partition tests on : DomainDnsZones
          Starting test: CrossRefValidation
             ......................... DomainDnsZones passed test CrossRefValidation
          Starting test: CheckSDRefDom
             ......................... DomainDnsZones passed test CheckSDRefDom
       
       Running partition tests on : ForestDnsZones
          Starting test: CrossRefValidation
             ......................... ForestDnsZones passed test CrossRefValidation
          Starting test: CheckSDRefDom
             ......................... ForestDnsZones passed test CheckSDRefDom
       
       Running partition tests on : Schema
          Starting test: CrossRefValidation
             ......................... Schema passed test CrossRefValidation
          Starting test: CheckSDRefDom
             ......................... Schema passed test CheckSDRefDom
       
       Running partition tests on : Configuration
          Starting test: CrossRefValidation
             ......................... Configuration passed test CrossRefValidation
          Starting test: CheckSDRefDom
             ......................... Configuration passed test CheckSDRefDom
       
       Running partition tests on : cleanair
          Starting test: CrossRefValidation
             ......................... cleanair passed test CrossRefValidation
          Starting test: CheckSDRefDom
             ......................... cleanair passed test CheckSDRefDom
       
       Running enterprise tests on : cleanair.co.za
          Starting test: Intersite
             ......................... cleanair.co.za passed test Intersite
          Starting test: FsmoCheck
             ......................... cleanair.co.za passed test FsmoCheck

    There is no netdiag in Windows server 2012 is there another tool you would suggest?

    Friday, February 01, 2013 2:02 PM
  • If I enter 

    Get-WebServicesVirtualDirectory | fl

    It errors out in PS:

    Get-WebServicesVirtualDirectory : The term 'Get-WebServicesVirtualDirectory' is not recognized as the name of a
    cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify
    that the path is correct and try again.
    At line:1 char:1
    + Get-WebServicesVirtualDirectory | fl
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (Get-WebServicesVirtualDirectory:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException

    Friday, February 01, 2013 2:06 PM
  • Hah! This might be when you have not enough permissions to run the cmdlet.

    Use Domain Admins account, the e.g. Administrator.

    (RightClick Exchange Management Shell shortcut + "Run As Administrator" might help)


    ▲ Vote if Helpful :) | MaximumExchange.ru


    • Edited by MaxMCSE Friday, February 01, 2013 4:16 PM
    Friday, February 01, 2013 4:14 PM
  • Thank you so much for your reply.

    I tried as per your sugestion with no change at all.

    Regards

    Tom

    Friday, February 01, 2013 6:50 PM
  • To successfully run Get-WebServicesVirtualDirectory you have to:

    • have all MSExchange services started,
    • use Exchange Management Shell as Administrator (verify it successfully connects to you Exchange Server, without red error lines) to run the cmdlets.

    You can also try to fix it by opening a command prompt and browsing to the following directory:

    "C:\Windows\Microsoft.NET\Framework\v4.5\Windows Communication Foundation"

    then run the command:

    ServiceModelReg.exe –r

    Are you able to open Exchange Admin Center?

    Your Administrator account must be listed among "Organization Management" and "Server Management"

    Get-RoleGroupMember "Organization Management"
    Get-RoleGroupMember "Server Management"

    ▲ Vote if Helpful / Propose if Answer


    • Edited by MaxMCSE Saturday, February 02, 2013 5:32 PM
    Saturday, February 02, 2013 5:11 PM
  • Thank you for your help in this MaxMVP,

    Sorry about the delay in reply but my reply yesterday seems to have not been posted.

    The biggest problem I have here is that I do not have any diagnostic access to the exchange environment.

    I cannot use Exchange management shell, ECP or OWA they all give me errors. This is what started me on a hunt for a solution.

    See screen copy below.

             Welcome to the Exchange Management Shell!

    Full list of cmdlets: Get-Command

    Only Exchange cmdlets: Get-ExCommand

    Cmdlets that match a specific string: Help *<string>*

    Get general help: Help

    Get help for a cmdlet: Help <cmdlet name> or <cmdlet name> -?

    Show quick reference guide: QuickRef

    Exchange team blog: Get-ExBlog

    Show full output for a command: <command> | Format-List

    Tip of the day #70:

    Exchange 2013 uses management role groups and management role assignment policies to manage permissions.

    Role groups enable you to grant permissions to groups of administrators and specialist end users. These are people who manage your organization or perform special tasks, like mailbox searches for compliance reasons.

    Role assignment policies enable you to grant permissions to your end users. These permissions include whether users can manage their own distribution groups, edit their own profile information, access voice mail, and more.

    VERBOSE: Connecting to NTSERV-2012.cleanair.co.za.

    New-PSSession : [ntserv-2012.cleanair.co.za] Connecting to remote server ntserv-2012.cleanair.co.za failed with the following error message : The process failed to read the Exchange topology in the allotted time. 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], PSRemotingTransportException

        + FullyQualifiedErrorId : -2144108477,PSSessionOpenFailed

    VERBOSE: Connecting to NTSERV-2012.cleanair.co.za.

    New-PSSession : [ntserv-2012.cleanair.co.za] Connecting to remote server ntserv-2012.cleanair.co.za failed with the following error message : The process failed to read the Exchange topology in the allotted time. 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], PSRemotingTransportException

        + FullyQualifiedErrorId : -2144108477,PSSessionOpenFailed

    VERBOSE: Connecting to NTSERV-2012.cleanair.co.za.

    New-PSSession : [ntserv-2012.cleanair.co.za] Connecting to remote server ntserv-2012.cleanair.co.za failed with the following error message : The process failed to read the Exchange topology in the allotted time. 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], PSRemotingTransportException

        + FullyQualifiedErrorId : -2144108477,PSSessionOpenFailed

    VERBOSE: Connecting to NTSERV-2012.cleanair.co.za.

    New-PSSession : [ntserv-2012.cleanair.co.za] Connecting to remote server ntserv-2012.cleanair.co.za failed with the following error message : The process failed to read the Exchange topology in the allotted time. 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 : -2144108477,PSSessionOpenFailed

    VERBOSE: Connecting to NTSERV-2012.cleanair.co.za.

    New-PSSession : [ntserv-2012.cleanair.co.za] Connecting to remote server ntserv-2012.cleanair.co.za failed with the following error message : The process failed to read the Exchange topology in the allotted time. 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 : -2144108477,PSSessionOpenFailed

    Failed to connect to an Exchange server in the current site.

    Enter the server FQDN where you want to connect.:

    Regards

    Tom

    Tuesday, February 05, 2013 3:28 AM
  • I have given up on trying to make the original server work.

    I have installed Hyper V and configured a new windows server 2012 vm, Exchange is installed and all the pages are viewable.

    The question i have now is how do i convert/migrate the existing data and mail boxes to this new VM. I can't seem to find any resources on the net?

    Thanks

    Tom

    Wednesday, February 06, 2013 10:15 AM
  • If you have installed a new Exchange server in the same organization - what stops you from moving all the mailboxes from the old malfunctioning server to the new good one?

    As far as mailboxes are moved to a new MB server - users might freely start using the new CAS to access their email.


    ▲ Vote if Helpful / Mark if Answer

    Thursday, February 28, 2013 1:13 PM
  • In my case problem was easy: disabled ipv6 in network adapter.

    Luke

    Wednesday, March 06, 2013 12:48 PM
  • Looks like a similar problem found here http://www.vincenzosciarra.tk

    Basically you have to check if Ipv6 is enabled on your machine. If not enable it.

    If this doesn't solve your problem, you have to try to re-prepare your domain with the following commands from the Exchange 2013 binary root:

    setup /ps  /IAcceptExchangeServerLicenseTerms
    
    setup /PrepareAD /on:<OrganizationName>  /IAcceptExchangeServerLicenseTerms



    --- Vincenzo Sciarra http://www.vincenzosciarra.tk

    Wednesday, March 06, 2013 2:26 PM