Failure at Microsoft.crm.setup.common.registerasyncserviceAction

Some people are experiencing troubles while installing CRM 4.0. Right now I’m having the same problems as some others. In the end of the installation, the setup throws the error message "Failure at Microsoft.crm.setup.common.registerasyncserviceAction".

The reason why I got this error message was because I had just uninstalled CRM and tried to install it again. I did not think about a wise lesson I had once learned from a German guy. He said "Ein reboot macht immer gut". So after a restart of the server I have tried to install again and now it works like a charm.

Another thing to try, is to manually start the Async service for CRM and then retry the action.

If this doesn't work for you, make sure to check the log file regarding this service. You can find it on this location:
C:\Documents and Settings\{username}\Application Data\Microsoft\MSCRM\Logs\CrmAsyncService.log

Good luck installing CRM!

16 comments:

The Dissonance said...

Yes, one of the prime rules in computer support. Thanks for the reminder Ronald.

Balaji said...

we are getting a strange error message while trying to upgrade to titan..apparently it says message Assign does not exist..i did some poking around in the db..it looks like crm app is trying to do a select from SdkMessageBase table..and this table is empty..i have removed all callout and workflow from the v3 server and no luck in upgrading to v4..is this is common problem or is my server screwed up?

Ronald Lemmen said...

Hi Balaji,

You should report this issue to Microsoft by creating a support request. They will assist you to get this solved -and create a kb article if necessary-.

Kind regards,

Ronald

Anonymous said...

Hi Ronald,

I have the same failure over and over again. The async service can not be started. Also a restart does not solve the problem. Is this a problem of the security account (network service) defined during the installation?

Ronald Lemmen said...

Hi,

The network service should not be the problem, I almost always have the network service specified.

What does the log file tell you?

Anonymous said...

Hi Ronald,

An exception occurred in the OnCommitted event handler of Microsoft.Crm.ExtendedServiceInstaller.
System.InvalidOperationException: Cannot start service MSCRMAsyncService on computer '.'.
The inner exception System.ComponentModel.Win32Exception was thrown with the following error message: Access is denied.

Ronald Lemmen said...

I've been looking around what is known about this error message. The only thing I can find is that if you had this in CRM 3.0, that you would need to change some things to asp.net version 1.1. Since CRM 4.0 doesn't use 1.1 anymore but 3.0, it shouldn't be related. Just like Balaji above, I would like to recommend you to open a service request.

Anonymous said...

thank you for your quick help!

Anonymous said...

Finally solved it: We had to manually go in and grant extended Security rights to the .\ASPNET and Network Service users in the CRMWeb and Server\bin directories respectively. After a quick, reboot ("Jeder Boot tut gut!" ;-), manually re-installing and testing the AsyncService, we applied an install repair, and everything worked smoothly... oh yeah, for a number of static subdirs in CRMWeb (such as _imgs, _root etc), we also had to manually add Integeated Win Auth in inetmgr, since the pre-configured Anonymous access doesn't suffice.

Again, Hartelijk bedankt - Keep up the good work!

Balaji said...

upgraded to crm 4.0 finally after a week of meaningless persuits..its seems that one of the custom entity has the same name and collection name as the TransactionCurrency entity in 4.0..this was causing an error in metadataschema.LocalizedLabel...changed the custom entity name and plural name..install was a breeze..

Ronald Lemmen said...

Thanks Balaji for the update! I hope some more people can use that information.

tsales said...

None of these recommendations worked for me. The solution I found required rebuilding the Performance counter registry strings. I've detailed it in my own blog here:

http://blog.kazmarek.com/2008/02/06/crm-40-installation-error-registerasyncserviceaction-failed/

Anonymous said...

ping back form http://www.castorsoft.com/articles/2008.1.8.htm

Anonymous said...

Hey Guys,

I think that you should start out with the event log.

None of the above was my issue. Mine was an issues with ANONYMOUS access.

Anonymous said...

I had this error when trying to install in a new Active Directory domain. Had to uninstall CRM, reboot CRM server, delete CRM related databases and AD groups, upgrade the Domain and Forest Functional Level to "Windows Server 2003", then re-install CRM.

Anonymous said...

I was experiencing the exact same problem, but in this instance it was due to me being rather dumb!!

I was installing CRM into a non default location (d:/program files.........) rather than the defailt c:/program files and that folder didnt have any security permissions set for network service, which is why the async cervice couldnt install or start.