appfabric을 사용하고 서버에 사용할 수없는 오류가 발생하는 일부 코드가 있습니다. http://msdn.microsoft.com/en-us/library/ff921031.aspx의 지침에 따라 캐시 클러스터가 다운 된 것으로 나타났습니다. 관리자로 powershell을 열고 Start-CacheCluster를 실행했습니다. 몇 분 후 나는 오류 메시지가 나타납니다powershell에서 appfabric 캐시 클러스터를 시작하려는 액세스가 거부되었습니다.
이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' is denied. (C:\Windows\System32\AppFabric\DistributedCacheService.exe.config) ---> System.UnauthorizedAccessException: Access to the path 'C:\Windows\System32\AppFabric\DistributedCacheService.exe.config' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBU...
더 AppFabric 경험이있는 사람이 전에 본 적이 :
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
이벤트 로그를 확인이 보여?
고마워요
Windows Server 용 \ Program Files \ AppFabric 1.1에있는 DistributedCacheService.exe.config 파일에 서비스 계정 권한 부여 나를위한 속임수. 감사 데이브! –