C# 访问IsolatedStorage BackingStore时出现HRESULT 0X80131468的原因

C# 访问IsolatedStorage BackingStore时出现HRESULT 0X80131468的原因,c#,isolatedstorage,enterprise-library,C#,Isolatedstorage,Enterprise Library,我面临的情况是,我在W2k3服务器上运行了一个ASP.NET web服务(.NET 3.5),该服务器使用CacheManager/IsolatedStorage存储持久化状态变量。在我们更换物理机器之前,这种配置已经运行了相当长的一段时间。现在,当访问该值的代码运行时,它抛出一个IsolatedStorageException(发布在下面)。据我所知,正在访问的是用户/程序集存储,执行用户是本地administrators组的成员。有没有人对缺少什么特权有什么建议 错误 无法创建存储目录。(来

我面临的情况是,我在W2k3服务器上运行了一个ASP.NET web服务(.NET 3.5),该服务器使用CacheManager/IsolatedStorage存储持久化状态变量。在我们更换物理机器之前,这种配置已经运行了相当长的一段时间。现在,当访问该值的代码运行时,它抛出一个IsolatedStorageException(发布在下面)。据我所知,正在访问的是用户/程序集存储,执行用户是本地administrators组的成员。有没有人对缺少什么特权有什么建议

错误 无法创建存储目录。(来自HRESULT的异常:0x80131468)

堆栈跟踪 类型:Microsoft.Practices.ObjectBuilder2.BuildFailedException。错误:当前生成操作(生成密钥生成密钥[Microsoft.Practices.EnterpriseLibrary.Caching.ICacheManager,Cache Manager])失败:无法创建存储目录。(来自HRESULT的异常:0x80131468)(策略类型ConfiguredObjectStrategy,索引2)。跟踪:位于Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext上下文) 在Microsoft.Practices.ObjectBuilder2.Builder.Building(IReadWriteLocator定位器、ILifetimeContainer生存期、IPolicyList策略、IStrategyChain策略、对象构建键、对象存在) 在Microsoft.Practices.ObjectBuilder2.Builder.Building[TTypeToBuild](IReadWriteLocator定位器、ILifetimeContainer生存期、IPolicyList策略、IStrategyChain策略、对象构建密钥、对象存在) 在Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.EnterpriseLibraryFactory.Building[T](IReadWriteLocator、ILifetimeContainer lifetimeContainer、IConfigurationSource configurationSource) 在Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.LocatorNameTypeFactoryBase
1.CreateDefault()中
在Microsoft.Practices.EnterpriseLibrary.Caching.CacheFactory.GetCacheManager()上
在c:\Projects\Ept\Ept.Framework.Services\Commands\SettlementCommand.cs中的Ept.Commands.SettlementCommand.beginsetment()处:第102行
在c:\Projects\Ept\Ept.Framework.Services\Commands\SettlementCommand.cs中的Ept.Commands.SettlementCommand.ExecuteKernel(结算请求)处:第188行
在c:\Projects\Ept\Ept.Framework.Services\Commands\Command.cs:第79行中的Ept.Command执行(TRequest请求)。ExecutingStrategyTypeName:ConfiguredObjectStrategyExecutingStrategyIndex:2构建密钥:构建密钥[Microsoft.Practices.EnterpriseLibrary.Caching.ICAChemManager,缓存管理器]类型:System.IO.IsolatedStorage.IsolatedStorageException。错误:无法创建存储目录。(HRESULT的异常:0x80131468)。跟踪:位于System.IO.IsolatedStorage.IsolatedStorageFile.NGETroTDIR(IsolatedStorageScope范围)
位于System.IO.IsolatedStorage.IsolatedStorageFile.InitGlobalsNonRoamingUser(IsolatedStorageScope作用域)
位于System.IO.IsolatedStorage.IsolatedStorageFile.GetRootDir(IsolatedStorageScope作用域)
在System.IO.IsolatedStorage.IsolatedStorageFile.GetGlobalFileIOPerm(IsolatedStorageScope范围)中
在System.IO.IsolatedStorage.IsolatedStorageFile.Init(IsolatedStorageScope作用域)中
在System.IO.IsolatedStorage.IsolatedStorageFile.GetStore(IsolatedStorageScope作用域,类型domainEvidenceType,类型assemblyEvidenceType)
在Microsoft.Practices.EnterpriseLibrary.Caching.BackingStoreImplementations.IsolatedStorageBackingStore.Initialize()中
在Microsoft.Practices.EnterpriseLibrary.Caching.BackingStoreImplementations.IsolatedStorageBackingStore..ctor(字符串存储区域名称,IStorageEncryptionProvider encryptionProvider)
在Microsoft.Practices.EnterpriseLibrary.Caching.Configuration.IsolatedStorageBackingsStoreAssembler.Assembly(IBuilderContext上下文、CacheStorageData对象配置、IConfigurationSource配置源、ConfigurationReflectionCache reflectionCache)
在Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.AssemblerBadeObjectFactory
2.Create上创建(IBuilderContext上下文、TCConfiguration objectConfiguration、ICConfiguration源配置源配置源、配置reflectionCache reflectionCache)
在Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.AssemblerBasedCustomFactory中创建(IBuilderContext上下文、字符串名称、IConfigurationSource配置源、ConfigurationReflectionCache reflectionCache)
在Microsoft.Practices.EnterpriseLibrary.Caching.Configuration.CacheManagerAssembler.Assemble(IBuilderContext上下文、CacheManagerDataBase对象配置、IConfigurationSource配置源、ConfigurationReflectionCache reflectionCache)
在Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.AssemblerBadeObjectFactory
2.Create上创建(IBuilderContext上下文、TCConfiguration objectConfiguration、ICConfiguration源配置源配置源、配置reflectionCache reflectionCache)
在Microsoft.Practices.EnterpriseLibrary.Caching.CacheManagerCastomFactory.Create(IBuilderContext上下文、CacheManagerDataBase对象配置、IConfigurationSource配置源、ConfigurationReflectionCache reflectionCache)
在Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.AssemblerBasedCustomFactory中创建(IBuilderContext上下文、字符串名称、IConfigurationSource配置源、ConfigurationReflectionCache reflectionCache)
位于Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.AssemblerBasedCustomFactory`2.CreateObject(IBuilderContext上下文、字符串名称、IConfigurationSource配置源、配置反射缓存反射缓存)
在Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.ConfiguredObjectStrategy.Prebuild(IBuilderContext上下文)上

位于Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext上下文)

问题的根本原因是