Action Microsoft.Crm.Setup.Common.RegisterAsyncService Action Failed


Hi,

Got this error while installing CRM 4.0.

Two possible resolution for it

http://ronaldlemmen.blogspot.com/2008/01/failure-at-microsoftcrmsetupcommonregis.html
http://blog.kazmarek.com/2008/02/06/crm-40-installation-error-registerasyncserviceaction-failed/

Restarting the server didn’t solve the problem. Than tried rebuilding the performance counter.

To rebuild all Performance counters including extensible and third-party counters in Windows Server 2003, type the following commands at a command prompt. Press ENTER after each command.

cd\windows\system32
lodctr /R
It also didn’t help. So manually started the async service using domain admin user.
This way i was able to get it installed properly.
Bye…

Discover more from Nishant Rana's Weblog

Subscribe to get the latest posts sent to your email.

Unknown's avatar

Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

2 thoughts on “Action Microsoft.Crm.Setup.Common.RegisterAsyncService Action Failed”

  1. Warning:
    The full performance counter rebuild may take considerable time and may not give a complete rebuild. The long proccess is human error prone, too. If you can’t resolve the problem in my short way, do try it or reinstall server.
    Well, first of all, I tried the long way. In the end, counters were still corrupt. I used procmon (microsoft sysinternals tool) to catch the last performance counter registery value before failing.
    I found out the full rebuild, didn’t rebuild the Windows workflow foundation performance counters. Wow, this is actually the most important module that the crmasync uses!
    I saw the counters :
    FirstCounter
    FirstHelp
    LastCounter
    LastHelp

    Are missing there (I probably deleted them in the long proccess), but their rebuild is not in the system32 dir!

    I executed :
    C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation>unlodctr perfcounters

    Unable to open driver SYSTEM\CurrentControlSet\Services\perfcounters. Status: 2
    C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation>lodctr perfcounters.ini

    This added the missing counters.
    (should try crm repair now).

    Generally I believe one should:
    1. export the full registery tree of:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services
    Into a file.

    2. Filter out lines that don’t have the word performance in their key name.

    3. Find empty performance entries and performance entries without the first and last counters.

    4. Find their INI file and reload them ( unlodctr , lodctr).

    5. Verify that the load created counter entries in registery.

    Another point: I noticed that CRM doesn’t provide a INI file for rebuilding corrupt perf counters, they use a file called tmp38.tmp . Later I belive they delete it. As if saying : If it’s broke, let repair fix it!
    Maybe it’s a good idea, but I am not sure about it.

    Hope this helps;-)
    I wish a WIN internals guru can confirm this… but it doesn’t stray from the guide lines of the MS KB.

    Dubi

    Like

  2. Warning:
    The full performance counter rebuild may take considerable time and may not give a complete rebuild. The long proccess is human error prone, too. If you can’t resolve the problem in my short way, do try it or reinstall server.
    Well, first of all, I tried the long way. In the end, counters were still corrupt. I used procmon (microsoft sysinternals tool) to catch the last performance counter registery value before failing.
    I found out the full rebuild, didn’t rebuild the Windows workflow foundation performance counters. Wow, this is actually the most important module that the crmasync uses!
    I saw the counters :
    FirstCounter
    FirstHelp
    LastCounter
    LastHelp

    Are missing there (I probably deleted them in the long proccess), but their rebuild is not in the system32 dir!

    I executed :
    C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation>unlodctr perfcounters

    Unable to open driver SYSTEM\CurrentControlSet\Services\perfcounters. Status: 2
    C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation>lodctr perfcounters.ini

    This added the missing counters.
    (should try crm repair now).

    Generally I believe one should:
    1. export the full registery tree of:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services
    Into a file.

    2. Filter out lines that don’t have the word performance in their key name.

    3. Find empty performance entries and performance entries without the first and last counters.

    4. Find their INI file and reload them ( unlodctr , lodctr).

    5. Verify that the load created counter entries in registery.

    Another point: I noticed that CRM doesn’t provide a INI file for rebuilding corrupt perf counters, they use a file called tmp38.tmp . Later I belive they delete it. As if saying : If it’s broke, let repair fix it!
    Maybe it’s a good idea, but I am not sure about it.

    Hope this helps;-)
    I wish a WIN internals guru can confirm this… but it doesn’t stray from the guide lines of the MS KB.

    Dubi

    Like

Please share your thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Nishant Rana's Weblog

Subscribe now to keep reading and get access to the full archive.

Continue reading

Power Platform Puzzles

D365 CRM, Power Platform Tips &Tricks

Power Spark

Power Spark By Shrangarika

Van Carl Nguyen

Exploration of Power Platform

My Trial

It is my experience timeline.

Power⚡Thomas

Sharing my knowledge and experience about the Microsoft Power Platform.

Arpit Power Guide

a guide to powering up community

Welcome to the Blog of Paul Andrew

Sponsored by Cloud Formations Ltd

Deriving Dynamics 365

Deriving Solutions and features on Power Platform/Dynamics 365

The CRM Ninja

Thoughts & musings from a Microsoft Business Applications Ninja!

D CRM Explorer

Learn about Microsoft Dynamics CRM Power Platform customization and implementation and other cool stuffs

Stroke // Jonas Rapp

I know pre-stroke. I will improve who I was.

Power Melange

Power Melange By Shalinee

Clavin's Blog - PPUG.ORG

AI - Power Automate - Power Apps - SharePoint Online - Azure - Nintex - K2 - Artificial Intelligence

Sat Sangha Salon

An Inquiry in Being

The Indoencers

The Influencers & Influences of Indian Music

Monika Halan's blog

Hand's-free money management

D365 Demystified

A closer look at Microsoft Dynamics 365.

Microsoft Mate (msftmate) - Andrew Rogers

Experienced consultant primarily focused on Microsoft Dynamics 365 and the Power Platform

Manmit Rahevar's Blog

One Stop Destination for Microsoft Technology Solutions

MG

Naturally Curious

Brian Illand

Power Platform and Dynamics 365

Steve Mordue

The Professional Paraphraser

Subwoofer 101

Bass defines your home theater

SQLTwins by Nakul Vachhrajani

SQL Server tips and experiences dedicated to my twin daughters.

Everything D365

Discovering Azure DevOps and D365 Business Applications

Tech Wizard

Lets do IT Spells

XRM Tricks (Power Platform & Dynamics CRM )

Power Platform & Dynamics CRM

CRM TIPS BY PRM

Mail to crmtipsbyprm@gmail.com for queries and suggestions

nijos.dev

Giving back to the community what I have learned

Power Platform Learning

Your Go-To Resource for Power Apps, Power Automate & More

xrm CRM Dynamics

Dynamics CRM Technical & Functional Info

Dynamics 365 Blogs - Explained in unique way

Sometimes you need to look at things from different perspective.