Microsoft Exchange Address Book Service will not start after migration from exchange 2007 to Exchange 2010

AID: 9036
  • Status: Published

3050 points

  • Byjordannet
  • TypeTips/Tricks
  • Posted on2012-01-02 at 06:08:53
Microsoft Exchange Address Book Service will not start after migration from exchange 2007 to Exchange 2001.
Introduction :
one of EE users have question that after migration from exchange 2007 to exchange 2010 found that outlook users will not work fine , after investigations i found that he need to reconfigure client access and auto discover , it was working fine after reconfigure steps but an strange problem appears that Microsoft Address Book Services will not start , the user said that he spent 2 days searching on internet but no solution found , i found the solution and here is steps and descriptions :


Problem:
This problem is one of rare problems that maybe occurred after migrating from Exchange 2007 to Exchange 2010  , the user may need to re-configure auto discover and Outlook anywhere , however for unknown case the “Exchange Address Book Service “ stop working and following events are found on Event Viewer :
Event ID: 7000
Description:
The Microsoft Exchange Address Book Service Failed to start due to the following Error:
The service did not respond to the start or control request in a timely fashion.

 
event2.JPG
  • 48 KB
  • event ID 7000 : Microsoft Exchange address book
event ID 7000 : Microsoft Exchange address book


And
Event ID 7009
Description:
A timeout was reached (3000 milliseconds) while waiting for Microsoft Exchange Address Book Service to Connect.

 
event1.JPG
  • 44 KB
  • Event ID 7009 : Microsoft Exchange Address Book
Event ID 7009 : Microsoft Exchange Address Book


Symptoms:

The user side will connect to exchange server but updating take very long time which is result on failed on Outlook connection.

Resolution:

After long search on internet there is no solution found for this case , I have found by myself that address book service required ports to be defined on registry after reviewing the registry values required for ports to be defined , I found that these values were absent , this was the reason that why service stop responding and no longer able to start.
Here we are :

Start -> run regedit.exe
Follow these registry key:


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSExchangeRPC

create new REG_DWORD
name "TCP/IP Port"
assigned value :  59532 (Decimal)

then follow this  key :


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSExchangeAB\Parameters

created new String Value REG_SZ
Name "RpcTcpPort" (without quotation)
value : 59533

then close regedit …start Microsoft Address Book Services , it works fine...

Disclaimer: This article came about because of a question that the author was able to assist with. Setting the port number should not be a requirement to resolve this issue, and perhaps it was coincidence that it worked, but it is presented as a possible work-around if more traditional fixes have failed.

here is additional useful resources related to this article :

http://social.technet.microsoft.com/wiki/contents/articles/configure-static-rpc-ports-on-an-exchange-2010-client-access-server.aspx

Recommended reading : http://technet.microsoft.com/en-us/library/ee332317.aspx

Regards

