web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM 4.0 Installation problem

(0) ShareShare
ReportReport
Posted on by 65

Installing on Server 2003r2 x64 Get to the end of the install and get an error message.

I have uninstalled and tried to reinstall several times.

Help !

An exception occurred in the OnCommitted event handler of Microsoft.Crm.ExtendedServiceInstaller.
System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
An exception occurred during the Commit phase of the installation. This exception will be ignored and installation will continue. However, the application might not function correctly after installation is complete.

The installation then quits.

This is what is logged

 Error| System.Exception: Action Microsoft.Crm.Setup.Common.RegisterAsyncServiceAction failed. ---> System.Configuration.Install.InstallException: An exception occurred during the Commit phase of the installation. This exception will be ignored and installation will continue. However, the application might not function correctly after installation is complete. ---> System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
   at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
   at Microsoft.Crm.ExtendedServiceInstaller.StartService(Object sender, InstallEventArgs e)
   at System.Configuration.Install.InstallEventHandler.Invoke(Object sender, InstallEventArgs e)
   at System.Configuration.Install.Installer.Commit(IDictionary savedState)
   --- End of inner exception stack trace ---
   at System.Configuration.Install.Installer.Commit(IDictionary savedState)
   at System.Configuration.Install.AssemblyInstaller.Commit(IDictionary savedState)
   at Microsoft.Crm.Setup.Common.RegisterAsyncServiceAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
   --- End of inner exception stack trace ---, Error, RetryCancel, Option1

*This post is locked for comments

I have the same question (0)
  • Frank Hermes Profile Picture
    on at

    Try to rebuild the Perf Counter strings using the command “lodctr /r”. 

    Always reboot a machine after unintalling the CRM.

  • Bob Fox Profile Picture
    65 on at

    I uninstalled CRM removed all traces, removed the databases, restarted the server.

    rebuilt the performance counter with the lodctr /r command

    Attempted to reinstall.

    Got exactly the same problem

    Error| System.Exception: Action Microsoft.Crm.Setup.Common.RegisterAsyncServiceAction failed. ---> System.Configuration.Install.InstallException: An exception occurred during the Commit phase of the installation. This exception will be ignored and installation will continue. However, the application might not function correctly after installation is complete. ---> System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
       at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)

     

     This is the corresponding APP Event

    The description for Event ID ( 17410 ) in Source ( MSCRMAsyncService ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: THURSTON-CRM, System.Data.SqlClient.SqlException: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

    at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)

    at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)

    at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)

    at System.Data.SqlClient.SqlConnection.Open()

    at Microsoft.Crm.CrmDbConnection.Open()

    at Microsoft.Crm.SharedDatabase.DatabaseMetadata.LoadMetadataXmlFromDatabase(CrmDBConnectionType connectionType, String connectionString, Int32& maxBlobSize)

    at

  • Frank Hermes Profile Picture
    on at

    Can you see the AsyncService in the serivces section in your server administration? Can you start it manually?

  • Bob Fox Profile Picture
    65 on at

    It starts and then stops and the same error is logged in the event logs..

     

  • Bob Fox Profile Picture
    65 on at

    Thanks for the help..

    After looking more at the Event error, it appears that the service was trying to start using the NT/anonymous account

    I experimented and was able to start the service using the Domain Admin account ..

    So on to the next Challenge !!!

    Thanks.

     

  • John Oppel Profile Picture
    40 on at

    Having the exact same issue/error with an install on a fresh server.  Sql 2005 server sp2 is also brand new with no other Databases except MSCRM.  This is not an upgrade from v3, only a fresh install of mscrm4 with no data yet.  Asyncservice Action Fails at the end of the Out-of-Box CRM 4 installation.  Service fails to start as the Network Service account but can get it to start is as the Domain/CRMAdmin account that we have set up.  However, I cant load the crm website once the Async Service has is started. I get the following error.

    Login failed for user ''. The user is not associated with a trusted SQL Server connection.

    SqlException (0x80131904): Login failed for user ''. The user is not associated with a trusted SQL Server connection.]
       System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +435
       System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
       System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
       System.Data.SqlClient.SqlConnection.Open() +111
       Microsoft.Crm.CrmDbConnection.Open() +213
       Microsoft.Crm.SharedDatabase.DatabaseMetadata.LoadMetadataXmlFromDatabase(CrmDBConnectionType connectionType, String connectionString, Int32& maxBlobSize) +89
       Microsoft.Crm.SharedDatabase.DatabaseMetadata.LoadCacheFromDatabase(CrmDBConnectionType connectionType, String connectionString) +22
       Microsoft.Crm.ConfigurationDatabase.ConfigurationMetadata.get_Cache() +76
       Microsoft.Crm.ConfigurationDatabase.ConfigurationDatabaseService.InitializeMetadataCache() +5
       Microsoft.Crm.SharedDatabase.DatabaseService.Initialize(String tableName) +20
       Microsoft.Crm.SharedDatabase.DatabaseService.Retrieve(String tableName, String[] columns, PropertyBag[] conditions) +297
       Microsoft.Crm.ServerLocatorService.GetSiteSettingIdFromDatabase() +107
       Microsoft.Crm.ServerLocatorService.GetSiteSettingId() +156
       Microsoft.Crm.ServerLocatorService.GetSiteSetting(String settingName) +32
       Microsoft.Crm.CrmTrace.get_RefreshTrace() +429

    I have tried the lodctr /r command and that didnt seem to work.  I have uninstalled and attempted the reinstall of MSCRM on this server four times now with the same exact error every time.  My next step is to just submit a ticket with MSFT but if I can aviod it I would like to know if anyone else has any more helpful advise.

    Any Help is appreciated!

     

  • Frank Hermes Profile Picture
    on at

    Is YOUR_DOMAIN\$crm (put your CRM servername right behind the $)  in the CRM config database MSCRM_CONFIG under security -> users? If not add the machine account as a user to your SQL server and make him db_owner for MSCRM_CONFIG. Does that help?

  • John Oppel Profile Picture
    40 on at

    Thanks for your Reply!

    Added that user you specified to the security users on the MSCRM_CONFIG database and get the same error when I try to open the CRM Site.  I can start the Async Service with the Domain/CrmAdmin account still but not with the Network Security account.  I have a ticket in with MSFT but it will probably be a day or so until they get back to me.

    Any other thoughts?

  • Frank Hermes Profile Picture
    on at

    Can you please repeat the step for th YOUR_ORG_MSCRM database?

  • Andy Duncan Profile Picture
    105 on at

    I'm working with John Oppel on this.  I have added the crm server to the ORG_MSCRM database and still getting same error.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans