A Cause for HRESULT 0X80131468 when accessing IsolatedStorageBackingStore

后端 未结 4 1712
暗喜
暗喜 2021-01-19 17:23

The scenario I am facing is that I have an ASP.NET web service (.NET 3.5) running on an W2k3 server which is using the CacheManager/IsolatedStorage store to store a persiste

相关标签:
4条回答
  • 2021-01-19 17:33

    If you are using Windows 2012 R2 and IIS 8.5, in the case your App is running on a specific Application Pool under its own identity, you need to check that the option "Load user Profile" in the Pool Advanced Parameters is set to True. By doing so, Windows will create a folder having App Pool Identity name under C:\Users and allow your app to write inside the local storage.

    0 讨论(0)
  • 2021-01-19 17:40

    I had this issue but creating "C:\Documents and Settings\Default User\Local Settings\Application Data\IsolatedStorage" did not resolve the problem because at some point there was a profile name change. The actual location for this server was "C:\Documents and Settings\Default User.WINDOWS\Local Settings\Application Data\IsolatedStorage".

    If that does not work, I used Process Monitor with a filter for "IsolatedStorage" to find the correct path for the access denied error.

    0 讨论(0)
  • 2021-01-19 17:50

    On Windows 10 IIS Application Pool setting "Load User Profile" is True by default. But on Windows 2012 is False. Switching to True solved my issue.

    0 讨论(0)
  • 2021-01-19 17:51

    The root cause of the issue is that the account which the web service was running under did not have a local user profile created thus the user assembly store didn't exist. The simple fix was just to logon to the box with the service account.

    0 讨论(0)
提交回复
热议问题