none
MS ExchangeRPC will not start RRS feed

  • Question

  • I have currently have exchange 2007 sp3 running on a domain controller with SBS2007 on it and I have installed exchange 2010 sp3 on windows server 2012 R2 which is connected to the domain and MSExchangeRPC will not start. If i check the event viewer i get the error message Event 1013 MSExchangeRPC The configuration can't be loaded and the service can't start.

    Any help greatly appreciated

    Thanks Andy
    Thursday, June 6, 2019 10:13 AM

Answers

  • Hi Lydia

    I added the arrays container in adsi edit and i also noticed i had a '/' at the end of  the internal url on the owa default website properties and took that off and when i went into services and checked MSExhchangeRPC it was running.

    Thanks for your help

    Regards

    Andy


    Andy

    Thursday, July 18, 2019 10:05 AM

All replies

  • When citing an entry in the event logs, please post the entire event log entry.  You are welcome to use the handy-dandy "copy to clipboard" button in the event log detail window to assist you with this.



    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    Celebrating 20 years of providing Exchange peer support!


    Thursday, June 6, 2019 5:50 PM
  • Hi,

    Did you try to run the Microsoft Exchange RPC Client Access service manually from Services tool?

    Please provide more details about the Event 1013 error log, so that we can give more appropriate suggestions, and don't forget to cover your personal information.

    Additionally, Exchange 2007 is not supported any more, and Exchange Server 2010 will reach end of support on January 14, 2020. After this issue is solved, we suggest to migrate to Office 365 or Exchange 2016 for better services. For reference: Exchange 2010 End of Support Is Coming

    Regards,

    Lydia Zhou


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Friday, June 7, 2019 7:31 AM
    Moderator
  • Thanks for replying

    This is all i get in the event viewer

    Log Name:      Application
    Source:        MSExchangeRPC
    Date:          6/7/2019 10:25:42 AM
    Event ID:      1013
    Task Category: General
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      ExchangeServer.delta.office
    Description:
    The configuration can't be loaded and the service can't start. Error details: 
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchangeRPC" />
        <EventID Qualifiers="49156">1013</EventID>
        <Level>2</Level>
        <Task>1</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2019-06-07T09:25:42.000000000Z" />
        <EventRecordID>253534</EventRecordID>
        <Channel>Application</Channel>
        <Computer>ExchangeServer.delta.office</Computer>
        <Security />
      </System>
      <EventData>
        <Data>
        </Data>
      </EventData>
    </Event>

    Thanks

    Andy


    Friday, June 7, 2019 9:33 AM
  • Hi

    Thanks for replying

    This is all i get in the event viewer

    Log Name:      Application
    Source:        MSExchangeRPC
    Date:          6/7/2019 10:25:42 AM
    Event ID:      1013
    Task Category: General
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      ExchangeServer.delta.office
    Description:
    The configuration can't be loaded and the service can't start. Error details: 
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchangeRPC" />
        <EventID Qualifiers="49156">1013</EventID>
        <Level>2</Level>
        <Task>1</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2019-06-07T09:25:42.000000000Z" />
        <EventRecordID>253534</EventRecordID>
        <Channel>Application</Channel>
        <Computer>ExchangeServer.delta.office</Computer>
        <Security />
      </System>
      <EventData>
        <Data>
        </Data>
      </EventData>
    </Event>

    Regards

    Andy

    Friday, June 7, 2019 9:34 AM
  • Hi Andy,

    Do you get any other event IDs from Application logs?

    Does MSExchangeRPC service works on Exchange 2007?

    If you cannot start MSExchangeRPC service manually, please check and make sure Microsoft Exchange Active Directory Topology service is running well. 

    Regards,

    Lydia Zhou


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Monday, June 10, 2019 8:50 AM
    Moderator
  • Hi Lydia

    I get the following warning

    Log Name:      Application

    Source:        MSExchange ADAccess
    Date:          6/10/2019 9:36:36 AM
    Event ID:      2159
    Task Category: Validation
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      ExchangeServer.delta.office
    Description:
    Process Microsoft.Exchange.Search.ExSearch.exe (PID=6248). Configuration object CN=EXCHANGESERVER,CN=Mailbox Database 1966750766,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Delta Business Solutions,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=delta,DC=office read from APPSSVR2.delta.office failed validation and will be excluded from the result set.  Set event logging level for Validation category to Expert to get additional events about each failure.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchange ADAccess" />
        <EventID Qualifiers="32772">2159</EventID>
        <Level>3</Level>
        <Task>6</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2019-06-10T08:36:36.000000000Z" />
        <EventRecordID>256558</EventRecordID>
        <Channel>Application</Channel>
        <Computer>ExchangeServer.delta.office</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Microsoft.Exchange.Search.ExSearch.exe</Data>
        <Data>6248</Data>
        <Data>CN=EXCHANGESERVER,CN=Mailbox Database 1966750766,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Delta Business Solutions,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=delta,DC=office</Data>
        <Data>APPSSVR2.delta.office</Data>
      </EventData>
    </Event>

     

    If I look at the services on the machine running exchange 2007 MSExchangeRPC does not exist

    Microsoft Exchange Active directory Topology is running but i get the above warning.

    Regards

    Andy

    Monday, June 10, 2019 10:03 AM
  • Look at the object in that message using ADSI Edit:

    CN=EXCHANGESERVER,CN=Mailbox Database 1966750766,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Delta Business Solutions,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=delta,DC=office

    What are the objectCategory and objectClass attribute values?

    It looks to me as if something got moved.


    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    Celebrating 20 years of providing Exchange peer support!

    Monday, June 10, 2019 3:42 PM
  • Hi Ed

    Thanks for replying

    In the object category i have CN=ms-Exch-MDB-Copy,CN=Schema,CN=Configuration,DC=delta,DC=office

    In the Object Class i have top;msExchMDBCopy

    I changed the validation logging level to expert and got this message but not sure what it means

    Log Name:      Application
    Source:        MSExchange ADAccess
    Date:          6/10/2019 12:49:41 PM
    Event ID:      2161
    Task Category: Validation
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      ExchangeServer.delta.office
    Description:
    Process Microsoft.Exchange.Search.ExSearch.exe (PID=6248). Object CN=EXCHANGESERVER,CN=Mailbox Database 1966750766,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Delta Business Solutions,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=delta,DC=office read from APPSSVR2.delta.office failed validation. Attribute: HostServer. Error message: Object 'Mailbox Database 1966750766\EXCHANGESERVER': the linked object of property 'HostServer' is 'EXCHANGESERVER', which doesn't exist in First Organization 'Delta-Business-Solutions'. This might be because the object is corrupt in Active Directory. Please set a valid value for this property.. Invalid data: EXCHANGESERVER.  
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchange ADAccess" />
        <EventID Qualifiers="32772">2161</EventID>
        <Level>3</Level>
        <Task>6</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2019-06-10T11:49:41.000000000Z" />
        <EventRecordID>256696</EventRecordID>
        <Channel>Application</Channel>
        <Computer>ExchangeServer.delta.office</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Microsoft.Exchange.Search.ExSearch.exe</Data>
        <Data>6248</Data>
        <Data>CN=EXCHANGESERVER,CN=Mailbox Database 1966750766,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Delta Business Solutions,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=delta,DC=office</Data>
        <Data>APPSSVR2.delta.office</Data>
        <Data>HostServer</Data>
        <Data>Object 'Mailbox Database 1966750766\EXCHANGESERVER': the linked object of property 'HostServer' is 'EXCHANGESERVER', which doesn't exist in First Organization 'Delta-Business-Solutions'. This might be because the object is corrupt in Active Directory. Please set a valid value for this property.</Data>
        <Data>EXCHANGESERVER</Data>
      </EventData>
    </Event>

    I do not whether this makes a difference but when i could not get MSExchangeRPC to work first time round i removed exchange server 2010 and re-installed it. 

    Thanks

    Andy


    Monday, June 10, 2019 4:40 PM
  • Okay, that says you still have a mailbox database copy on server EXCHANGESERVER.  Have you tried using Remove-MailboxDatabaseCopy to remove it?

    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    Celebrating 20 years of providing Exchange peer support!

    Monday, June 10, 2019 6:07 PM
  • Thanks for replying

    I tried Remove-mailboxdatyabasecopy ans it came up with the error message

    There is only one copy of database "Mailbox Database 1966750766", which is hosted on server "EXCHANGESERVER". You can use the Remove-MailboxDatabase cmdlet to remove the last or only copy of a mailbox database.
        + CategoryInfo          : InvalidOperation: (Mailbox Database 1966750766:ADObjectId) [Remove-MailboxDatabaseCopy], InvalidOperationException
        + FullyQualifiedErrorId : 8951D4BB,Microsoft.Exchange.Management.SystemConfigurationTasks.RemoveMailboxDatabaseCopy

    Thanks

    Andy

    Tuesday, June 11, 2019 10:05 AM
  • Did you try following the instructions in that message?

    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    Celebrating 20 years of providing Exchange peer support!

    Tuesday, June 11, 2019 10:50 PM
  • I have managed to remove it but still get the same error message when trying to run Microsoft Exchange RPC Client Access service from services.

    When removing it i got this message in the event viewer

    Log Name:      Application
    Source:        MSExchange Management Application
    Date:          12/06/19 10:21:50
    Event ID:      5000
    Task Category: AdminAuditLog
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      ExchangeServer.delta.office
    Description:
    Failed to save admin audit log for this cmdlet invocation. 
    Organization:  
    Log content:
    Subject: delta.office/MyBusiness/Users/SBSUsers/Justin Goold : Remove-MailboxDatabase
    Body: 
    Cmdlet Name: Remove-MailboxDatabase
    Object Modified: Mailbox Database 1966750766
    Parameter: Identity = mailbox database 1966750766
    Caller: delta.office/MyBusiness/Users/SBSUsers/Justin Goold
    Succeeded: True
    Error: None
    Run Date: 2019-06-12T09:21:50
    OriginatingServer: EXCHANGESERVER (14.03.0399.000)

    Error:
    Microsoft.Exchange.Data.Storage.ObjectNotFoundException: Cannot open mailbox /o=Delta Business Solutions/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=EXCHANGESERVER/cn=Microsoft System Attendant. ---> Microsoft.Mapi.MapiExceptionNotFound: MapiExceptionNotFound: Unable to open message store. (hr=0x8004010f, ec=-2147221233)
    Diagnostic context:
        Lid: 55847   EMSMDBPOOL.EcPoolSessionDoRpc called [length=147]
        Lid: 43559   EMSMDBPOOL.EcPoolSessionDoRpc returned [ec=0x0][length=312][latency=0]
        Lid: 23226   --- ROP Parse Start ---
        Lid: 27962   ROP: ropLogon [254]
        Lid: 17082   ROP Error: 0x8004010F
        Lid: 26937  
        Lid: 21921   StoreEc: 0x8004010F
        Lid: 27962   ROP: ropExtendedError [250]
        Lid: 1494    ---- Remote Context Beg ----
        Lid: 26426   ROP: ropLogon [254]
        Lid: 44215  
        Lid: 60049   StoreEc: 0x8004010F
        Lid: 49469  
        Lid: 65341   StoreEc: 0x8004010F
        Lid: 56125  
        Lid: 47933   StoreEc: 0x8004010F
        Lid: 32829  
        Lid: 49213   StoreEc: 0x8004010F
        Lid: 48573  
        Lid: 64957   StoreEc: 0x8004010F
        Lid: 22957   Error: 0x0
        Lid: 19693   Error: 0x0
        Lid: 17917   Error: 0x0
        Lid: 16893   Error: 0x0
        Lid: 28877   Error: 0x0
        Lid: 8424    StoreEc: 0x8004010F
        Lid: 43025  
        Lid: 11173   StoreEc: 0x8004010F
        Lid: 22970  
        Lid: 8620    StoreEc: 0x8004010F
        Lid: 1750    ---- Remote Context End ----
        Lid: 26849  
        Lid: 21817   ROP Failure: 0x8004010F
        Lid: 26297  
        Lid: 16585   StoreEc: 0x8004010F
        Lid: 32441  
        Lid: 1706    StoreEc: 0x8004010F
        Lid: 24761  
        Lid: 20665   StoreEc: 0x8004010F
        Lid: 25785  
        Lid: 29881   StoreEc: 0x8004010F
       at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException)
       at Microsoft.Mapi.ExRpcConnection.OpenMsgStore(OpenStoreFlag storeFlags, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, MapiStore msgStorePrivate, String& correctServerDn, ClientIdentityInfo clientIdentityAs, String userDnAs, String applicationId, CultureInfo cultureInfo)
       at Microsoft.Mapi.MapiStore.OpenMapiStore(String serverDn, String userDn, String mailboxDn, Guid guidMailbox, Guid guidMdb, String userName, String domainName, String password, String httpProxyServerName, ConnectFlag connectFlags, OpenStoreFlag storeFlags, CultureInfo cultureInfo, Boolean wantRedirect, String& correctServerDN, ClientIdentityInfo clientIdentity, String applicationId, Client xropClient, Boolean wantWebServices, Byte[] clientSessionInfo, TimeSpan connectionTimeout)
       at Microsoft.Mapi.MapiStore.OpenMailbox(String serverDn, String userDn, Guid guidMailbox, Guid guidMdb, String userName, String domainName, String password, ConnectFlag connectFlags, OpenStoreFlag storeFlags, CultureInfo cultureInfo, WindowsIdentity windowsIdentity, String applicationId)
       at Microsoft.Exchange.Data.Storage.MailboxSession.ForceOpen(MapiStore linkedStore)
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Data.Storage.MailboxSession.ForceOpen(MapiStore linkedStore)
       at Microsoft.Exchange.Data.Storage.MailboxSession.Initialize(MapiStore linkedStore, LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, GenericIdentity auxiliaryIdentity)
       at Microsoft.Exchange.Data.Storage.MailboxSession.<>c__DisplayClass12.<CreateMailboxSession>b__10(MailboxSession mailboxSession)
       at Microsoft.Exchange.Data.Storage.MailboxSession.InternalCreateMailboxSession(LogonType logonType, ExchangePrincipal owner, CultureInfo cultureInfo, String clientInfoString, IAccountingObject budget, Action`1 initializeMailboxSession, InitializeMailboxSessionFailure initializeMailboxSessionFailure)
       at Microsoft.Exchange.Data.Storage.MailboxSession.CreateMailboxSession(LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, CultureInfo cultureInfo, String clientInfoString, PropertyDefinition[] mailboxProperties, IList`1 foldersToInit, GenericIdentity auxiliaryIdentity, IAccountingObject budget)
       at Microsoft.Exchange.Data.Storage.MailboxSession.ConfigurableOpen(ExchangePrincipal mailbox, MailboxAccessInfo accessInfo, CultureInfo cultureInfo, String clientInfoString, LogonType logonType, PropertyDefinition[] mailboxProperties, InitializationFlags initFlags, IList`1 foldersToInit, IAccountingObject budget)
       at Microsoft.Exchange.Data.Storage.MailboxSession.OpenAsSystemService(ExchangePrincipal mailboxOwner, CultureInfo cultureInfo, String clientInfoString)
       at Microsoft.Exchange.ProvisioningAgent.MailboxLoggerFactory.XsoMailer.Log(AdminLogMessageData data, LogMessageDelegate logMessage)
       at Microsoft.Exchange.ProvisioningAgent.AdminLogProvisioningHandler.OnComplete(Boolean succeeded, Exception e) 
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchange Management Application" />
        <EventID Qualifiers="49152">5000</EventID>
        <Level>2</Level>
        <Task>5</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2019-06-12T09:21:50.000000000Z" />
        <EventRecordID>259260</EventRecordID>
        <Channel>Application</Channel>
        <Computer>ExchangeServer.delta.office</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Subject: delta.office/MyBusiness/Users/SBSUsers/Justin Goold : Remove-MailboxDatabase
    Body: 
    Cmdlet Name: Remove-MailboxDatabase
    Object Modified: Mailbox Database 1966750766
    Parameter: Identity = mailbox database 1966750766
    Caller: delta.office/MyBusiness/Users/SBSUsers/Justin Goold
    Succeeded: True
    Error: None
    Run Date: 2019-06-12T09:21:50
    OriginatingServer: EXCHANGESERVER (14.03.0399.000)
    </Data>
        <Data>
        </Data>
        <Data>Microsoft.Exchange.Data.Storage.ObjectNotFoundException: Cannot open mailbox /o=Delta Business Solutions/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=EXCHANGESERVER/cn=Microsoft System Attendant. ---&gt; Microsoft.Mapi.MapiExceptionNotFound: MapiExceptionNotFound: Unable to open message store. (hr=0x8004010f, ec=-2147221233)
    Diagnostic context:
        Lid: 55847   EMSMDBPOOL.EcPoolSessionDoRpc called [length=147]
        Lid: 43559   EMSMDBPOOL.EcPoolSessionDoRpc returned [ec=0x0][length=312][latency=0]
        Lid: 23226   --- ROP Parse Start ---
        Lid: 27962   ROP: ropLogon [254]
        Lid: 17082   ROP Error: 0x8004010F
        Lid: 26937  
        Lid: 21921   StoreEc: 0x8004010F
        Lid: 27962   ROP: ropExtendedError [250]
        Lid: 1494    ---- Remote Context Beg ----
        Lid: 26426   ROP: ropLogon [254]
        Lid: 44215  
        Lid: 60049   StoreEc: 0x8004010F
        Lid: 49469  
        Lid: 65341   StoreEc: 0x8004010F
        Lid: 56125  
        Lid: 47933   StoreEc: 0x8004010F
        Lid: 32829  
        Lid: 49213   StoreEc: 0x8004010F
        Lid: 48573  
        Lid: 64957   StoreEc: 0x8004010F
        Lid: 22957   Error: 0x0
        Lid: 19693   Error: 0x0
        Lid: 17917   Error: 0x0
        Lid: 16893   Error: 0x0
        Lid: 28877   Error: 0x0
        Lid: 8424    StoreEc: 0x8004010F
        Lid: 43025  
        Lid: 11173   StoreEc: 0x8004010F
        Lid: 22970  
        Lid: 8620    StoreEc: 0x8004010F
        Lid: 1750    ---- Remote Context End ----
        Lid: 26849  
        Lid: 21817   ROP Failure: 0x8004010F
        Lid: 26297  
        Lid: 16585   StoreEc: 0x8004010F
        Lid: 32441  
        Lid: 1706    StoreEc: 0x8004010F
        Lid: 24761  
        Lid: 20665   StoreEc: 0x8004010F
        Lid: 25785  
        Lid: 29881   StoreEc: 0x8004010F
       at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException)
       at Microsoft.Mapi.ExRpcConnection.OpenMsgStore(OpenStoreFlag storeFlags, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, MapiStore msgStorePrivate, String&amp; correctServerDn, ClientIdentityInfo clientIdentityAs, String userDnAs, String applicationId, CultureInfo cultureInfo)
       at Microsoft.Mapi.MapiStore.OpenMapiStore(String serverDn, String userDn, String mailboxDn, Guid guidMailbox, Guid guidMdb, String userName, String domainName, String password, String httpProxyServerName, ConnectFlag connectFlags, OpenStoreFlag storeFlags, CultureInfo cultureInfo, Boolean wantRedirect, String&amp; correctServerDN, ClientIdentityInfo clientIdentity, String applicationId, Client xropClient, Boolean wantWebServices, Byte[] clientSessionInfo, TimeSpan connectionTimeout)
       at Microsoft.Mapi.MapiStore.OpenMailbox(String serverDn, String userDn, Guid guidMailbox, Guid guidMdb, String userName, String domainName, String password, ConnectFlag connectFlags, OpenStoreFlag storeFlags, CultureInfo cultureInfo, WindowsIdentity windowsIdentity, String applicationId)
       at Microsoft.Exchange.Data.Storage.MailboxSession.ForceOpen(MapiStore linkedStore)
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Data.Storage.MailboxSession.ForceOpen(MapiStore linkedStore)
       at Microsoft.Exchange.Data.Storage.MailboxSession.Initialize(MapiStore linkedStore, LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, GenericIdentity auxiliaryIdentity)
       at Microsoft.Exchange.Data.Storage.MailboxSession.&lt;&gt;c__DisplayClass12.&lt;CreateMailboxSession&gt;b__10(MailboxSession mailboxSession)
       at Microsoft.Exchange.Data.Storage.MailboxSession.InternalCreateMailboxSession(LogonType logonType, ExchangePrincipal owner, CultureInfo cultureInfo, String clientInfoString, IAccountingObject budget, Action`1 initializeMailboxSession, InitializeMailboxSessionFailure initializeMailboxSessionFailure)
       at Microsoft.Exchange.Data.Storage.MailboxSession.CreateMailboxSession(LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, CultureInfo cultureInfo, String clientInfoString, PropertyDefinition[] mailboxProperties, IList`1 foldersToInit, GenericIdentity auxiliaryIdentity, IAccountingObject budget)
       at Microsoft.Exchange.Data.Storage.MailboxSession.ConfigurableOpen(ExchangePrincipal mailbox, MailboxAccessInfo accessInfo, CultureInfo cultureInfo, String clientInfoString, LogonType logonType, PropertyDefinition[] mailboxProperties, InitializationFlags initFlags, IList`1 foldersToInit, IAccountingObject budget)
       at Microsoft.Exchange.Data.Storage.MailboxSession.OpenAsSystemService(ExchangePrincipal mailboxOwner, CultureInfo cultureInfo, String clientInfoString)
       at Microsoft.Exchange.ProvisioningAgent.MailboxLoggerFactory.XsoMailer.Log(AdminLogMessageData data, LogMessageDelegate logMessage)
       at Microsoft.Exchange.ProvisioningAgent.AdminLogProvisioningHandler.OnComplete(Boolean succeeded, Exception e)</Data>
      </EventData>
    </Event>

     
    Wednesday, June 12, 2019 9:32 AM
  • Hi,

    What's the detailed version of your Exchange 2007 SP3 and Exchange 2010 SP3?

    By default, the RPC Client Access service on an Exchange 2010 Client Access server uses the TCP End Point Mapper port (TCP/135) and the dynamic RPC port range (6005-59530) for outgoing connections, every time an Outlook clients establish a connection to Exchange.

    You can try to set a static port for the RPC Client Access service on an Exchange 2010 Client Access server. Check this for more detailed information: Configure Static RPC Ports on an Exchange 2010 Client Access Server

    Registry disclaimer: Serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs.

    Regards,

    Lydia Zhou


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Friday, June 14, 2019 11:10 AM
    Moderator
  • Hi Lydia,

    Exchange server 2007 version 08.03.0516.000

    Exchange server 2010 version 14.03.0399.000

    I read that article and have set the static ports but still got the same error message

    Thanks

    Andrew



    Andy

    Monday, June 17, 2019 4:23 PM
  • Hi,

    Do other Exchange services work well? Only Microsoft Exchange RPC Client Access service can't start?

    Did you install CAS role and mailbox server role on the same server?

    Did MSExchangeRPC ever work after installing Exchange 2010?

    Stop the Microsoft Exchange Information Store, then try to Microsoft Exchange RPC Client Access service. If MSExchangeRPC start successfully, restart MSExchangeIS.

    Regards,

    Lydia Zhou


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Thursday, June 20, 2019 7:01 AM
    Moderator
  • H Lydia,

    Yes all the other exchange services work fine and there are no errors in the event viewer. It is just MSExchangeRPC that will not run. Outlook anywhere works fine from exchange server 2010 for mailboxes on exchange server 2010 and exchange server 2007. Outlook 2010 works for mailboxes on exchange server 2007 but not exchange server 2010 i assume because the MSExchangeRPC is not running.

    MsExchangeRPC as never worked. I have installed it on another server running server 2008 and i get the error message. 

    Log Name:      Application
    Source:        MSExchangeRPC
    Date:          20/06/2019 10:50:00
    Event ID:      1008
    Task Category: General
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Server2008.delta.office
    Description:
    Encountered unexpected error when starting MSExchangeRPC service. Error details: System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.Exchange.RpcClientAccess.ServiceConfiguration.Schema.<.cctor>b__27(ADSystemConfigurationSession session)
       at Microsoft.Exchange.RpcClientAccess.ConfigurationSchema.DirectoryDataSource`1.<>c__DisplayClass12`1.<ExecuteADOperation>b__f()
       at Microsoft.Exchange.Data.Directory.ADNotificationAdapter.RunADOperation(ADOperation adOperation, Int32 retryCount)
       at Microsoft.Exchange.RpcClientAccess.ConfigurationSchema.DirectoryDataSource`1.ExecuteADOperation[TResult](Func`2 adOperationDelegate)
       at Microsoft.Exchange.RpcClientAccess.ConfigurationSchema.DirectoryDataSource`1.RegisterNotifications(Action notificationDelegate)
       at Microsoft.Exchange.RpcClientAccess.ConfigurationManager.SyncInstance.<RegisterForNotifications>b__d(DataSource dataSource)
       at Microsoft.Exchange.RpcClientAccess.ConfigurationManager.SyncInstance.ExecuteDataSourceOperation(IEnumerable`1 dataSources, Action`1 operationDelegate)
       at Microsoft.Exchange.RpcClientAccess.ConfigurationManager.<LoadAndRegisterForNotifications>b__8(SyncInstance x)
       at Microsoft.Exchange.RpcClientAccess.ConfigurationManager.ForEach(Action`1 action)
       at Microsoft.Exchange.RpcClientAccess.ConfigurationManager.LoadAndRegisterForNotifications()
       at Microsoft.Exchange.RpcClientAccess.Service.RpcClientAccessService.<DeferredServiceStartInitialization>b__4()
       at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchangeRPC" />
        <EventID Qualifiers="49156">1008</EventID>
        <Level>2</Level>
        <Task>1</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2019-06-20T09:50:00.000000000Z" />
        <EventRecordID>27471</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Server2008.delta.office</Computer>
        <Security />
      </System>
      <EventData>
        <Data>System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.Exchange.RpcClientAccess.ServiceConfiguration.Schema.&lt;.cctor&gt;b__27(ADSystemConfigurationSession session)
       at Microsoft.Exchange.RpcClientAccess.ConfigurationSchema.DirectoryDataSource`1.&lt;&gt;c__DisplayClass12`1.&lt;ExecuteADOperation&gt;b__f()
       at Microsoft.Exchange.Data.Directory.ADNotificationAdapter.RunADOperation(ADOperation adOperation, Int32 retryCount)
       at Microsoft.Exchange.RpcClientAccess.ConfigurationSchema.DirectoryDataSource`1.ExecuteADOperation[TResult](Func`2 adOperationDelegate)
       at Microsoft.Exchange.RpcClientAccess.ConfigurationSchema.DirectoryDataSource`1.RegisterNotifications(Action notificationDelegate)
       at Microsoft.Exchange.RpcClientAccess.ConfigurationManager.SyncInstance.&lt;RegisterForNotifications&gt;b__d(DataSource dataSource)
       at Microsoft.Exchange.RpcClientAccess.ConfigurationManager.SyncInstance.ExecuteDataSourceOperation(IEnumerable`1 dataSources, Action`1 operationDelegate)
       at Microsoft.Exchange.RpcClientAccess.ConfigurationManager.&lt;LoadAndRegisterForNotifications&gt;b__8(SyncInstance x)
       at Microsoft.Exchange.RpcClientAccess.ConfigurationManager.ForEach(Action`1 action)
       at Microsoft.Exchange.RpcClientAccess.ConfigurationManager.LoadAndRegisterForNotifications()
       at Microsoft.Exchange.RpcClientAccess.Service.RpcClientAccessService.&lt;DeferredServiceStartInitialization&gt;b__4()
       at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate)</Data>
      </EventData>
    </Event>

    I think this is the same error message i got when i first installed MSExchangeRPC on server 2012 R2 and i saw a similar problem on here and did the latest rollup update and after that i got the error message configuration details can't be loaded.

    Regards

    Andrew



    Andy

    Thursday, June 20, 2019 10:38 AM
  • I stopped MSExchangeIS and tried to start MSExchangeRPC but still get the same error message

    Regards

    Andrew


    Andy

    Thursday, June 20, 2019 10:43 AM
  • Hi Andy,

    Open the registry and navigate toHKEY_LOCAL_MACHINE\System\currentcontrolset\services\MSExchangeRPC\ParametersSystem and add the dword value "ExecutionFlags"=dword:00000002.

    On the Exchange 2010 mailbox server navigate to
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem and add the dword value "Mapi Rpc Endpoint Registration"=dword:00000002.

    Don't forget to back up the registry before you modify it!

    Regards,

    Lydia Zhou


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Monday, June 24, 2019 11:36 AM
    Moderator
  • Hi Lydia,

    I had already done this and it made no difference

    Thanks

    Andrew


    Andy

    Tuesday, June 25, 2019 11:10 AM
  • Hi Andy,

    Please make sure you have checked and met the prerequisites of Exchange 2010, and you have prepared schema and AD before installing Exchange 2010.

    On the other hand, we will do more research and post back as soon as we get more information. We are also welcomed to reply here if you have something new to share.

    Regards,

    Lydia Zhou


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Thursday, June 27, 2019 10:13 AM
    Moderator
  • Hi Lydia

    I added the arrays container in adsi edit and i also noticed i had a '/' at the end of  the internal url on the owa default website properties and took that off and when i went into services and checked MSExhchangeRPC it was running.

    Thanks for your help

    Regards

    Andy


    Andy

    Thursday, July 18, 2019 10:05 AM