473,387 Members | 1,545 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

What permissions do I need to set to use Isolated Storage?

16
Hello

I am running and asp.net web app and have this line of code:

IsolatedStorageFile.GetUserStoreForAssembly();

When it is run I get this error:

Unable to create the store directory

I know this is a permission issue, because when I impersonate an admin user it works.

I have the aspnet user set with full permissions on the directory the website is in but it doesn't appear to make a difference, so I am wondering where I need to set the permission? As I don't actually know where it creates the directory for the isolated storage.

Thanks in advance

Becky
Oct 11 '07 #1
2 1949
Hello

I am running and asp.net web app and have this line of code:

IsolatedStorageFile.GetUserStoreForAssembly();

When it is run I get this error:

Unable to create the store directory

I know this is a permission issue, because when I impersonate an admin user it works.

I have the aspnet user set with full permissions on the directory the website is in but it doesn't appear to make a difference, so I am wondering where I need to set the permission? As I don't actually know where it creates the directory for the isolated storage.

Thanks in advance

Becky
Right click the folder and relect property and for security tab and select Users<br> and give full permission to users
Oct 11 '07 #2
Bexm
16
Right click the folder and relect property and for security tab and select Users<br> and give full permission to users
It is already set as this, but this should not make any difference.. its the aspnet user I need to give permissions to something? Its the something that I don't know!
Oct 11 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: gani | last post by:
hi, how to get the fullpath of created IsolatedStorage directory. thanks. -- gani
1
by: malcolm | last post by:
Hello, We use several user controls and derived custom controls. Some of which actually hit the database at design time to show data (such as filling a list box, etc...) Our c# client server...
7
by: MrNobody | last post by:
I was a Java developer so I'm used to using property files as a means to keep configuration settings for my apps. I'm wondering what options are there with ..NET? Some settings I want to include...
0
by: Namratha Shah \(Nasha\) | last post by:
Hey Group, After a long week end I am back again. Its nice and refreshing after a short vacation so lets get started with .NET once again. Today we will discuss about Isolated Storage. This is...
0
by: Robert Love | last post by:
I am trying to save some boolean values from checkboxes using isolated storage. I am able to do strings and integers without a problem but I can't work out how to save boolean values without seeing...
7
by: Jon Berry | last post by:
I'm executing an external process from my C# app. It uses a typical command line type interface: program.exe inputfile outputfile I want the outputfile stored in IsolatedStorage. Is there...
0
by: CodeMonkey | last post by:
I am using Isolated Storage to save some machine wide application settings. I noticed that if I saved the settings in a non-dotfuscated exe, those settings were not found in a dotfuscated exe. I...
2
by: Andrus | last post by:
WinForms MDI application stores user preferences (form position, sizes, query params etc) in isolated storage. I want to offer user menu selection "Restore defaults" which deletes all those...
0
by: Andrus | last post by:
WinForms .NET 3.5 application creates files using UserSettings.Store object. UserSettings.RemoveAll() does not remove those files. Directory...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.