J
Jason Hurder
Hello folks,
I am experiencing a rather strange problem. I have written a service
that attempts to open a file on a network share via a FileStream object.
When I try to open the file from my service, I get the "Access is
denied" error. However, if I try to open the file from a GUI
application, I can open the file without problem. I've tried using the
FileIOPermissions object to get around the error with no luck. Obviously
I am missing something very fundamental, the file is accessible to
'Everyone'. Does anybody know what I am doing wrong? Thank you,
Jason
I am experiencing a rather strange problem. I have written a service
that attempts to open a file on a network share via a FileStream object.
When I try to open the file from my service, I get the "Access is
denied" error. However, if I try to open the file from a GUI
application, I can open the file without problem. I've tried using the
FileIOPermissions object to get around the error with no luck. Obviously
I am missing something very fundamental, the file is accessible to
'Everyone'. Does anybody know what I am doing wrong? Thank you,
Jason