Installation Error: CRM 2011 (Final) RRS feed

  • Question

  • Hi,

    I just tried to install the final version of crm 2011 on a Hyper-V Guest with Windows Server 2008R2 SP1 and SQL 2008R2 on the same machine.

    Here are a part of the setup log. Have you some ideas what´s going wrong?

    Thanks for help in advance


    Install exception.System.Exception: Action Microsoft.Crm.Setup.Server.InstallConfigDatabaseAction failed. ---> System.Data.SqlClient.SqlException: Failed to load Msxmlsql.dll.
    Could not find prepared statement with handle 0.
    sp_xml_removedocument: The value supplied for parameter number 1 is invalid.
    The statement has been terminated.
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.Crm.Setup.Database.SharedDatabaseUtility.ExecuteSql(IDbConnection connection, String sql, Int32 timeout, Boolean enableTrace)
       at Microsoft.Crm.Setup.Database.StandardConfigSqlStrategy.AddSqlFileObject(SqlObjectType type, String objectName, IDbConnection connection, String fileName, Boolean upgrade, String setupStep)
       at Microsoft.Crm.Setup.Database.ReleaseBase.Install(IDbConnection connection)
       at Microsoft.Crm.Setup.Database.DatabaseInstallerBase.Install()
       at Microsoft.Crm.Setup.Server.InstallConfigDatabaseAction.Do(IDictionary parameters)
       at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- End of inner exception stack trace ---
       at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)
       at Microsoft.Crm.Setup.Server.ServerRoleInstaller.Install(IDictionary stateSaver)
       at Microsoft.Crm.Setup.Common.ComposedInstaller.InvokeInstall(Installer installer, IDictionary stateSaver)
       at Microsoft.Crm.Setup.Common.ComposedInstaller.InternalInstall(IDictionary stateSaver)
       at Microsoft.Crm.Setup.Common.ComposedInstaller.Install(IDictionary stateSaver)
       at Microsoft.Crm.Setup.Server.ServerSetup.Install(IDictionary data)
       at Microsoft.Crm.Setup.Common.SetupBase.ExecuteOperation()

    Thursday, February 24, 2011 10:51 PM

All replies

  • Hi tklenke,

    I think the problem is with Active directory or Database.

    How you have installed the SQL server?? did you installed SQL with domain user or local user?? 

    The CRM server is unable to create the database because its not in network or MSCRM_CONFIG already exists.

    So make sure you are installing CRM with domain admin user which is having local admin permissions in the CRM Server, Active Directory and SQL Server.

    Khaja Mohiddin
    Friday, February 25, 2011 12:20 PM