472,968 Members | 1,488 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Isolated Storage - Problem with GetMachineStoreForAssembly

I need to create an Isolated Storage File for my assembly with machine level
scope. I have used the 'GetMachineStoreForAssembly' method to do this and
this creates the Isolated Storage File successfully but when I log onto
another profile and run the code, it creates another Isolated Storage File
(in C:\Documents and Settings\All Users\Application Data\IsolatedStorage\)
rather than writing/reading to/from the existing file. It would seem that a
separate file is being created for each user but I would expect there to be
only one file as the method name 'GetMachineStoreForAssembly' suggests that
the file should have machine level scope and not user level scope. I would
like to have just one copy of the Isolated Storage file rather than one copy
per user as the Isolated Storage file will be used to store application-wide
settings.
Nov 22 '06 #1
1 3156

"C#Coder" <CC****@discussions.microsoft.comwrote in message
news:B0**********************************@microsof t.com...
>I need to create an Isolated Storage File for my assembly with machine
level
scope. I have used the 'GetMachineStoreForAssembly' method to do this and
this creates the Isolated Storage File successfully but when I log onto
another profile and run the code, it creates another Isolated Storage File
(in C:\Documents and Settings\All Users\Application Data\IsolatedStorage\)
rather than writing/reading to/from the existing file. It would seem that
a
separate file is being created for each user but I would expect there to
be
only one file as the method name 'GetMachineStoreForAssembly' suggests
that
the file should have machine level scope and not user level scope. I would
like to have just one copy of the Isolated Storage file rather than one
copy
per user as the Isolated Storage file will be used to store
application-wide
settings.
Are you running partially trusted or full trust? Sharing data between users
probably requires some additional permissions, for example an assembly
loaded from the web would be prohibited from doing this.
Nov 24 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jody Gelowitz | last post by:
Exactly what is the size limit of Isolated Storage in the Internet permission set? I have a document indicating it is 10MB (http://msdn.microsoft.com/msdnmag/issues/02/07/NetSmartClients/) ...
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...
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...
3
by: U.C. | last post by:
Hello, My client needs to collect data on a disconnected computer. I am hoping I could store data in Isolated Storage as XML files and expose later to a server (does anyone have experience with...
0
by: C#Coder | last post by:
I need to place a file in Isolated Storage with machine level scope i.e independent of the user. I have used the 'GetMachineStoreForAssembly' method of the IsolatedStorage file class to try to...
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: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
3
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.