Unanswered AppFabric Caching install fails

  • Wednesday, November 18, 2009 9:15 PM
     
     
    I am having trouble installing AppFabric Caching on my Win 7 x64 workstation.
    Below is the error I get. Any ideas?

    Microsoft.ApplicationServer.Setup.Core.SetupException: Failed to apply Distributed Cache Configuration ---> Microsoft.ApplicationServer.Setup.Core.SetupException: Failed to apply Distributed Cache Configuration

    at Microsoft.ApplicationServer.Setup.Configuration.ConfigurationOperations.AddDistributedCacheConfiguration(ConfigurationSettings settings)

    at Microsoft.ApplicationServer.Setup.Configuration.ConfigurationSession.ExecuteAndContinue(ConfigurationAction action)

    --- End of inner exception stack trace ---

    at Microsoft.ApplicationServer.Setup.Program.Main(String[] args)



    Ivan Bondy - MCPD, MCDBA, MCSA, MCTS - Sharepoint consultant

All Replies

  • Thursday, November 19, 2009 7:21 AM
     
     
    Create the appropriate database on sql server.
  • Thursday, November 19, 2009 8:47 AM
     
     

    Ivan,

    Please send us the setup log file (present in %temp% folder say "C:\Users\<username>\AppData\Local\Temp") to know the root cause of the failure. Log file name starts with "DistributedCacheAppServerConfig" (example, C:\Users\<username>\AppData\Local\Temp\DistributedCacheAppServerConfig(2009-10-22 19-07-42).log).

    Thanks
    Shankar

  • Thursday, November 19, 2009 9:33 AM
     
     
    I have the exact same error. My DistributedCacheAppServerConfig(2009-11-19 10-34-07) looks like this:

    2009-11-19 10:34:07, Info                  DCACHE Working as silent install
    2009-11-19 10:34:07, Info                  DCACHE Hostname is lws-prod-vcs2
    2009-11-19 10:34:08, Info                  DCACHE Install path: C:\Windows\System32\ApplicationServerExtensions
    2009-11-19 10:34:08, Info                  DCACHE Service install requested.
    2009-11-19 10:34:08, Info                  DCACHE Admin install requested.
    2009-11-19 10:34:08, Info                  DCACHE CLUSTERSIZE=Small
    2009-11-19 10:34:08, Info                  DCACHE PROVIDER=XML
    2009-11-19 10:34:08, Info                  DCACHE CONNECTIONSTRING=\\lws-prod-vcs2\velocity$
    2009-11-19 10:34:08, Info                  DCACHE SERVICEPORT=22233
    2009-11-19 10:34:08, Info                  DCACHE CLUSTERPORT=22234
    2009-11-19 10:34:08, Info                  DCACHE ARBITRATORPORT=22235
    2009-11-19 10:34:08, Info                  DCACHE REPLICATIONPORT=22236
    2009-11-19 10:34:08, Info                  DCACHE UNBLOCKSERVICE=False
    2009-11-19 10:34:08, Info                  DCACHE UNBLOCKFILESHARING=False
    2009-11-19 10:34:08, Info                  DCACHE UNBLOCKREMOTEADMIN=False
    2009-11-19 10:34:08, Info                  DCACHE Service logs folder Logs already exists.
    2009-11-19 10:34:08, Info                  DCACHE Admin logs folder AdminLogs already exists.
    2009-11-19 10:34:08, Info                  DCACHE PROVIDER=xml
    2009-11-19 10:34:08, Info                  DCACHE Testing provider connection for provider=xml connstring=\\lws-prod-vcs2\velocity$
    2009-11-19 10:34:08, Info                  DCACHE Microsoft.Data.Caching.DataCacheException: ErrorCode<ERRCMS0004>:SubStatus<ES0001>:Cluster configuration file (filename:"\\lws-prod-vcs2\velocity$\ClusterConfig.xml") not found.
       at Microsoft.Data.Caching.ConfigFile.ThrowException(Int32 errorCode, String param)
       at Microsoft.Data.Caching.GlobalConfigReader.LoadConfigurationFromFile(String path, Boolean throwIfSectionNotFound)
       at Microsoft.Data.Caching.GlobalConfigReader.Init(String path, Boolean throwIfSectionNotFound)
       at Microsoft.Data.Caching.GlobalConfigReaderWriter..ctor(String path)
       at Microsoft.Data.Caching.ClusterConfigurationFactory.GetEditor(ClusterConfigElement cs)
       at Microsoft.Data.Caching.InstallConfig.Program.TryGetClusterConfigurationEditor(String& errorMessage)
    2009-11-19 10:34:08, Info                  DCACHE Test connection failed.
    2009-11-19 10:34:08, Info                  DCACHE Creating new config file in the share.
    2009-11-19 10:34:08, Info                  DCACHE New file created. Testing connection again.
    2009-11-19 10:34:08, Info                  DCACHE Test connection succeeded.
    2009-11-19 10:34:08, Info                  DCACHE No hosts present in cluster.
    2009-11-19 10:34:08, Info                  DCACHE CLUSTERSIZE=Small
    2009-11-19 10:34:08, Info                  DCACHE Saving cluster size...
    2009-11-19 10:34:08, Info                  DCACHE Setting CAS config...
    2009-11-19 10:34:08, Info                  DCACHE Adding this host to cluster...
    2009-11-19 10:34:08, Info                  DCACHE Updating local config file C:\Windows\System32\ApplicationServerExtensions\DistributedCache.exe.config
    2009-11-19 10:34:08, Info                  DCACHE Read XML share permissions, sharePath = \\lws-prod-vcs2\velocity$, shareRoot = \\lws-prod-vcs2\velocity$, serverName = lws-prod-vcs2, shareName = velocity$
    2009-11-19 10:34:08, Info                  DCACHE Setting share permissions for account NT AUTHORITY\NETWORK SERVICE
    2009-11-19 10:34:08, Info                  DCACHE Setting share folder permissions for account NT AUTHORITY\NETWORK SERVICE
    2009-11-19 10:34:08, Info                  DCACHE Setting share file permissions for account NT AUTHORITY\NETWORK SERVICE
    2009-11-19 10:34:08, Info                  DCACHE Cluster and local configuration successful.
    2009-11-19 10:34:08, Info                  DCACHE Installing service
    2009-11-19 10:34:09, Info                  DCACHE Service installed. Configuring service to restart after 1 minute on crash
    2009-11-19 10:34:09, Info                  DCACHE Processing ETW manifest, install=True manifestLocation=C:\Windows\System32\ApplicationServerExtensions\Manifests
    2009-11-19 10:34:09, Info                  DCACHE ETW manifest processing succeeded.
    2009-11-19 10:34:09, Info                  DCACHE Modifying Windows firewall settings...
    2009-11-19 10:34:09, Warning               DCACHE Windows Firewall is disabled.
    2009-11-19 10:34:09, Info                  DCACHE Registering service with Event Log
    2009-11-19 10:34:10, Info                  DCACHE Created Event log registry key SYSTEM\CurrentControlSet\Services\Eventlog\Application\DistributedCache with value C:\Windows\Microsoft.NET\Framework\v2.0.50727\EventLogMessages.dll
    2009-11-19 10:34:10, Info                  DCACHE Setting local permissions
    2009-11-19 10:34:10, Info                  DCACHE Adding access for NT AUTHORITY\NETWORK SERVICE on directory C:\Windows\System32\ApplicationServerExtensions\Logs
    2009-11-19 10:34:10, Info                  DCACHE Adding access for NT AUTHORITY\NETWORK SERVICE on registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Distributed Cache\Version
    2009-11-19 10:34:10, Info                  DCACHE Adding access for NT AUTHORITY\NETWORK SERVICE on registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\DistributedCache
    2009-11-19 10:34:10, Info                  DCACHE Installing Performance Monitor counters
    2009-11-19 10:34:19, Info                  DCACHE Updating security settings
    2009-11-19 10:34:19, Info                  DCACHE Refreshing cluster config in existing cluster hosts...
    2009-11-19 10:34:21, Info                  DCACHE Admin tool test connection successful.
    2009-11-19 10:34:21, Info                  DCACHE Updating configuration store connection values in registry
    2009-11-19 10:34:21, Info                  DCACHE Installing Snap-in for Windows PowerShell
    2009-11-19 10:34:21, Error                 DCACHE System.InvalidOperationException: Unable to get installer types in the C:\Windows\System32\ApplicationServerExtensions\AdminPS.dll assembly. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
       at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
       at System.Reflection.Module.GetTypes()
       at System.Configuration.Install.AssemblyInstaller.GetInstallerTypes(Assembly assem)
       at System.Configuration.Install.AssemblyInstaller.InitializeFromAssembly()
       --- End of inner exception stack trace ---
       at System.Configuration.Install.AssemblyInstaller.InitializeFromAssembly()
       at System.Configuration.Install.AssemblyInstaller.Install(IDictionary savedState)
       at Microsoft.Data.Caching.InstallConfig.Program.SnapInInstaller(Boolean install)
    2009-11-19 10:34:21, Error                 DCACHE Powershell snap-in transaction was not successful: Unable to get installer types in the C:\Windows\System32\ApplicationServerExtensions\AdminPS.dll assembly.
    2009-11-19 10:34:21, Info                  DCACHE Configuration failed, Rolling back...
    2009-11-19 10:34:21, Info                  DCACHE ROLLBACK: Deleting host from cluster config...
    2009-11-19 10:34:21, Info                  DCACHE ROLLBACK: Removing configuration store permissions...
    2009-11-19 10:34:21, Info                  DCACHE ROLLBACK: Uninstalling service...
    2009-11-19 10:34:26, Info                  DCACHE ROLLBACK: Removing ETW manifest...
    2009-11-19 10:34:26, Info                  DCACHE Processing ETW manifest, install=False manifestLocation=C:\Windows\System32\ApplicationServerExtensions\Manifests
    2009-11-19 10:34:26, Info                  DCACHE ETW manifest processing succeeded.
    2009-11-19 10:34:26, Info                  DCACHE Removing access for NT AUTHORITY\NETWORK SERVICE on directory C:\Windows\System32\ApplicationServerExtensions\Logs
    2009-11-19 10:34:26, Info                  DCACHE Removing access for NT AUTHORITY\NETWORK SERVICE on registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Distributed Cache\Version
    2009-11-19 10:34:26, Info                  DCACHE Removing access for NT AUTHORITY\NETWORK SERVICE on registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\DistributedCache
    2009-11-19 10:34:26, Info                  DCACHE Deleting Event log registry key SYSTEM\CurrentControlSet\Services\Eventlog\Application\DistributedCache
    2009-11-19 10:34:26, Info                  DCACHE ROLLBACK: Removing Performance monitor counters
    2009-11-19 10:34:26, Info                  DCACHE Refreshing cluster config in existing cluster hosts...
    2009-11-19 10:34:26, Info                  DCACHE ROLLBACK: Deleting cluster config file


  • Friday, November 20, 2009 6:47 AM
     
     

    This hasnt been seen before. Can you check if PowerShell and .Net 3.5 SP1 is correctly installed on your machine?

  • Friday, November 20, 2009 4:32 PM
     
     

    Hello Shankar,
    Attached you will find Setup log.
    Please advice.
    File is too long, I did cut out top part. Let me know if you need whole log.

    Ivan
      Install (5): flags: 0 tlc: [Microsoft-Windows-ApplicationServerExtensions-AdminServerCommon-Deployment, Version = 6.1.7238.0, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture = [l:10{5}]"en-US", VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35},
    2009-11-20 08:25:11, Info                  CSI    Type neutral, TypeName neutral, PublicKey neutral]) ref: ( flgs: 00000000 guid: {d16d444c-56d8-11d5-882d-0080c847b195} name: [l:342{171}]"Microsoft-Windows-ApplicationServerExtensionsDCAdmin-Package~31bf3856ad364e35~amd64~en-US~6.1.7238.0.Microsoft-Windows-ApplicationServerExtensionsSetup-LanguagePack-Update" ncdata: [l:0]"") thumbprint: (null)
      Install (5): flags: 0 tlc: [Microsoft-Windows-ApplicationServerExtensions-DCCoreCommon-Deployment, Version = 6.1.7238.0, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture = [l:10{5}]"en-US", VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral]) ref: ( flgs: 00000000 guid: {d16d444c-56d8-11d5-882d-0080c847b195} name: [l:342{171}]"Microsoft-Windows-ApplicationServerExtensionsDCAdmin-Package~31bf3856ad364e35~amd64~en-US~6.1.7238.0.Microsoft-Windows-ApplicationServerExtensionsSetup-LanguagePack-Update" ncdata: [l:0]"") thumbprint: (null)
    2009-11-20 08:25:11, Info                  CSI    000000ac Component change list:   { (null) -> 7.1.7238.0 AdminPS.dll-help, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral }
      { (null) -> 7.1.7238.0 AdminPS.psc1, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral }
      { (null) -> 7.1.7238.0 Microsoft-Windows-ApplicationServerExtensions-DistributedCacheAdminRegistration, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral }
      { (null) -> 7.1.7238.0 AdminPS.format, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral }
      { (null) -> 6.1.7238.0 Microsoft-Windows-ApplicationServerExtensions-DCAdmin-Deployment, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral }
    2009-11-20 08:25:11, Info                  CSI    000000ad ICSITransaction::Commit calling IStorePendingTransaction::Apply - coldpatching=FALSE applyflags=15 (0x0000000f)
    2009-11-20 08:25:11, Info                  CSI    000000ae Creating NT transaction (seq 12), objectname [6]"(null)"
    2009-11-20 08:25:11, Info                  CSI    000000af Created NT transaction (seq 12) result 0x00000000, handle @0x908
    2009-11-20 08:25:12, Info                  CSI    000000b0@2009/11/20:16:25:12.246 CSI perf trace:
    CSIPERF:TXCOMMIT;401120
    2009-11-20 08:25:12, Info                  CSI    000000b1 Begin executing advanced installer phase 50 (0x00000032) index 0 (sequence 0)
        Old component: [l:0]""
        New component: [l:0]""
        Install mode: uninstall
        Installer ID: {51d813ef-83f1-42de-a2ee-89ee4633a7c9}
        Installer name: [25]"RegistryKey SD Applicator"
    2009-11-20 08:25:12, Info                  CSI    000000b2 End executing advanced installer (sequence 0)
        Completion status: S_OK

    2009-11-20 08:25:12, Info                  CSI    000000b3 Begin executing advanced installer phase 50 (0x00000032) index 0 (sequence 0)
        Old component: [l:0]""
        New component: [l:0]""
        Install mode: install
        Installer ID: {51d813ef-83f1-42de-a2ee-89ee4633a7c9}
        Installer name: [25]"RegistryKey SD Applicator"
    2009-11-20 08:25:12, Info                  CSI    000000b4 End executing advanced installer (sequence 0)
        Completion status: S_OK

    2009-11-20 08:25:12, Info                  CSI    000000b5 Creating NT transaction (seq 13), objectname [6]"(null)"
    2009-11-20 08:25:12, Info                  CSI    000000b6 Created NT transaction (seq 13) result 0x00000000, handle @0x83c
    2009-11-20 08:25:12, Info                  CSI    000000b7@2009/11/20:16:25:12.293 CSI perf trace:
    CSIPERF:TXCOMMIT;52308
    2009-11-20 08:25:12, Info                  CBS    Setting ExecuteState key to: ExecuteStateNone
    2009-11-20 08:25:12, Info                  CBS    Setting RollbackFailed flag to 0
    2009-11-20 08:25:12, Info                  CBS    Clearing HangDetect value
    2009-11-20 08:25:12, Info                  CBS    Saved last global progress. Current: 0, Limit: 1, ExecuteState: ExecuteStateNone
    2009-11-20 08:25:12, Info                  CSI    000000b8@2009/11/20:16:25:12.293 CSI Transaction @0x46cd050 destroyed
    2009-11-20 08:25:12, Info                  CBS    Perf: InstallUninstallChain complete.
    2009-11-20 08:25:12, Info                  CBS    Reboot mark refs: 0
    2009-11-20 08:25:12, Info                  CBS    Enabling LKG boot option
    2009-11-20 08:25:12, Info                  CBS    Exec: End: nested restore point - complete.
    2009-11-20 08:25:12, Info                  CBS    Restored system sleep block state: 0x80000000
    2009-11-20 08:25:12, Info                  CBS    Exec: Processing complete.  Session: 30042622_84918902, Package: Microsoft-Windows-ApplicationServerExtensions-Package~31bf3856ad364e35~amd64~~6.1.7238.0 [HRESULT = 0x00000000 - S_OK]
    2009-11-20 08:25:12, Info                  CBS    Session: 30042622_84918902 finalized. Reboot required: no [HRESULT = 0x00000000 - S_OK]
    2009-11-20 08:25:12, Info                  CBS    Dism.exe returned: 0
    2009-11-20 08:25:12, Info                  CBS    pkgmgr return code: 0x0
    === End Content ===

    [08:25:12 Information] Package installed successfully.
    [08:25:12 Information]
    Creating configuration session
    [08:25:12 Information]
    Applying settings:

    [08:25:12 Information]
    Starting the execution of: AddDistributedCacheConfiguration
    [08:25:12 Information] Apply Distributed Cache Configuration: InProgress
    [08:25:12 Information] To perform Distributed Cache Configuration with command line /IAS /New ClusterSize=Small LOGFILE="C:\Users\ivan.MAMMOTHMICRO\AppData\Local\Temp\DistributedCacheAppServerConfig(2009-11-20 08-25-12).log" Provider=System.Data.SqlClient ConnectionString="Data Source=Server2;Initial Catalog=Velocity;Integrated Security=True" SERVICEPORT=22233 CLUSTERPORT=22234 ARBITRATORPORT=22235 REPLICATIONPORT=22236 UNBLOCKSERVICE=True UNBLOCKFILESHARING=False UNBLOCKREMOTEADMIN=True /quiet
    [08:25:13 Information] Distributed Cache Configuration failed with error code: 2
    [08:25:13 Error] Failed to apply Distributed Cache Configuration

    Failed to apply Distributed Cache Configuration
       at Microsoft.ApplicationServer.Setup.Configuration.ConfigurationOperations.AddDistributedCacheConfiguration(ConfigurationSettings settings)
       at Microsoft.ApplicationServer.Setup.Configuration.ConfigurationSession.ExecuteAndContinue(ConfigurationAction action)
    Failed to apply Distributed Cache Configuration

    [08:25:13 Information] Apply Distributed Cache Configuration: Error
    [08:25:13 Information] Completed the execution of: AddDistributedCacheConfiguration
    [08:25:13 Information] 1 error found during Apply Settings
    [08:25:13 Error] Failed to Configure.  Please see the error, fix the problem, and try again.

    Failed to apply Distributed Cache Configuration
       at Microsoft.ApplicationServer.Setup.Configuration.ConfigurationOperations.AddDistributedCacheConfiguration(ConfigurationSettings settings)
       at Microsoft.ApplicationServer.Setup.Configuration.ConfigurationSession.ExecuteAndContinue(ConfigurationAction action)
    Failed to apply Distributed Cache Configuration

    Microsoft.ApplicationServer.Setup.Core.SetupException: Failed to apply Distributed Cache Configuration ---> Microsoft.ApplicationServer.Setup.Core.SetupException: Failed to apply Distributed Cache Configuration
       at Microsoft.ApplicationServer.Setup.Configuration.ConfigurationOperations.AddDistributedCacheConfiguration(ConfigurationSettings settings)
       at Microsoft.ApplicationServer.Setup.Configuration.ConfigurationSession.ExecuteAndContinue(ConfigurationAction action)
       --- End of inner exception stack trace ---
       at Microsoft.ApplicationServer.Setup.Configuration.ConfigurationSetupModule.ApplySettings()
       at Microsoft.ApplicationServer.Setup.Client.SetupWorkflow.PostInstall()
       at Microsoft.ApplicationServer.Setup.Client.ProgressPage.StartAction()

    === Summary of Actions ===
    Enabling the following Windows features.   :  Skipped
    Windows Communication Foundation Non-HTTP Activation   :  Skipped
    Application Server Extensions for .NET 4   :  Completed Successfully
    Configure Application Server Extensions for .NET 4   :  Failed
    Apply Distributed Cache Configuration   :  Failed

    ===== Logging stopped: 2009-11-20 08:25:13-08:00 =====


    Ivan Bondy - MCPD, MCDBA, MCSA, MCTS - Sharepoint consultant
  • Saturday, November 21, 2009 4:00 AM
     
     
    I got the following error:

    Enabling the following Windows features.

    Windows Communication Foundation Non-HTTP Activation
      Application Server Extensions for .NET 4   Add connection strings   Set root persistence behavior   Configure Workflow Management service   Set root monitoring behavior   Start Event Collector service   Start Workflow Management service   Apply Distributed Cache Configuration
    Error 1: Failed to apply Distributed Cache Configuration
    Error 2: Failed to apply Distributed Cache Configuration

    I use Windows 7 OS.  None of the database is created.

    Thanks.
  • Sunday, November 22, 2009 5:31 PM
     
     
    Greetings,

    I to have had the same experinece when installing. I have performed the installtion on 3 machines (with the exact same hardware and software footprints) all 3 installs reacted differently though.

    1 install  - no problem on install, but none of the new services would run, they all failed to run and launched debugers with errors.
    2nd install  - failes with the above error but creates the Database Schema * (I am not sure if this was the complete schema (monitoring/persistance))
    3rd install - fails with the above error as well with no Schema created, and no services being created.

    Installs 2 and 3 both use the same database Server, but use different catalogs. Both Schema's have were created from the same scripts.

    Question - IS there a complete listing of the scheam that needs to be applied for Monitoring and persistance? I
    Question - Is there a way to get the Assemblies needed for Distrubted Cache sperately with out an install?

    I will wacth this thread and contribute as i want to support this technology.
    Rex Whitten
  • Tuesday, November 24, 2009 5:10 AM
     
     

    Ivan,
    Please send us the log-file: C:\Users\ivan.MAMMOTHMICRO\AppData\Local\Temp\DistributedCacheAppServerConfig(2009-11-20 08-25-12).log
    As suggested by Rahul, ensure if the PoweShell installed correctly on your machine.

    Udai,
    Please send us the setup log files. Are you installing only Distributed cache or the entire App server extension?

    Rex,
    Which OS are you using? If it is Win 7, is it RTM build?
    Please send us the logs files.

    Thanks
    Shankar
  • Tuesday, November 24, 2009 4:18 PM
     
     
    Helo Shankar,
    Please check the link below for requested file and other related files.

    http://www.mammothmicro.com/Support%20Files/Forms/AllItems.aspx


    Regards
    Ivan Bondy - MCPD, MCDBA, MCSA, MCTS - Sharepoint consultant
  • Thursday, November 26, 2009 7:19 AM
     
     

    Ivan,
    It looks like you are reusing the Velocity config store (database name "Velocity" on Server2) that was created for CTP3 bits. Please drop the database and recreate it or use a new database.

    Thanks
    Shankar
  • Thursday, November 26, 2009 4:25 PM
     
     
    I'm trying to install AppFabric caching on Windows Server 2008, with the configuration information in SQL Server on a separate server. Both servers are virtual under Virtual PC. I've created a new VelocityConfig database, and I'm installing AppFabric under an account which has db_owner permissions to the database.

    When I run the ASE installer, I select SqlClient as the provider. I then click Edit to setup the connection string. I enter my server name (SQLSERVER) but then I get a timeout error when I try to retrieve the list of databases. The servers can ping each other, and if I set up a .UDL file I can connect to the server and get a list of databases successfully. What is the missing piece here to get AppFabric to install successfully?

    Phil
  • Thursday, November 26, 2009 4:34 PM
     
     
    I'm trying to install AppFabric caching on Windows Server 2008, with the configuration information in SQL Server on a separate server. Both servers are virtual under Virtual PC. I've created a new VelocityConfig database, and I'm installing AppFabric under an account which has db_owner permissions to the database.

    When I run the ASE installer, I select SqlClient as the provider. I then click Edit to setup the connection string. I enter my server name (SQLSERVER) but then I get a timeout error when I try to retrieve the list of databases. The servers can ping each other, and if I set up a .UDL file I can connect to the server and get a list of databases successfully. What is the missing piece here to get AppFabric to install successfully?

    Phil
    are your VM in a domain or in a workgroup?

    AppFabric setup supports only Trusted Connections, so the user that installs it must have access to the DB.

    Andrea

  • Thursday, November 26, 2009 5:20 PM
     
     
    Andrea,

    They're in a domain - see my blog at http://diaryofadotnetdeveloper.blogspot.com/2009/11/installing-appfabric-caching-beta-1_24.html for details. My UDL file on the cache server is configured to use Integrated Security and can connect successfully to retrieve a list of databases.

    Phil
  • Tuesday, December 15, 2009 3:42 PM
     
     
    Due to an upgrade on my laptop to Windows 7, I've now rebuilt my virtual server environment to the Windows 7 Virtual PC. On the server I'm installing ASE on, I also installed the SQL Server 2008 Client Tools, and this seems to have got me past my previous issue - I can now select from a list of databases on my SQL Server and proceed with the ASE installer. Which fails with error code 2 whether I use the SQL provider or the XML provider for keeping my cluster config info. I've uploaded my installation logs to http://www.philippursglove.com/velocity/appfabricinstallationfailurelogs.zip.

    Phil
  • Saturday, December 26, 2009 12:43 PM
     
     
    These are AppServer setup logs. Cahing spefic logs will be in a file named as
    DistributedCacheAppServerConfig(<Date> <Time>).log
    Get back if enough diagnosability isnt achieved with the log file.

    Regards
  • Monday, January 11, 2010 5:03 PM
     
      Has Code
    I am having trouble installing AppFabric Caching on my Win 7 x64 workstation.
    Below is the error I get. Any ideas?

    Microsoft.ApplicationServer.Setup.Core.SetupException: Failed to apply Distributed Cache Configuration ---> Microsoft.ApplicationServer.Setup.Core.SetupException: Failed to apply Distributed Cache Configuration

    at Microsoft.ApplicationServer.Setup.Configuration.ConfigurationOperations.AddDistributedCacheConfiguration(ConfigurationSettings settings)

    at Microsoft.ApplicationServer.Setup.Configuration.ConfigurationSession.ExecuteAndContinue(ConfigurationAction action)

    --- End of inner exception stack trace ---

    at Microsoft.ApplicationServer.Setup.Program.Main(String[] args)



    Ivan Bondy - MCPD, MCDBA, MCSA, MCTS - Sharepoint consultant

    I'm having the same problem attempting to install AppFabricCache on my Win 7 64-bit pc.  Here's the log file produced (from my AppData\Local

    2010-01-11 11:05:29, Info                  DCACHE Working as silent install
    2010-01-11 11:05:29, Info                  DCACHE Hostname is WTF04
    2010-01-11 11:05:29, Info                  DCACHE Install path: C:\Windows\System32\ApplicationServerExtensions
    2010-01-11 11:05:29, Info                  DCACHE Service install requested.
    2010-01-11 11:05:29, Info                  DCACHE Admin install requested.
    2010-01-11 11:05:29, Info                  DCACHE PROVIDER=XML
    2010-01-11 11:05:29, Info                  DCACHE CONNECTIONSTRING=\\Wtf04\c\Velocity
    2010-01-11 11:05:29, Info                  DCACHE SERVICEPORT=22233
    2010-01-11 11:05:29, Info                  DCACHE CLUSTERPORT=22234
    2010-01-11 11:05:29, Info                  DCACHE ARBITRATORPORT=22235
    2010-01-11 11:05:29, Info                  DCACHE REPLICATIONPORT=22236
    2010-01-11 11:05:29, Info                  DCACHE UNBLOCKSERVICE=True
    2010-01-11 11:05:29, Info                  DCACHE UNBLOCKFILESHARING=True
    2010-01-11 11:05:29, Info                  DCACHE UNBLOCKREMOTEADMIN=True
    2010-01-11 11:05:29, Info                  DCACHE Service logs folder Logs already exists.
    2010-01-11 11:05:29, Info                  DCACHE Admin logs folder AdminLogs already exists.
    2010-01-11 11:05:29, Info                  DCACHE PROVIDER=xml
    2010-01-11 11:05:29, Info                  DCACHE Testing provider connection for provider=xml connstring=\\Wtf04\c\Velocity
    2010-01-11 11:05:30, Info                  DCACHE Microsoft.Data.Caching.DataCacheException: ErrorCode<ERRCMS0004>:SubStatus<ES0001>:Cluster configuration file (filename:"\\Wtf04\c\Velocity\ClusterConfig.xml") not found. 
       at Microsoft.Data.Caching.GlobalConfigReader.LoadConfigurationFromFile(String path, Boolean throwIfSectionNotFound)
       at Microsoft.Data.Caching.GlobalConfigReaderWriter..ctor(String path)
       at Microsoft.Data.Caching.ClusterConfigurationFactory.GetEditor(ClusterConfigElement cs)
       at Microsoft.Data.Caching.InstallConfig.Program.TryGetClusterConfigurationEditor(String& errorMessage)
    2010-01-11 11:05:30, Info                  DCACHE Test connection failed.
    2010-01-11 11:05:30, Error                 DCACHE The cluster requested to be joined does not have any hosts, please request for a new cluster instead.
    2010-01-11 11:05:30, Info                  DCACHE Configuration failed, Rolling back...
    
    

    The log file is correct that the ClusterConfig.xml file is not present in that share.  Since this is the first node of the Cache being installed, how could it exist previously?

    It appears MANY people are having a similar issue.  Is there a fix/work around for this yet?
  • Monday, January 11, 2010 6:59 PM
     
     
    In the Distributed Cache Settings during Installation, select 'New cluster' instead of 'Join Cluster'.


    Sanjay
  • Monday, November 29, 2010 1:12 AM
     
     

    failed to install it on win 7 64 ultimate with the following error:

     

    2010-11-28 20:08:30, Information           Setup  ===== Logging started: 2010-11-28 20:08:30-05:00 =====
    2010-11-28 20:08:30, Information           Setup  File:             c:\a2d0d08b8e003e35ae4c2d\setup.exe
    2010-11-28 20:08:30, Information           Setup  InternalName:     Setup.exe
    2010-11-28 20:08:30, Information           Setup  OriginalFilename: Setup.exe
    2010-11-28 20:08:30, Information           Setup  FileVersion:      1.0.2034.0
    2010-11-28 20:08:30, Information           Setup  FileDescription:  Setup.exe
    2010-11-28 20:08:30, Information           Setup  Product:          Microsoft(R) Windows(R) Server AppFabric
    2010-11-28 20:08:30, Information           Setup  ProductVersion:   1.0.2034.0
    2010-11-28 20:08:30, Information           Setup  Debug:            False
    2010-11-28 20:08:30, Information           Setup  Patched:          False
    2010-11-28 20:08:30, Information           Setup  PreRelease:       False
    2010-11-28 20:08:30, Information           Setup  PrivateBuild:     False
    2010-11-28 20:08:30, Information           Setup  SpecialBuild:     False
    2010-11-28 20:08:30, Information           Setup  Language:         Language Neutral
    2010-11-28 20:08:30, Information           Setup 
    2010-11-28 20:08:30, Information           Setup  OS Name:                   Windows 7 Ultimate
    2010-11-28 20:08:30, Information           Setup  OS Edition:                Ultimate
    2010-11-28 20:08:30, Information           Setup  OSVersion:                 Microsoft Windows NT 6.1.7600.0
    2010-11-28 20:08:30, Information           Setup  CurrentCulture:            en-US
    2010-11-28 20:08:30, Information           Setup  Processor Architecture:    AMD64
    2010-11-28 20:08:30, Information           Setup  Event Registration Source :    AppFabric_Setup
    2010-11-28 20:08:30, Information           Setup 
    2010-11-28 20:11:01, Information           Setup  Enumerating Windows features
    2010-11-28 20:11:08, Information           Setup  Executing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe with commandline -iru.
    2010-11-28 20:11:13, Information           Setup  Return code from aspnet_regiis.exe is 0
    2010-11-28 20:11:13, Information           Setup  Windows features successfully enabled.
    2010-11-28 20:11:13, Information           Setup  Process.Start: C:\Windows\system32\PkgMgr.exe /quiet /norestart /iu:Application-Server-Extensions;Application-Server-Extensions-Admin;Microsoft-Windows-ApplicationServerExtensionsDCServer;Microsoft-Windows-ApplicationServerExtensionsDCClient;Microsoft-Windows-ApplicationServerExtensionsDCAdmin;Application-Server-Extensions-Win7 /p:Microsoft-Windows-ApplicationServerExtensions-Package~31bf3856ad364e35~amd64~~6.1.7600.16597
    2010-11-28 20:11:16, Information           Setup  Process.ExitCode: 0x00000003
    Extracted file content:
    .FileName=C:\Windows\Logs\CBS\CBS.log
    .Offset=824869
    .Length=1298
    === Begin Content ===
    2010-11-28 20:11:13, Info                  CBS   
    2010-11-28 20:11:13, Info                  CBS    pkgmgr called with: ""C:\Windows\system32\PkgMgr.exe" /quiet /norestart /iu:Application-Server-Extensions;Application-Server-Extensions-Admin;Microsoft-Windows-ApplicationServerExtensionsDCServer;Microsoft-Windows-ApplicationServerExtensionsDCClient;Microsoft-Windows-ApplicationServerExtensionsDCAdmin;Application-Server-Extensions-Win7 /p:Microsoft-Windows-ApplicationServerExtensions-Package~31bf3856ad364e35~amd64~~6.1.7600.16597"
    2010-11-28 20:11:13, Info                  CBS    Executing DISM: "C:\Windows\system32\dism.exe" /online /quiet /norestart /enable-feature /ignorecheck /packagename:"Microsoft-Windows-ApplicationServerExtensions-Package~31bf3856ad364e35~amd64~~6.1.7600.16597" /featurename:"Application-Server-Extensions" /featurename:"Application-Server-Extensions-Admin" /featurename:"Microsoft-Windows-ApplicationServerExtensionsDCServer" /featurename:"Microsoft-Windows-ApplicationServerExtensionsDCClient" /featurename:"Microsoft-Windows-ApplicationServerExtensionsDCAdmin" /featurename:"Application-Server-Extensions-Win7"
    2010-11-28 20:11:16, Info                  CBS    Dism.exe returned: 3
    2010-11-28 20:11:16, Info                  CBS    pkgmgr return code: 0x3
    === End Content ===

    2010-11-28 20:11:16, Error                 Setup  Path not found.
    2010-11-28 20:11:16, Error                 Setup 
    2010-11-28 20:11:16, Error                 Setup  Path not found.
    2010-11-28 20:11:16, Error                 Setup 
    2010-11-28 20:11:16, Information           Setup  Microsoft.ApplicationServer.Setup.Core.SetupException: Path not found.
    2010-11-28 20:11:16, Information           Setup     at Microsoft.ApplicationServer.Setup.Installer.PkgMgrProxy.GenerateAndThrowSetupException(Int32 exitCode, LogEventSource logEventSource)
    2010-11-28 20:11:16, Information           Setup     at Microsoft.ApplicationServer.Setup.Installer.PkgMgrProxy.Invoke(LogEventSource logEventSource, InstallMode installMode, String packageIdentity, List`1 updateList)
    2010-11-28 20:11:16, Information           Setup     at Microsoft.ApplicationServer.Setup.Installer.CbsInstaller.InstallSelectedFeatures()
    2010-11-28 20:11:16, Information           Setup     at Microsoft.ApplicationServer.Setup.Installer.CbsInstaller.Install()
    2010-11-28 20:11:16, Information           Setup     at Microsoft.ApplicationServer.Setup.Client.ProgressPage.StartAction()
    2010-11-28 20:11:16, Information           Setup 
    2010-11-28 20:11:16, Information           Setup  === Summary of Actions ===
    2010-11-28 20:11:16, Information           Setup  Required Windows components :  Completed Successfully
    2010-11-28 20:11:16, Information           Setup  Microsoft .NET Framework 3.5.1   :  Completed Successfully
    2010-11-28 20:11:16, Information           Setup  Windows Communication Foundation Non-HTTP Activation   :  Completed Successfully
    2010-11-28 20:11:16, Information           Setup  IIS Management Console   :  Completed Successfully
    2010-11-28 20:11:16, Information           Setup  Windows Server AppFabric :  Failed
    2010-11-28 20:11:16, Information           Setup  Hosting Services   :  Failed
    2010-11-28 20:11:16, Information           Setup  Caching Services   :  Failed
    2010-11-28 20:11:16, Information           Setup  Cache Client   :  Failed
    2010-11-28 20:11:16, Information           Setup  Hosting Administration   :  Failed
    2010-11-28 20:11:16, Information           Setup  Cache Administration   :  Failed
    2010-11-28 20:11:16, Information           Setup 
    2010-11-28 20:11:16, Information           Setup  ===== Logging stopped: 2010-11-28 20:11:16-05:00 =====


    Kevin