Are there any issues with Isolated Storage and Windows Vista?

My problem is similar, but not the same as:

"Could not find file" when using isolated storage

I have written an application that saves user settings to a file in isolated storage, I am using user storage to build.

The application checks the file in isolated storage at startup, and if it does not assume that it is the first time the application starts and asks the user to configure it, this process is then stored in isolated storage.

On Windows XP this works great, I haven't seen any problems. However, I ran the client demo on my Windows Vista laptop, and when I ran the client a second time to show that the settings had been saved, the application could not find the file.

Are there any known issues that could cause this to happen on Windows Vista rather than Windows XP?

Both links to fetch isolated storage are in the same .cs file, so definitely the same assembly that makes the call, and I am not logged in as a different user, so I know it is the same user.

+1


a source to share


1 answer


The sandboxed storage location will change as soon as you change the version of the app.
The correct place to store application configuration is in \ ProgramData for all users and \ Users \\ AppData for user settings.



0


a source







All Articles