locked
CRM 4.0 RTM installation issue RRS feed

  • Question

  • Hi,

     

    I keep getting this error when I try to install the CRM 4.0 Platform Role:

     

    System.ArgumentException: Invalid domain name. Domain name is either invalid or unreachable.

     

    Thanks

     

    /Casper

     

     

    Code Snippet

    19:17:00|   Info| Initializing install strategy...
    19:17:00|   Info| Loading Releases...
    19:17:00|   Info| Installing Database 'MSCRM_CONFIG'
    19:17:02|   Info| Executing IDiffBuilder.Pass1 ...
    19:17:03|   Info| Creating table AuthenticationSettings
    19:17:03|   Info| Creating table ClientPatchContainedInfo
    19:17:03|   Info| Creating table ClientPatchDetails
    19:17:03|   Info| Creating table ClientPatchRequiredInfo
    19:17:03|   Info| Creating table ConfigSettings
    19:17:03|   Info| Creating table CrmKey
    19:17:03|   Info| Creating table CrmKeySetting
    19:17:03|   Info| Creating table DataEncryptionKey
    19:17:03|   Info| Creating table Deployment
    19:17:04|   Info| Creating table Feature
    19:17:04|   Info| Creating table FeatureAccessRightMap
    19:17:04|   Info| Creating table FeaturePrivilegeMap
    19:17:04|   Info| Creating table Notification
    19:17:04|   Info| Creating table Organization
    19:17:04|   Info| Creating table OrganizationFeatureMap
    19:17:05|   Info| Creating table OrganizationMaintenanceJobs
    19:17:05|   Info| Creating table Privilege
    19:17:05|   Info| Creating table ReservedNames
    19:17:05|   Info| Creating table ReservedReasonType
    19:17:05|   Info| Creating table ScaleGroupNotification
    19:17:05|   Info| Creating table ScaleGroupOrganizationMaintenanceJobs
    19:17:05|   Info| Creating table SecurityRole
    19:17:05|   Info| Creating table SecurityRolePrivileges
    19:17:05|   Info| Creating table Server
    19:17:05|   Info| Creating table ServerSettings
    19:17:06|   Info| Creating table SqlGovernorClientConfiguration
    19:17:06|   Info| Creating table SqlGovernorRequests
    19:17:06|   Info| Creating table SqlGovernorServiceCategoryDescription
    19:17:06|   Info| Creating table SqlGovernorServiceDescription
    19:17:06|   Info| Creating table SqlGovernorServiceGroupDescription
    19:17:06|   Info| Creating table SqlGovernorSqlServers
    19:17:06|   Info| Creating table SqlGovernorSqlServersConfig
    19:17:06|   Info| Creating table SystemUser
    19:17:07|   Info| Creating table SystemUserAuthentication
    19:17:07|   Info| Creating table SystemUserOrganizations
    19:17:07|   Info| Creating table SystemUserRoles
    19:17:07|   Info| Creating relationships ...
    19:17:07|   Info| Executing IDiffBuilder.Pass2 ...
    19:17:07|   Info| Installing Stored Procedures ...
    19:17:07|   Info| Name = p_GetAllOrgsFromAuthInfo, Description = Get all the user's organizations based on authentication information, Target = All
    19:17:07|   Info| Name = p_GetAllOrgsFromCrmUserId, Description = Get all the user's organizations based on CRM UserId, Target = All
    19:17:07|   Info| Name = p_GetCrmUserId, Description = Get the crm user id based on the authentication information and organization id, Target = All
    19:17:07|   Info| Name = p_GetDefaultOrgFromAuthInfo, Description = Gets the default organization of the user based on the authentication information, Target = All
    19:17:07|   Info| Name = p_GetPrivilegesInRole, Description = gets privileges in a role, Target = All
    19:17:07|   Info| Name = p_GetUsersInRole, Description = gets users in a role, Target = All
    19:17:08|   Info| Name = p_CheckPrivilege, Description = verifies if user has specified privilege, Target = All
    19:17:08|   Info| Name = p_CleanupSiteWideNotifications, Description = Cleanup site-wide notifications, Target = All
    19:17:08|   Info| Executing Sql Scripts ...
    19:17:08|   Info| File = Scripts\Constants.sql, Message = Add required database constants to mimic enumerations, Target = All
    19:17:09|   Info| File = Scripts\Constraints.sql, Message = Add required database constraints, Target = All
    19:17:09|   Info| File = Scripts\SqlGovernor.sql, Message = Add required Sql Governor values, Target = All
    19:17:09|   Info| File = Scripts\Reserved.sql, Message = Add required reserved names for config database, Target = All
    19:17:09|   Info| File = Scripts\SecurityRolesOnPremiseAndSPLA.sql, Message = Add pre-defined security roles, Target = OnPremise, SPLA
    19:17:09|   Info| File = Scripts\PrivilegesOnPremiseAndSPLA.sql, Message = Add pre-defined security privileges, Target = OnPremise, SPLA
    19:17:10|   Info| Installing Sql Jobs ...
    19:17:10|   Info| Name = .HardDelete, Description = Add hard delete job, Target = All
    19:17:11|   Info| Name = .SiteWideCleanup, Description = Add site-wide cleanup job, Target = All
    19:17:12|   Info| Executing IDiffBuilder.Pass1 ...
    19:17:12|   Info| Creating relationships ...
    19:17:12|   Info| Executing IDiffBuilder.Pass2 ...
    19:17:12|   Info| Installing Stored Procedures ...
    19:17:12|   Info| Name = p_GetAllOrgsFromAuthInfo, Description = Get all the user's organizations based on authentication information, Target = All
    19:17:12|   Info| Name = p_GetAllOrgsFromCrmUserId, Description = Get all the user's organizations based on CRM UserId, Target = All
    19:17:12|   Info| Name = p_GetCrmUserId, Description = Get the crm user id based on the authentication information and organization id, Target = All
    19:17:12|   Info| Name = p_GetDefaultOrgFromAuthInfo, Description = Gets the default organization of the user based on the authentication information, Target = All
    19:17:12|   Info| Name = p_GetDisabledPrivileges, Description = Returns disabled privilege Ids for organization, Target = All
    19:17:12|   Info| Name = p_GetDisabledAccessRights, Description = Returns disabled AccessRights for organization, Target = All
    19:17:12|   Info| Name = p_DisableCreateUser, Description = Disables CreateUser feature for organization, Target = All
    19:17:12|   Info| Name = p_SetOrganizationCurrentStorageSize, Description = Set organization current db size. Disables CreateEntity feature if size exceeds max size for organization, Target = All
    19:17:12|   Info| Name = p_GetOrganizationFeaturePurchaseStatus, Description = Determines if an organization has purchased a feature, Target = All
    19:17:12|   Info| Name = p_GetPrivilegesInRole, Description = gets privileges in a role, Target = All
    19:17:13|   Info| Name = p_GetUsersInRole, Description = gets users in a role, Target = All
    19:17:13|   Info| Name = p_CheckPrivilege, Description = verifies if user has specified privilege, Target = All
    19:17:13|   Info| Name = p_CleanupSiteWideNotifications, Description = Cleanup site-wide notifications, Target = All
    19:17:13|   Info| Name = fn_GetTimePart, Description = Get Time and Minutes as float for comparison, Target = All
    19:17:13|   Info| Name = p_UpdateCurrentActiveKey, Description = Updates and returns the current active CrmKey, Target = All
    19:17:13|   Info| Executing Sql Scripts ...
    19:17:13|   Info| File = Scripts\Constants.sql, Message = Add required database constants to mimic enumerations, Target = All
    19:17:13|   Info| File = Scripts\SqlGovernor.sql, Message = Add required Sql Governor values, Target = All
    19:17:13|   Info| File = Scripts\SecurityRolesOnPremiseAndSPLA.sql, Message = Add pre-defined security roles, Target = OnPremise, SPLA
    19:17:13|   Info| File = Scripts\PrivilegesOnPremiseAndSPLA.sql, Message = Add pre-defined security privileges, Target = OnPremise, SPLA
    19:17:13|   Info| File = Upgrade\UpgradeEA2.sql, Message = Upgrade settings, Target = All
    19:17:13|   Info| File = Scripts\Features.sql, Message = Add features., Target = All
    19:17:13|   Info| Installing Sql Jobs ...
    19:17:15|  Error| System.Exception: Action Microsoft.Crm.Setup.Server.InstallConfigDatabaseAction failed. ---> Microsoft.Crm.CrmArgumentException: Invalid domain name. Domain name is either invalid or unreachable. ---> System.ArgumentException: Invalid domain name. Domain name is either invalid or unreachable.
       --- End of inner exception stack trace ---
       at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.GetCaseSafeName(String domain, String accountName)
       at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.GetCaseSafeName(String name)
       at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.Create(String name, Guid defaultOrganizationId)
       at Microsoft.Crm.Setup.Database.StandardConfigSqlStrategy.AddInitialUser()
       at Microsoft.Crm.Setup.Database.DatabaseInstallerBase.Install()
       at Microsoft.Crm.Setup.Server.InstallConfigDatabaseAction.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
    19:17:51|   Info| InputResult: Cancel
    19:17:52|  Error| Install exception.System.Exception: Action Microsoft.Crm.Setup.Server.InstallConfigDatabaseAction failed. ---> Microsoft.Crm.CrmArgumentException: Invalid domain name. Domain name is either invalid or unreachable. ---> System.ArgumentException: Invalid domain name. Domain name is either invalid or unreachable.
       --- End of inner exception stack trace ---
       at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.GetCaseSafeName(String domain, String accountName)
       at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.GetCaseSafeName(String name)
       at Microsoft.Crm.Admin.AdminService.ConfigDBSecurity.SystemUserService.Create(String name, Guid defaultOrganizationId)
       at Microsoft.Crm.Setup.Database.StandardConfigSqlStrategy.AddInitialUser()
       at Microsoft.Crm.Setup.Database.DatabaseInstallerBase.Install()
       at Microsoft.Crm.Setup.Server.InstallConfigDatabaseAction.Do(IDictionary parameters)
       at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
       --- End of inner exception stack trace ---
       at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
       at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)
       at Microsoft.Crm.Setup.Server.ConfigDBInstaller.Install(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.Server.ServerSetup.Run()
    19:17:52|   Info| Microsoft Dynamics CRM Server install Failed.
    19:17:52|   Info| Microsoft Dynamics CRM Server Setup did not complete successfully.

    Action Microsoft.Crm.Setup.Server.InstallConfigDatabaseAction failed.
    Invalid domain name. Domain name is either invalid or unreachable.
    Invalid domain name. Domain name is either invalid or unreachable.

     

     

    Friday, December 21, 2007 6:29 PM

Answers

  • Hi,

     

    After talking to MS Support we figured out that it was because we have had a failing DC in our AD that haven't been removed properly. If you run the script below using cscript on the computer you want to install CRM on then it will tell you the names of the DCs in the domain.

     

     

    Code Block

    On Error Resume Next

     

    Const ADS_SCOPE_SUBTREE = 2

     

    Set objRootDSE = GetObject("LDAP://RootDSE")

    strConfigurationNC = objRootDSE.Get("configurationNamingContext")

     

    Set objConnection = CreateObject("ADODB.Connection")

    Set objCommand =   CreateObject("ADODB.Command")

    objConnection.Provider = "ADsDSOObject"

    objConnection.Open "Active Directory Provider"

    Set objCommand.ActiveConnection = objConnection

     

    objCommand.Properties("Page Size") = 1000

    objCommand.Properties("Searchscope") = ADS_SCOPE_SUBTREE

     

    objCommand.CommandText = _

        "SELECT ADsPath FROM 'LDAP://" & strConfigurationNC & "' WHERE objectClass='nTDSDSA'" 

    Set objRecordSet = objCommand.Execute

     

    objRecordSet.MoveFirst

    Do Until objRecordSet.EOF

        Set objParent = GetObject(GetObject(objRecordset.Fields("ADsPath")).Parent)

        WScript.Echo objParent.CN

        objRecordSet.MoveNext

    Loop

     

     

    Mine returned two DCs but only one of them was actually powered on. The other was removed a year ago, but apparently not correctly in AD. I (with a little help from a supporter) removed the failing DC according to this article and then CRM installed perfectly...

     

    http://support.microsoft.com/default.aspx?scid=kb%3BEN-US%3B216498

     

    I really hope this will help you guys, becasue I've spend a lot of time on this...

     

    Best Regards

     

    Casper Jensen

    CRM Extensions

    www.crmextensions.com

    Friday, January 4, 2008 9:22 PM

All replies

  • Some people will tell you that CRM does not us AD anymore, but that is not the case.  It's better than 1.x but clearly you can't find the domain name.  Often I have made the mistake of not believing the log, but there it is.

     

    Why not start with DNS resolution.  Or SPNs?

     

    How did you add the member server to the domain?

     

    What does netdiag tell you?

     

    Can you resolve the DC with Setspn or the SQL server?

     

    Are there latent DNS records or WINS records in the forest that are causing server name errors?

     

    Were the authentication groups created in the OU during the install?

     

    Check these out and get back to us.

    /:>

     

    Thursday, December 27, 2007 2:56 PM
    Moderator
  • Hi Curtis

     

    Below is the output from setspn. I'm not into AD/SPN at all so I really don't know if this is good or bad Smile

    Code Block

    C:\Program Files\Support Tools>setspn -l crm4platform1
    Registered ServicePrincipalNames for CN=CRM4PLATFORM1,OU=Servers,OU=CRMExtension
    s,DC=crmextensions,DC=local:
        HOST/CRM4PLATFORM1
        HOST/crm4platform1.crmextensions.local

    C:\Program Files\Support Tools>setspn -l ad
    Registered ServicePrincipalNames for CN=AD,OU=Domain Controllers,DC=crmextension
    s,DC=local:
        ldap/ad.crmextensions.local/DomainDnsZones.crmextensions.local
        ldap/ad.crmextensions.local/ForestDnsZones.crmextensions.local
        DNS/ad.crmextensions.local
        exchangeAB/AD
        exchangeAB/ad.crmextensions.local
        GC/ad.crmextensions.local/crmextensions.local
        HOST/ad.crmextensions.local/crmextensions.local
        HOST/ad.crmextensions.local/CRMEXTENSIONS
        ldap/15f866c4-fe47-4682-9ce4-4b36c69e28ed._msdcs.crmextensions.local
        ldap/ad.crmextensions.local/CRMEXTENSIONS
        ldap/AD
        ldap/ad.crmextensions.local
        ldap/ad.crmextensions.local/crmextensions.local
        NtFrs-88f5d2bd-b646-11d2-a6d3-00c04fc9b232/ad.crmextensions.local
        E3514235-4B06-11D1-AB04-00C04FC2DCD2/15f866c4-fe47-4682-9ce4-4b36c69e28ed/cr
    mextensions.local
        HOST/AD
        HOST/ad.crmextensions.local

    C:\Program Files\Support Tools>setspn -l sql
    Registered ServicePrincipalNames for CN=SQL,OU=Servers,OU=CRMExtensions,DC=crmex
    tensions,DC=local:
        MSSQLSvc/sql.crmextensions.local:1433
        HOST/SQL
        HOST/sql.crmextensions.local

     

     

     

     

    Here's netdiag from crm4platform1:

    Code Block

    ...................................

        Computer Name: CRM4PLATFORM1
        DNS Host Name: crm4platform1.crmextensions.local
        System info : Microsoft Windows Server 2003 R2 (Build 3790)
        Processor : x86 Family 15 Model 4 Stepping 8, GenuineIntel
        List of installed hotfixes :
            KB921503
            KB924667-v2
            KB925398_WMP64
            KB925902
            KB926122
            KB927891
            KB929123
            KB930178
            KB931784
            KB932168
            KB933729
            KB933854
            KB935839
            KB935840
            KB936021
            KB936357
            KB936782
            KB938127
            KB938127-IE7
            KB941202
            KB941568
            KB941569
            KB942615
            KB942615-IE7
            KB942763
            KB942840
            KB943460
            KB944653
            Q147222


    Netcard queries test . . . . . . . : Passed

     

    Per interface results:

        Adapter : Local Area Connection

            Netcard queries test . . . : Passed

            Host Name. . . . . . . . . : crm4platform1
            IP Address . . . . . . . . : 192.168.1.30
            Subnet Mask. . . . . . . . : 255.255.255.0
            Default Gateway. . . . . . : 192.168.1.1
            Dns Servers. . . . . . . . : 192.168.1.10


            AutoConfiguration results. . . . . . : Passed

            Default gateway test . . . : Passed

            NetBT name test. . . . . . : Passed
            [WARNING] At least one of the <00> 'WorkStation Service', <03> 'Messenge
    r Service', <20> 'WINS' names is missing.

            WINS service test. . . . . : Skipped
                There are no WINS servers configured for this interface.


    Global results:


    Domain membership test . . . . . . : Passed


    NetBT transports test. . . . . . . : Passed
        List of NetBt transports currently configured:
            NetBT_Tcpip_{D3DF0FE2-91CF-4722-B8AE-09DF980302F1}
        1 NetBt transport currently configured.


    Autonet address test . . . . . . . : Passed


    IP loopback ping test. . . . . . . : Passed


    Default gateway test . . . . . . . : Passed


    NetBT name test. . . . . . . . . . : Passed
        [WARNING] You don't have a single interface with the <00> 'WorkStation Servi
    ce', <03> 'Messenger Service', <20> 'WINS' names defined.


    Winsock test . . . . . . . . . . . : Passed


    DNS test . . . . . . . . . . . . . : Passed


    Redir and Browser test . . . . . . : Passed
        List of NetBt transports currently bound to the Redir
            NetBT_Tcpip_{D3DF0FE2-91CF-4722-B8AE-09DF980302F1}
        The redir is bound to 1 NetBt transport.

        List of NetBt transports currently bound to the browser
            NetBT_Tcpip_{D3DF0FE2-91CF-4722-B8AE-09DF980302F1}
        The browser is bound to 1 NetBt transport.


    DC discovery test. . . . . . . . . : Passed


    DC list test . . . . . . . . . . . : Passed


    Trust relationship test. . . . . . : Passed
        Secure channel for domain 'CRMEXTENSIONS' is to '\\ad.crmextensions.local'.


    Kerberos test. . . . . . . . . . . : Passed


    LDAP test. . . . . . . . . . . . . : Passed


    Bindings test. . . . . . . . . . . : Passed


    WAN configuration test . . . . . . : Skipped
        No active remote access connections.


    Modem diagnostics test . . . . . . : Passed

    IP Security test . . . . . . . . . : Skipped

        Note: run "netsh ipsec dynamic show /?" for more detailed information


    The command completed successfully

     

     

    Sunday, December 30, 2007 9:38 AM
  • Hi,

     

    Regarding the Security Groups in AD:

     

    Created PrivReportingGroup: No Members

    Created PrivUserGroup: crm4platform1 as member

    Created ReportingGroup: No members

    Created SQLAccessGroup: crm4platform1 as member

    Created UserGroup: No members

     

    Thanks

     

    /Casper

    Sunday, December 30, 2007 10:09 AM
  • Have you found a resolution to this problem?  Am experiencing the exact same problem.

     

    Windows 2003 Server was joined to domain after all service packs added.  Then installed new instance of SQL 2005 and installed SP2.  Then attempted to install CRM 4.0 but received this error message trying to install.  It did create all of the accounts listed above to AD. 

     

    The Domain Controller is on a seperate server, however, SQL, SQL reporting, and CRM 4.0 are all located on the same server.  NetDiag comes back as pass on all accounts execpt WINS which is not installed.  There is full connectivity to the domain controller.

     

    Directly following this error message I receive an error message stating the the MSCRM_CONFIG database already exists.  Which it did not prior to initiating the installation of MSCRM 4.0

     

    This is fresh install of MS CRM.

     

    Any assistance would be greatly appreciated.

     

    Thursday, January 3, 2008 5:58 AM
  • Hi,

     

    I've created a Support Ticket and expect to have a resolution soon. I'll post the result here when I get it to work. Stay tuned...

    Thursday, January 3, 2008 1:09 PM
  • Please DO post updates here, we're facing the same problem.

     

    Friday, January 4, 2008 10:50 AM
  • Hi,

     

    After talking to MS Support we figured out that it was because we have had a failing DC in our AD that haven't been removed properly. If you run the script below using cscript on the computer you want to install CRM on then it will tell you the names of the DCs in the domain.

     

     

    Code Block

    On Error Resume Next

     

    Const ADS_SCOPE_SUBTREE = 2

     

    Set objRootDSE = GetObject("LDAP://RootDSE")

    strConfigurationNC = objRootDSE.Get("configurationNamingContext")

     

    Set objConnection = CreateObject("ADODB.Connection")

    Set objCommand =   CreateObject("ADODB.Command")

    objConnection.Provider = "ADsDSOObject"

    objConnection.Open "Active Directory Provider"

    Set objCommand.ActiveConnection = objConnection

     

    objCommand.Properties("Page Size") = 1000

    objCommand.Properties("Searchscope") = ADS_SCOPE_SUBTREE

     

    objCommand.CommandText = _

        "SELECT ADsPath FROM 'LDAP://" & strConfigurationNC & "' WHERE objectClass='nTDSDSA'" 

    Set objRecordSet = objCommand.Execute

     

    objRecordSet.MoveFirst

    Do Until objRecordSet.EOF

        Set objParent = GetObject(GetObject(objRecordset.Fields("ADsPath")).Parent)

        WScript.Echo objParent.CN

        objRecordSet.MoveNext

    Loop

     

     

    Mine returned two DCs but only one of them was actually powered on. The other was removed a year ago, but apparently not correctly in AD. I (with a little help from a supporter) removed the failing DC according to this article and then CRM installed perfectly...

     

    http://support.microsoft.com/default.aspx?scid=kb%3BEN-US%3B216498

     

    I really hope this will help you guys, becasue I've spend a lot of time on this...

     

    Best Regards

     

    Casper Jensen

    CRM Extensions

    www.crmextensions.com

    Friday, January 4, 2008 9:22 PM
  • I get the following error when running your script with on error resume next removed. The directory property cannot be found in the cache

     

    when leaving on error resume next, the script never stops executing... but returns nothing.

     

    I did check our DC. All seems powered up.  our ad is split over 2 sites.

     

    is there any other way to check if one of the dcs is causing the issue?

     

    thanks

    Tuesday, January 8, 2008 5:21 AM
  • ok.. got it working...

     

    it returns 4 dc's

     

    2 of my dcs was not pingable... fixed that... and YES... it installed

     

    thanks

     

    u da man!!!

    Tuesday, January 8, 2008 9:35 AM
  • How have you fixed the problem ? Opened the firewall or was it a problem with the servers ?

     

    Which ports need the setup script to connect to these servers ?

     

    Thanks,

     

    Roland

     

    Tuesday, January 8, 2008 3:34 PM
  • I did not have to make changes on firewall.  Looked like the subnet the server was on... did not have route to the DC on the UK side.  This still needs to be fixed. Moved the server to diff subnet.. for now... and i could ping the dc.

     

    Also... dont know if this made diff, i moved it to less restrictive OU in AD.  Maybe there was some domain policy stopping me.

     

    I need to spend some time trying to retrace my steps to find out exactly why i could not ping the DC's in the UK... should be simple issue for the network guys Smile

     

    Anyway... i'm on to the next error now

     

    when trying to open CRM after install, i get the following error

     

    'Caller does not have enough privilege to set CallerOriginToken to the specified value'

     

    I think it might have something todo with delegation permissions... but have not figured it out yet

     

    Wednesday, January 9, 2008 4:45 AM
  • Have you found a resolution to this problem?  Am experiencing the exact same problem.

     

    Windows 2003 Server was joined to domain after all service packs added.  Then installed new instance of SQL 2005 and installed SP2.  Then attempted to install CRM 4.0 but received this error message trying to install.  It did create all of the accounts listed above to AD. 

     

    The Domain Controller is on a seperate server, however, SQL, SQL reporting, and CRM 4.0 are all located on the same server.  NetDiag comes back as pass on all accounts execpt WINS which is not installed.  There is full connectivity to the domain controller.

     

    Directly following this error message I receive an error message stating the the MSCRM_CONFIG database already exists.  Which it did not prior to initiating the installation of MSCRM 4.0

     

    This is fresh install of MS CRM.

     

    Any assistance would be greatly appreciated.



    ----- I have an identical issue! Does anyone know the solultion? Much appreciated.


    Tuesday, January 15, 2008 6:27 PM
  •  

    We did have a failed Domain Controller that had not been properly removed from Active Directory. 

     

    You can use the script posted earlier and run it on your new CRM server to see if you have any failed DC records in Active directory.  If you do you can remove them by following the directions here:

     

    http://www.petri.co.il/delete_failed_dcs_from_ad.htm

     

     

    Tuesday, January 15, 2008 6:33 PM
  • There was an extra space on line 34 of the script that was causing Synatax Errors.

    Here is the correct script that will work. Save it on your hard drive with .vbs extension (for ex: FindFailingDC.vbs). Go to the folder you saved it at and type in: cscript name (for ex: cscript FindFailingDC.vbs) Make sure you are loged in as admin.


    On Error Resume Next

     

    Const ADS_SCOPE_SUBTREE = 2

     

    Set objRootDSE = GetObject("LDAP://RootDSE")

    strConfigurationNC = objRootDSE.Get("configurationNamingContext")

     

    Set objConnection = CreateObject("ADODB.Connection")

    Set objCommand =   CreateObject("ADODB.Command")

    objConnection.Provider = "ADsDSOObject"

    objConnection.Open "Active Directory Provider"

    Set objCommand.ActiveConnection = objConnection

     

    objCommand.Properties("Page Size") = 1000

    objCommand.Properties("Searchscope") = ADS_SCOPE_SUBTREE

     

    objCommand.CommandText = _
        "SELECT ADsPath FROM 'LDAP://" & strConfigurationNC & "' WHERE objectClass='nTDSDSA'" 

    Set objRecordSet = objCommand.Execute

     

    objRecordSet.MoveFirst

    Do Until objRecordSet.EOF

        Set objParent = GetObject(GetObject(objRecordset.Fields("ADsPath")).Parent)

        WScript.Echo objParent.CN

        objRecordSet.MoveNext

    Loop

    I did have 1 unaccounted for DC on my network.

    Here is the link to instructions how to remove it.

    http://support.microsoft.com/default.aspx?scid=kb;EN-US;216498

    Removing it solved the problem.

    Tuesday, January 15, 2008 7:54 PM
  • I had the same problem and your solution worked perfectly, thanks!

     

    I was installing in a segregated test environment which has a vm snapshot of our local production DC.

    The DC still had entries for all the other DC's in our domain.

    After removing them, the Dymanics 4.0 install completed successfully.

    Friday, January 18, 2008 12:27 PM
  •  

    Is there a way to make CRM 4 install without complaining about a AD server being down?

     

    Lets say you have 10 AD servers.... 1 is down because of a remote site being down.....

     

    We cannot remove it from AD... cause that server will be up again ....

     

    But it might only be up 1 week time..... and we have to get CRM installed now...

     

    Why doesn't CRM just reference the local active logon server?

     

     

    Thursday, March 27, 2008 10:08 AM
  • I got the same problem.

     

    It's impossible for me to do this.

     

    I migrate a 3.0 to 4.0 on a domain containing 42 domain controller and about 7000 computers. Administrators won't let me clean active directory, only because i want to instal a software Indifferent

     

    It's crazy!

     

    Is there other options available?

    Thursday, May 1, 2008 1:20 PM