CRM 4.0 Installation problem

Last post 09-01-2009 3:08 AM by hanbert. 20 replies.
Page 1 of 1 (21 items)
Sort Posts: Previous Next
  • 11-12-2008 7:15 AM

    CRM 4.0 Installation problem

    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

  • 11-12-2008 7:38 AM In reply to

    Re: CRM 4.0 Installation problem

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

    Always reboot a machine after unintalling the CRM.

  • 11-12-2008 8:09 AM In reply to

    Re: Re: CRM 4.0 Installation problem

    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

  • 11-12-2008 9:23 AM In reply to

    Re: Re: Re: CRM 4.0 Installation problem

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

  • 11-12-2008 9:46 AM In reply to

    Re: Re: Re: Re: CRM 4.0 Installation problem

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

     

  • 11-12-2008 9:59 AM In reply to

    Re: Re: Re: Re: CRM 4.0 Installation problem

    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.

     

  • 11-25-2008 8:59 AM In reply to

    Re: CRM 4.0 Installation problem

    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!

     

  • 11-25-2008 9:54 AM In reply to

    Re: Re: CRM 4.0 Installation problem

    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?

  • 11-25-2008 10:28 AM In reply to

    Re: CRM 4.0 Installation problem

    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?

  • 11-25-2008 10:59 AM In reply to

    Re: Re: CRM 4.0 Installation problem

    Can you please repeat the step for th YOUR_ORG_MSCRM database?

  • 11-26-2008 7:51 AM In reply to

    Re: Re: Re: CRM 4.0 Installation problem

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

  • 11-26-2008 8:48 AM In reply to

    Re: Re: Re: Re: CRM 4.0 Installation problem

    Can you start the asyncservice with the Local machine account?

    It could be that the .NET version of CRM is not registered in the IIS. Of which framework version is the CRM web application? Go to C:\windows\Microsoft.NET\Framework\v2.0.50727 (put the right version here) and start the tool aspnet_regiis.exe with the switch -i and -enable. Does it work now?

  • 11-26-2008 9:11 AM In reply to

    Re: Re: Re: Re: Re: CRM 4.0 Installation problem

    Frank,

     Async service doesn't run with local machine account before or after registering .net.  Async service is starting as the domain admin user.

     Thanks for your assistance.  Registering 2.0.50727 didn't work.  I also updated our MS ticket with the following so that we don't have redundant efforts.  hope to hear back from them very soon.

    MS ticket update:
    1) Added CRM server to dbo role for MSCRM_Config datbase -- still failed
    2) Added CRM server to dbo role for ORG_MSCRM database -- still failed
    3) Registered C:\windows\Microsoft.NET\Framework\v2.0.50727 (verified this is the version the CRM site is utilizing) using "aspnet_regiis.exe -i -enabled" -- still failed

  • 11-26-2008 9:24 AM In reply to

    Re: Re: Re: Re: Re: Re: CRM 4.0 Installation problem

    Can you post the error you got when you tried regiis?

  • 11-26-2008 9:29 AM In reply to

    Re: Re: Re: Re: Re: Re: Re: CRM 4.0 Installation problem

    Poor wording on my part.  regiis worked fine.  install still failing with same error.

  • 11-26-2008 9:38 AM In reply to

    Re: Re: Re: Re: Re: Re: Re: Re: CRM 4.0 Installation problem

    Just checked SQL logs and getting:

    11/26/2008 09:33:25,Logon,Unknown,Login failed for user ''. The user is not associated with a trusted SQL Server connection. [CLIENT: 192.168.128.18]
    11/26/2008 09:33:25,Logon,Unknown,Error: 18452<c/> Severity: 14<c/> State: 1.

    The SQL server is definitely not getting passed the proper credentials.  Shouldn't this be reporting servername as opposed to IP address? 

     

  • 11-26-2008 9:45 AM In reply to

    Re: CRM 4.0 Installation problem

    Is Server Authentication on th SQL server in mixed mode?

    Change "windows authentication mode" to "sql server and windows authentication mode" in "Security".

     

     

  • 11-26-2008 10:01 AM In reply to

    Re: Re: CRM 4.0 Installation problem

    It was already in Mixed Mode.

  • 12-01-2008 7:43 AM In reply to

    Re: Re: Re: CRM 4.0 Installation problem

    We are still trying to resolve the issue, but have succeeded in getting MSCRM installed by installing with a domain admin credentials.  The Async Service still doesn't start if we change the userlogin back to Network Services.  We will update this post when we identify the cause.

     

  • 01-22-2009 10:27 AM In reply to

    Re: Re: Re: Re: CRM 4.0 Installation problem

    Hi Andy

    Were you ever able to get this to work with Network Service account?

     Cheers

    Nick

  • 09-01-2009 3:08 AM In reply to

    Re: Re: Re: Re: CRM 4.0 Installation problem

    Hi Andy,

     I am having the same problem right now, have you managed to solve yours? can you share the exprience?

     

    Thanks,

     

    Albert

Page 1 of 1 (21 items)