Maen Abu-Tabanjeh
IT Manager.
Amman - Jordan

    Comments

    Expert Comment

    by: demazter on 2012-01-03 at 11:45:10ID: 34114

    The solution offered by this article, in my opinion is purely coincidental.

    The only reason you would configure the RPC ports to be static were if you were trying to allow these ports through a firewall and therefore need to specify which ones is used rather than the randomly assigned port from a pool associated with the services.

    However, one would argue that if this is the case then you would use RPC-HTTPS or Outlook Anywhere as it is known in the later versions of Exchange Server, which would negate the need to do this.

    Those registry entries do not exist on a standard Exchange Server installation.

    After long search on internet there is no solution found for this case , I have found by myself that address book service required ports to be defined on registry after reviewing the registry values required for ports to be defined , I found that these values were absent , this was the reason that why service stop responding and no longer able to start.

    This is correct, that's how they should be, they are missing because that is the default configuration and should therefore not have been the cause of the errors that were being received.

    My guess is if these settings were now removed from the registry the service would still continue to run.  This would point to something else causing the problem.

    The configuation outlined in this article would need to be applied to every Exchange Server in the organisation, and if it wasn't, you would experience connectivity issues.

    This could also cause problems when trying to migrate at a later stage to a new version of Exchange.

    I would urge any potential readers to avoid making these types of configuration changes and instead identify where the problem actually lies and resolve it.


    Author Comment

    by: jordannet on 2012-01-03 at 11:53:09ID: 34116

    @demazter :
    the Ironically that happened when i found this solution that firewall already stopped and disabled and i disabled it , note that i think creating these ports even will not affect on exchange if this was not solution if any user want to try my solution if registry port definition was not useful exchange will continue working so he can delete the ports if he wish , this what make me gonna crazy , the ports was not exist from the beginning , i doubt that the problem was communicating with address book services , before i tried to start the service again (Address book service ) , i stopped windows firewall service and disable it , tried to start address book service again , it does not started.. this really strange but possible to be happened with some users.

    Expert Comment

    by: alanhardisty on 2012-01-03 at 12:10:46ID: 34117

    Did you look at the following KB Article and check the services were configured to start using the correct accounts ?:

    http://support.microsoft.com/kb/314357

    If you stopped the firewall, then it would very much surprise me if it was a port issue as the firewall would have allowed Exchange to communicate unhindered, thus it sounds very much like a completely different problem and the registry tweak seems unnecessary.

    Expert Comment

    by: alanhardisty on 2012-01-03 at 12:13:51ID: 34118

    You may also want to consider looking at the following article:

    http://www.itexperience.net/event-id-7009-timeout-30000-milliseconds-waiting-for-the-microsoft-exchange-service-host-service-to-connect/

    Extract:

    The cause of these error events is the lack of internet access.  It seems that both services try to download a revoked certificate list from http://crl.microsoft.com, and time out if they don’t have access to this.

    There are a couple of options to solve this problem:

    If you have a proxy server, you may have to set the correct proxy settings. Use ProxyCfg.exe to set the ip address and port.
    If you have a firewall, Internet traffic may be blocked by it. In that case, open HTTP traffic from the server to the internet
    If you have installed .NET Framework 2.0 only, you may need a hotfix for .NET Framework 2.  Microsoft has a KB article which desribes the same problem, and from where you can request a hotfix: Exchange 2007 managed code services do not start after you install an update rollup for Exchange 2007

    Author Comment

    by: jordannet on 2012-01-03 at 12:18:14ID: 34119

    hey alan ,
    i tried many solutions , i check the service account , which was correct , i tried to start the service when firewall is running the service will not work , i stopped the firewall and start the service will not start , other workaround , i set the service to "Automatic (Delay on the start) , also its not working , after these tries , the definition of the ports on the registry was last solution which its work , also want to tell you that i searched for 2 days on internet , many people have the same of my issue and same Event ID , and they did not find any proper solution for this case.

    Author Comment

    by: jordannet on 2012-01-03 at 12:20:31ID: 34120

    alan i made some investigation with user he said its stopped suddenly i checked event viewer nothing was clear... am sure that even users tries to define ports on registry it will not affect on the service if this solution was not success.

    Author Comment

    by: jordannet on 2012-01-03 at 12:23:32ID: 34121

    actually the solution found after following the article that i mentioned above :

    http://social.technet.microsoft.com/wiki/contents/articles/configure-static-rpc-ports-on-an-exchange-2010-client-access-server.aspx

    which is microsoft article , i doubt that there is problem with communicating address book distribution with RPC , but since many users and experts told me the definition of the ports will not affect on the service if created or deleted , so why Microsoft need to publish such article above?

    big confusion.

    Expert Comment

    by: alanhardisty on 2012-01-03 at 12:39:38ID: 34122

    What Service Pack was Exchange on when you looked at the server?

    Author Comment

    by: jordannet on 2012-01-03 at 12:42:10ID: 34123

    the problem it was Exchange 2007 SP3 .. this the fun.
    i tried every bit of solution..but was no luck before this solution.

    Author Comment

    by: jordannet on 2012-01-03 at 12:48:33ID: 34124

    sorry alan , i mean it was exchange 2010 sp2

    Expert Comment

    by: alanhardisty on 2012-01-03 at 13:00:11ID: 34125

    I would have been interested to see what Microsoft's solution would have been.

    After a few hours of searching fruitlessly, I would have been straight on the phone.

    Author Comment

    by: jordannet on 2012-01-03 at 13:03:11ID: 34126

    its one of the historical Paradoxes .. i think microsoft should award me a prize lol , i really confused like you alan , i don't why this solution helped...i tried too many solutions with no luck , but its very strange.

    Add your Comment

    Please Sign up or Log in to comment on this article.

    Join Experts Exchange Today

    Gain Access to all our Tech Resources

    Get personalized answers

    Ask unlimited questions

    Access Proven Solutions

    Search 3.2 million solutions

    Read In-Depth How-To Guides

    1000+ articles, demos, & tips

    Watch Step by Step Tutorials

    Learn direct from top tech pros

    And Much More!

    Your complete tech resource

    See Plans and Pricing

    30-day free trial. Register in 60 seconds.

    Loading Advertisement...

    Top Exchange Experts

    1. demazter

      724,144

      Sage

      1,580 points yesterday

      Profile
      Rank: Genius
    2. alanhardisty

      714,931

      Sage

      4,220 points yesterday

      Profile
      Rank: Genius
    3. jjmck

      275,745

      Guru

      1,030 points yesterday

      Profile
      Rank: Genius
    4. Rajkumar-MCITP

      268,093

      Guru

      0 points yesterday

      Profile
      Rank: Guru
    5. apache09

      245,757

      Guru

      1,500 points yesterday

      Profile
      Rank: Genius
    6. akicute555

      178,820

      Guru

      0 points yesterday

      Profile
      Rank: Wizard
    7. amitkulshrestha

      171,436

      Guru

      0 points yesterday

      Profile
      Rank: Genius
    8. acbrown2010

      159,135

      Guru

      1,000 points yesterday

      Profile
      Rank: Genius
    9. Akhater

      153,366

      Guru

      0 points yesterday

      Profile
      Rank: Genius
    10. Neilsr

      137,804

      Master

      0 points yesterday

      Profile
      Rank: Genius
    11. jordannet

      127,611

      Master

      10 points yesterday

      Profile
      Rank: Wizard
    12. GreatVargas

      101,542

      Master

      2,800 points yesterday

      Profile
      Rank: Wizard
    13. HendrikWiese

      95,084

      Master

      2,050 points yesterday

      Profile
      Rank: Sage
    14. limjianan

      94,700

      Master

      0 points yesterday

      Profile
      Rank: Genius
    15. endital1097

      93,710

      Master

      10 points yesterday

      Profile
      Rank: Genius
    16. Anuroopsundd

      92,000

      Master

      0 points yesterday

      Profile
      Rank: Sage
    17. davorin

      91,351

      Master

      0 points yesterday

      Profile
      Rank: Sage
    18. Radweld

      88,729

      Master

      0 points yesterday

      Profile
      Rank: Guru
    19. chakko

      88,498

      Master

      0 points yesterday

      Profile
      Rank: Genius
    20. R--R

      86,699

      Master

      0 points yesterday

      Profile
      Rank: Wizard
    21. e_aravind

      85,998

      Master

      0 points yesterday

      Profile
      Rank: Genius
    22. Exchange_Geek

      85,704

      Master

      0 points yesterday

      Profile
      Rank: Sage
    23. lucid8

      81,809

      Master

      0 points yesterday

      Profile
      Rank: Sage
    24. KalluSureshKumar

      76,534

      Master

      0 points yesterday

      Profile
      Rank: Master
    25. tigermatt

      73,020

      Master

      0 points yesterday

      Profile
      Rank: Genius

    Hall Of Fame