私が直面しているシナリオは、永続化された状態変数を格納するためにCacheManager /IsolatedStorageストアを使用しているW2k3サーバーでASP.NETWebサービス(.NET 3.5)を実行していることです。この構成は、物理マシンを変更するまで、かなり長い間正常に機能していました。これで、その値にアクセスするコードが実行されるたびに、IsolatedStorageExceptionがスローされます(以下に投稿)。私が理解しているように、ユーザー/アセンブリストアはアクセスされているものであり、実行中のユーザーはローカル管理者グループのメンバーです。どの特権が欠けているかについて誰かが提案を持っていますか?
エラー
ストアディレクトリを作成できません。(HRESULTからの例外:0x80131468)
スタックトレース
タイプ:Microsoft.Practices.ObjectBuilder2.BuildFailedException。エラー:現在のビルド操作(ビルドキービルドキー[Microsoft.Practices.EnterpriseLibrary.Caching.ICacheManager、キャッシュマネージャー])が失敗しました:ストアディレクトリを作成できません。(HRESULTからの例外:0x80131468)(ストラテジータイプConfiguredObjectStrategy、インデックス2)。トレース:Microsoft.Practices.ObjectBuilder2.ExecuteBuildUp(IBuilderContext context)、Microsoft.Practices.ObjectBuilder2.Builder.BuildUp(IReadWriteLocatorロケーター、ILifetimeContainerライフタイム、IPolicyListポリシー、IStrategyChain戦略、オブジェクトbuildKey、オブジェクト既存)。 MicrosoftのObjectBuilder2.Builder.BuildUp[TTypeToBuild](IReadWriteLocatorロケーター、ILifetimeContainerライフタイム、IPolicyListポリシー、IStrategyChain戦略、オブジェクトbuildKey、既存のオブジェクト)。1.CreateDefault()
at Microsoft.Practices.EnterpriseLibrary.Caching.CacheFactory.GetCacheManager()
at Ept.Commands.SettlementCommand.BeginSettlement() in c:\Projects\EPT\Ept.Framework.Services\Commands\SettlementCommand.cs:line 102
at Ept.Commands.SettlementCommand.ExecuteKernel(SettlementRequest request) in c:\Projects\EPT\Ept.Framework.Services\Commands\SettlementCommand.cs:line 188
at Ept.Command
2. c:\ Projects \ EPT \ Ept.Framework.Services \ Commands \ Command.cs:line 79のExecute(TRequest request)。ExecutingStrategyTypeName:ConfiguredObjectStrategy ExecutingStrategyIndex:2 BuildKey:Build Key [Microsoft.Practices.EnterpriseLibrary.Caching.ICacheManager 、キャッシュマネージャー]タイプ:System.IO.IsolatedStorage.IsolatedStorageException。エラー:ストアディレクトリを作成できません。(HRESULTからの例外:0x80131468)。トレース:System.IO.IsolatedStorage.IsolatedStorageFile.GetRootDir(IsolatedStorageScopeスコープ)at System.IO.IsolatedStorage.InitGlobalsNonRoamingUser(IsolatedStorageScopeスコープ)at System.IO.IsolatedStorage.IsolatedStorageFile.GetRootDir(IsolatedStorageScopeスコープ)at System.IO.I System.IO.IsolatedStorageの.IsolatedStorageFile.GetGlobalFileIOPerm(IsolatedStorageScopeスコープ)。2.Create(IBuilderContext context, TConfiguration objectConfiguration, IConfigurationSource configurationSource, ConfigurationReflectionCache reflectionCache)
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.AssemblerBasedCustomFactory
2.Microsoft.Practices.EnterpriseLibrary.EnterpriseLibraryでMicrosoft.Practices.EnterpriseLibrary.Caching.Configuration.CacheManagerAssembler.Assemble(IBuilderContext context、CacheManagerDataBase objectConfiguration、IConfigurationSource configurationSource、ConfigurationReflectionCache ReflectionCache)でCreate(IBuilderContext context、String name、IConfigurationSource configurationSource、ConfigurationReflectionCachereflectionCache)。 Common.Configuration.ObjectBuilder.AssemblerBasedObjectFactory2.Create(IBuilderContext context, TConfiguration objectConfiguration, IConfigurationSource configurationSource, ConfigurationReflectionCache reflectionCache)
at Microsoft.Practices.EnterpriseLibrary.Caching.CacheManagerCustomFactory.Create(IBuilderContext context, CacheManagerDataBase objectConfiguration, IConfigurationSource configurationSource, ConfigurationReflectionCache reflectionCache)
at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.AssemblerBasedCustomFactory
2.MicrosoftのMicrosoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.AssemblerBasedCustomFactory`2.CreateObject(IBuilderContextコンテキスト、文字列名、IConfigurationSource configurationSource、ConfigurationReflectionCache ReflectionCache)でCreate(IBuilderContextコンテキスト、文字列名、IConfigurationSource configurationSource、ConfigurationReflectionCache ReflectionCache)。 Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContextコンテキスト)のPractices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.ConfiguredObjectStrategy.PreBuildUp(IBuilderContextコンテキスト)。