小编Wil*_*iam的帖子

获取访问被拒绝尝试从powershell启动appfabric缓存集群

我有一些使用appfabric的代码,并且正在获得服务器不可用错误.按照http://msdn.microsoft.com/en-us/library/ff921031.aspx上的说明,我发现我的缓存群集已关闭.我以管理员身份打开了PowerShell并运行了Start-CacheCluster.几分钟后,我收到一条错误消息:

Start-CacheCluster : Could not start cluster: ErrorCode<ERRCAdmin025>:SubStatus
<ES0001>:Time-out occurred in starting the cluster.
At line:1 char:19
+ Start-CacheCluster <<<<
    + CategoryInfo          : NotSpecified: (:) [Start-CacheCluster], DataCach
   eException
    + FullyQualifiedErrorId : ERRCAdmin025,Microsoft.ApplicationServer.Caching
   .Commands.StartCacheClusterCommand
Run Code Online (Sandbox Code Playgroud)

检查事件日志会显示:

Service cannot be started. System.TypeInitializationException: The type initializer for 'Microsoft.ApplicationServer.Caching.ConfigManager' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Microsoft.Fabric.Common.ConsoleSink' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Access to the path 'C:\Windows\System32\AppFabric\DistributedCacheService.exe.config' …
Run Code Online (Sandbox Code Playgroud)

powershell appfabric

6
推荐指数
2
解决办法
2万
查看次数

标签 统计

appfabric ×1

powershell ×1