Cannot Install Crm 4.0

Unanswered Cannot Install Crm 4.0

  • Sunday, November 23, 2008 6:35 AM
     
     

     

    This is the first time that i am trying to install CRM 4.0 on the server. This server is a Domain Controller and on it Exchanger server 2003 is installed. Lately we also installed Office communication server 2007.

     

    When we are trying to install we get the following erros.

     

    The type initializer for 'Microsoft.Crm.LocatorService' threw an exception

    The type initializer for 'Microsoft.Crm.ServerLocatorService' threw an exception

    Input string was not in correct format.

     

    Opening the error report temp, shows the following file below

     

    System.TypeInitializationException: The type initializer for 'Microsoft.Crm.LocatorService' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Microsoft.Crm.ServerLocatorService' threw an exception. ---> System.FormatException: Input string was not in a correct format.
       at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
       at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
       at System.Int32.Parse(String s, IFormatProvider provider)
       at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)
       at System.Diagnostics.PerformanceCounterLib.get_NameTable()
       at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
       at System.Diagnostics.PerformanceCounterLib.CategoryExists(String machine, String category)
       at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName, String machineName)
       at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName)
       at Microsoft.Crm.LocatorCache.CreatePerformanceCounters()
       at Microsoft.Crm.LocatorCache..ctor()
       at Microsoft.Crm.ServerLocatorService..cctor()
       --- End of inner exception stack trace ---
       at Microsoft.Crm.LocatorService..ctor()
       at Microsoft.Crm.CrmTraceSettings.LoadScaleGroupSettings()
       at Microsoft.Crm.LocatorService..ctor()
       at Microsoft.Crm.LocatorService..cctor()
       --- End of inner exception stack trace ---
       at Microsoft.Crm.Utility.RetrieveScaleGroupId()
       at Microsoft.Crm.CrmKeySetting.Initialize(Boolean loadSettingsFromConfigDB, Guid scaleGroupId, ConfigSku configSku)
       at Microsoft.Crm.CrmKeySetting..ctor(CrmKeyType crmKeyType, Boolean loadSettingsFromConfigDB, Boolean useCachedValues, Guid scaleGroupId, ConfigSku configSku)
       at Microsoft.Crm.CrmKeySetting.CreateKeySetting(CrmKeyType keyType, ConfigSku configSku)
       at Microsoft.Crm.Setup.Server.ServerSetup.Initialize()
       at Microsoft.Crm.Setup.Server.ServerSetup.InternalMain(String[] args)

    InstallInfo.AdminTargetFolder:
    InstallInfo.AllowRun: True
    InstallInfo.CleanupRequired: False
    InstallInfo.CreateDatabase: True
    InstallInfo.CurrentFolder: D:\Documents and Settings\Administrator.SCHS\Local Settings\Temp\1\MSCRM_{C4D06218-FA6C-482F-9D3C-3429D21447EB}
    InstallInfo.InstallAlways: False
    InstallInfo.InstallingPackage: D:\Documents and Settings\Administrator.SCHS\Desktop\CRM\Server\i386\Server.msi
    InstallInfo.InstallType: Install
    InstallInfo.LocalPackage:
    InstallInfo.LogFile: D:\Documents and Settings\Administrator.SCHS\Application Data\Microsoft\MSCRM\Logs\crm40svrsetup.log
    InstallInfo.PackageName: Server.msi
    InstallInfo.RebootRequired: False
    InstallInfo.SharedInstall: False
    InstallInfo.SourceFolder: D:\Documents and Settings\Administrator.SCHS\Desktop\CRM\Server\i386
    InstallInfo.SuppressReboot: False
    InstallInfo.TargetFolder: D:\Program Files\Microsoft Dynamics CRM
    InstallInfo.UIMode: Full
    InstallInfo.UpgradeDatabase: False
    InstallInfo.UserCancel: False
    IpcInfo.NoLock: False
    ServerInstallInfo.ADRootDomainSchemeProperty:
    ServerInstallInfo.ADSdkRootDomainProperty:
    ServerInstallInfo.ADWebApplicationRootDomainProperty:
    ServerInstallInfo.AspNetServiceAccount: NetworkService
    ServerInstallInfo.AspNetServiceAccountName: NT AUTHORITY\NETWORK SERVICE
    ServerInstallInfo.AspNetServiceAccountRawName: NT AUTHORITY\NETWORK SERVICE
    ServerInstallInfo.BackupReportsOption: True
    ServerInstallInfo.BuildToBuildUpgrade: False
    ServerInstallInfo.ConfigSku: OnPremise
    ServerInstallInfo.CookieDomain:
    ServerInstallInfo.CreateGroups: True
    ServerInstallInfo.CreateWebSite: False
    ServerInstallInfo.CrmServiceAccount: NetworkService
    ServerInstallInfo.CrmServiceAccountName: NT AUTHORITY\NETWORK SERVICE
    ServerInstallInfo.CrmServiceAccountRawName: NT AUTHORITY\NETWORK SERVICE
    ServerInstallInfo.DevBox: False
    ServerInstallInfo.EncryptionKeys: Microsoft.Crm.Setup.Server.EncryptionKeys
    ServerInstallInfo.FullTextSearchLocaleId: -1
    ServerInstallInfo.IfdInternalNetworkAddressProperty:
    ServerInstallInfo.IfdIsEnabledProperty: False
    ServerInstallInfo.IfdRootDomainSchemeProperty:
    ServerInstallInfo.IfdSdkRootDomainProperty:
    ServerInstallInfo.IfdWebApplicationRootDomainProperty:
    ServerInstallInfo.InstallClientImage: False
    ServerInstallInfo.InstallEmailConnector: False
    ServerInstallInfo.KeySettings: System.Collections.Generic.List`1[Microsoft.Crm.CrmKeySetting]
    ServerInstallInfo.ReportingUrl:
    ServerInstallInfo.RolesManagerProperty: ServerRoles(None): No roles
    ServerInstallInfo.SetupMode: Advanced
    ServerInstallInfo.UpdateConfigDb: True
    ServerInstallInfo.WebServerSettings: MetabasePath=, ServerComment=, ServerBindings=
    ServerInstallInto.ConfigDBWebStoreEnabled: False
    ServerInstallInto.WebStoreEnabled: False
    ServerSystemInfo.IsSbs: False

    10:19:15|   Info| === Managed setup logging started: 11/23/2008 10:19:15 AM ===
    10:19:15|Verbose| Method entry: Microsoft.Crm.Setup.Server.ServerSetup.Initialize
    10:19:15|Verbose| Method entry: Microsoft.Crm.Setup.Common.SetupBase.Initialize
    10:19:15|Verbose| Method exit: Microsoft.Crm.Setup.Common.SetupBase.Initialize
    10:19:15|  Error| System.TypeInitializationException: The type initializer for 'Microsoft.Crm.LocatorService' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Microsoft.Crm.ServerLocatorService' threw an exception. ---> System.FormatException: Input string was not in a correct format.
       at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
       at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
       at System.Int32.Parse(String s, IFormatProvider provider)
       at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)
       at System.Diagnostics.PerformanceCounterLib.get_NameTable()
       at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
       at System.Diagnostics.PerformanceCounterLib.CategoryExists(String machine, String category)
       at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName, String machineName)
       at System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName)
       at Microsoft.Crm.LocatorCache.CreatePerformanceCounters()
       at Microsoft.Crm.LocatorCache..ctor()
       at Microsoft.Crm.ServerLocatorService..cctor()
       --- End of inner exception stack trace ---
       at Microsoft.Crm.LocatorService..ctor()
       at Microsoft.Crm.CrmTraceSettings.LoadScaleGroupSettings()
       at Microsoft.Crm.LocatorService..ctor()
       at Microsoft.Crm.LocatorService..cctor()
       --- End of inner exception stack trace ---
       at Microsoft.Crm.Utility.RetrieveScaleGroupId()
       at Microsoft.Crm.CrmKeySetting.Initialize(Boolean loadSettingsFromConfigDB, Guid scaleGroupId, ConfigSku configSku)
       at Microsoft.Crm.CrmKeySetting..ctor(CrmKeyType crmKeyType, Boolean loadSettingsFromConfigDB, Boolean useCachedValues, Guid scaleGroupId, ConfigSku configSku)
       at Microsoft.Crm.CrmKeySetting.CreateKeySetting(CrmKeyType keyType, ConfigSku configSku)
       at Microsoft.Crm.Setup.Server.ServerSetup.Initialize()
       at Microsoft.Crm.Setup.Server.ServerSetup.InternalMain(String[] args), Error, OK, Option1
    10:19:20|   Info| InputResult: OK

All Replies

  • Sunday, November 23, 2008 6:36 AM
     
     

     

    09:31:49|   Info| === Setup bootstrap logging started 23/11/2008 09:31:49 ص ===
    09:31:49|   Info| Bootstrap version: 4.0.7333.3.
    09:31:49|   Info| User: administrator.
    09:31:49|   Info| Invoked with command line: Server\i386\SetupServer.exe
    09:31:49|   Info| Running D:\Documents and Settings\Administrator.SCHS\Desktop\CRM\Server\i386\SetupServer.exe
    09:31:49|   Info| Loading bootstrap library D:\Documents and Settings\Administrator.SCHS\Desktop\CRM\Server\i386\ServerSetup.dll
    09:31:49|   Info| Microsoft Dynamics CRM is not currently installed.
    09:31:49|   Info| Closing bootstrap library D:\Documents and Settings\Administrator.SCHS\Desktop\CRM\Server\i386\ServerSetup.dll
    09:31:51|   Info| Starting download from http://go.microsoft.com/fwlink/?LinkId=94937&clcid=1033
    09:35:42|   Info| Do you really want to cancel out of Setup?, Question, Yes|No
    09:35:42|   Info| InputResult: Yes
    09:35:42|   Info| === Setup bootstrap logging ended 23/11/2008 09:35:42 ص ===
    09:35:46|   Info| === Setup bootstrap logging started 23/11/2008 09:35:46 ص ===
    09:35:46|   Info| Bootstrap version: 4.0.7333.3.
    09:35:46|   Info| User: administrator.
    09:35:46|   Info| Invoked with command line: Server\i386\SetupServer.exe
    09:35:46|   Info| Running D:\Documents and Settings\Administrator.SCHS\Desktop\CRM\Server\i386\SetupServer.exe
    09:35:46|   Info| Loading bootstrap library D:\Documents and Settings\Administrator.SCHS\Desktop\CRM\Server\i386\ServerSetup.dll
    09:35:46|   Info| Microsoft Dynamics CRM is not currently installed.
    09:35:46|   Info| Closing bootstrap library D:\Documents and Settings\Administrator.SCHS\Desktop\CRM\Server\i386\ServerSetup.dll
    09:35:48|   Info| Do not update button clicked -- proceeding with setup without update
    09:35:48|   Info| Copying installer files to local directory: 
    09:35:48|   Info| Package: D:\Documents and Settings\Administrator.SCHS\Desktop\CRM\Server\i386\Server.msi, Options: ADDLOCAL="Installer" INSTALLDIR="D:\DOCUME~1\ADMINI~1.SCH\LOCALS~1\Temp\1\MSCRM_{7505EF0A-95D0-4570-85B3-DFE1195AF4E4}" TARGETDIR="D:\DOCUME~1\ADMINI~1.SCH\LOCALS~1\Temp\1\MSCRM_{7505EF0A-95D0-4570-85B3-DFE1195AF4E4}" ALLOWRUN=1
    09:35:52|   Info| Loading bootstrap library D:\DOCUME~1\ADMINI~1.SCH\LOCALS~1\Temp\1\MSCRM_{7505EF0A-95D0-4570-85B3-DFE1195AF4E4}\ServerSetup.dll
    09:40:52|   Info| Closing bootstrap library D:\DOCUME~1\ADMINI~1.SCH\LOCALS~1\Temp\1\MSCRM_{7505EF0A-95D0-4570-85B3-DFE1195AF4E4}\ServerSetup.dll
    09:40:53|   Info| === Setup bootstrap logging ended 23/11/2008 09:40:53 ص ===
  • Sunday, November 23, 2008 6:37 AM
     
     
    09:31:49|   Info| === Setup bootstrap logging started 23/11/2008 09:31:49 ص ===
    09:31:49|   Info| Bootstrap version: 4.0.7333.3.
    09:31:49|   Info| User: administrator.
    09:31:49|   Info| === Setup bootstrap logging ended 23/11/2008 09:31:49 ص ===
    09:35:46|   Info| === Setup bootstrap logging started 23/11/2008 09:35:46 ص ===
    09:35:46|   Info| Bootstrap version: 4.0.7333.3.
    09:35:46|   Info| User: administrator.
    09:35:46|   Info| === Setup bootstrap logging ended 23/11/2008 09:35:46 ص ===
    09:35:52|   Info| === Setup bootstrap logging started 23/11/2008 09:35:52 ص ===
    09:35:52|   Info| Bootstrap version: 4.0.7333.3.
    09:35:52|   Info| User: administrator.
    09:35:52|   Info| .NET version found is 3.1.21022.0
    09:35:52|   Info| IsDotNetInstalled=1
    09:35:52|   Info| IsDrWatsonInstalled=1
    09:35:52|   Info| MSXML found is 6.20.1099
    09:35:52|   Info| IsMsXmlInstalled=1
    09:35:53|   Info| Installer path for Microsoft Visual C++ Runtime set to D:\Documents and Settings\Administrator.SCHS\Desktop\CRM\Redist\i386\VcRedist\vcredist_x86.exe
    09:35:53|   Info| IsReportViewerControlInstalled=1
    09:35:53|   Info| Sql Native Client version found is 9.0.3042
    09:35:53|   Info| IsSqlNativeClientInstalled=1
    09:36:25|   Info| .NET version found is 3.1.21022.0
    09:36:25|   Info| IsDotNetInstalled=1
    09:36:25|   Info| IsDrWatsonInstalled=1
    09:36:25|   Info| MSXML found is 6.20.1099
    09:36:25|   Info| IsMsXmlInstalled=1
    09:36:25|   Info| Installer path for Microsoft Visual C++ Runtime set to D:\Documents and Settings\Administrator.SCHS\Desktop\CRM\Redist\i386\VcRedist\vcredist_x86.exe
    09:36:25|   Info| IsReportViewerControlInstalled=1
    09:36:25|   Info| Sql Native Client version found is 9.0.3042
    09:36:25|   Info| IsSqlNativeClientInstalled=1
    09:36:27|   Info| Installing Microsoft Visual C++ Runtime
    09:37:08|   Info| Installation of Microsoft Visual C++ Runtime has completed. Exit code: 0. Result: Version installed: 8.0
    09:38:17|   Info| === Setup bootstrap logging ended 23/11/2008 09:38:17 ص ===
    09:40:52|   Info| === Setup bootstrap logging started 23/11/2008 09:40:52 ص ===
    09:40:52|   Info| Bootstrap version: 4.0.7333.3.
    09:40:52|   Info| User: administrator.
    09:40:52|   Info| Managed Setup exited with code -2.
    09:40:52|   Info| === Setup bootstrap logging ended 23/11/2008 09:40:52 ص ===

     

  • Sunday, November 23, 2008 6:39 AM
     
     

    okay i posted the various logs here, not sure what to do. I read microsoft support and removed and installed a fresh copy of framework 3.0. Did not work, the other solution is to reset performance counters, which i dont intend on doing.

     

    So from the logs what can you guys find out.

     

    Thanks Sheldon

     

  • Sunday, November 23, 2008 5:33 PM
    Owner
     
     
    Take a look at this post and see if you can glean any information.  Are you positive that the media you are using for the install is not corrupt in any way?
  • Monday, November 24, 2008 4:28 AM
     
     

    Media corrupt ?? not sure! its original, but thats what i wanted to find out from the logs. If the logs i posted are clean then the media might be faulty

  • Monday, November 24, 2008 12:28 PM
    Owner
     
     

    Not sure what you mean by original but if it was downloaded, I suggest you download a new copy and try it the install again with the new copy. 

     

    Best of Luck