10 TIPs - To Become a Good Developer/Programmer
Why Join
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
jholt456
0
7
0
Security.Permissions issue
Jan 18 2005 1:21 AM
Thank you in advance. I'm writing some simple EDI processing software for my sales department and I ran into an issue with Permissions. I'm a converted java programmer so this .NET security stuff is greek to me. My application runs fine when its on a local machine, obivously cause its fully trusted, but as soon as I move it to a network share I get the an error involving FileIO. I disabled the caspol on our dev server but I still get the error. My current FileIO objects are try{ StreamReader sr = new StreamReader(infile) StreamReader sw = new StreamReader(outfile) (some code) } Can anyone help me understand how this PermissionSet thing works well enough so I can get it to read/write files while its on a local share? Thanks again J. Holt
Reply
Answers (
1
)
Logon failure message while connectiong to SQL
Protecting your Dlls