Click here to Skip to main content
15,899,754 members
Home / Discussions / C#
   

C#

 
GeneralRe: Newbie to C# :o) Pin
Daniel Strigl27-May-03 0:21
Daniel Strigl27-May-03 0:21 
GeneralImages on toolbar buttons Pin
monrobot1326-May-03 7:28
monrobot1326-May-03 7:28 
QuestionResources...Where do they go? Pin
monrobot1326-May-03 7:12
monrobot1326-May-03 7:12 
AnswerRe: Resources...Where do they go? Pin
James T. Johnson26-May-03 11:23
James T. Johnson26-May-03 11:23 
GeneralRe: small C application Pin
KingTermite26-May-03 4:19
KingTermite26-May-03 4:19 
GeneralWeb Services on localhost Pin
gadgetfbi26-May-03 2:58
gadgetfbi26-May-03 2:58 
GeneralRe: Web Services on localhost Pin
Rocky Moore26-May-03 5:08
Rocky Moore26-May-03 5:08 
GeneralSystem.Security File I/O problem Pin
Paul Griffin26-May-03 0:18
Paul Griffin26-May-03 0:18 
Hi all,

i've developed a c# windows application that envolves file I/O. Up to now all development has been on my own machine running win2k pro and i am logged in as an administrator. I recently tried running the code on another machine on which i installed the .net redistributable and as soon as the app tried to access the file system (i.e when opening a file dialog) it through an exception of the type System.Security.FileIOPermissions.

I've looked into it a bit and discovered how the clr assigns permissions to different assemblies at runtime etc.

What i'd like to know is, is there a way for me to configure my code so that it can always access the file system on other machines... i don't want the user to have to manually increase the trust level using the .net config tool as that would be very messy!!

any help is appreciated
Thanks
Paul


Paul Griffin
GeneralRe: System.Security File I/O problem Pin
apferreira26-May-03 0:31
apferreira26-May-03 0:31 
GeneralRe: System.Security File I/O problem Pin
Paul Griffin26-May-03 0:45
Paul Griffin26-May-03 0:45 
GeneralRe: System.Security File I/O problem Pin
apferreira26-May-03 1:02
apferreira26-May-03 1:02 
GeneralRe: System.Security File I/O problem Pin
Paul Griffin26-May-03 1:08
Paul Griffin26-May-03 1:08 
GeneralRe: System.Security File I/O problem Pin
Paul Griffin26-May-03 4:12
Paul Griffin26-May-03 4:12 
GeneralRe: System.Security File I/O problem Pin
Josh Martin27-May-03 13:52
Josh Martin27-May-03 13:52 
GeneralWorking on other application Pin
yarns25-May-03 21:27
yarns25-May-03 21:27 
GeneralRe: Working on other application Pin
apferreira26-May-03 0:20
apferreira26-May-03 0:20 
GeneralRe: Working on other application Pin
yarns26-May-03 0:42
yarns26-May-03 0:42 
GeneralRe: Working on other application Pin
apferreira26-May-03 1:07
apferreira26-May-03 1:07 
GeneralRe: Working on other application Pin
yarns26-May-03 19:56
yarns26-May-03 19:56 
GeneralRe: Working on other application Pin
Rocky Moore26-May-03 5:16
Rocky Moore26-May-03 5:16 
GeneralInstallation Sets on .net desktop applications Pin
Braulio Dez25-May-03 21:04
Braulio Dez25-May-03 21:04 
GeneralRe: Installation Sets on .net desktop applications Pin
apferreira26-May-03 0:18
apferreira26-May-03 0:18 
GeneralRe: Installation Sets on .net desktop applications Pin
Braulio Dez26-May-03 0:31
Braulio Dez26-May-03 0:31 
GeneralRe: Default Marshaling for Strings Pin
Anonymous25-May-03 20:20
Anonymous25-May-03 20:20 
GeneralUsing password with access & OledbConnection Pin
Meysam Mahfouzi25-May-03 18:19
Meysam Mahfouzi25-May-03 18:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.