System.UnauthorizedAccessException - Using win forms application opening file - Urgent
- From: "Matt Adamson" <Adamson_matthew@xxxxxxxxxxx>
- Date: Mon, 11 Sep 2006 12:53:01 +0100
I have some very simple code
FileStream fileStream = new
FileStream(@"K:\Development\Projects\POReport.asp", FileMode.Open);
Which throws an exception
Unhandled Exception: System.UnauthorizedAccessException: Access to the path
"K:\Development\Projects\POReport.asp" is denied
I could understand if this was an ASP.NET issue however as it's run using
the interactive account it's very strange.
Any ideas on how I can progress this issue e.g. are there tools I can use to
determine why were getting access to denied.
.
- Follow-Ups:
- Prev by Date: Re: System.UnauthorizedAccessException - Using win forms application opening file - Urgent
- Next by Date: Saving config file - System.UnauthorizedAccessException
- Previous by thread: Re: What do FTP servers do when file send fails durring a file upload? Are partial files ever written? does ftp protocol cover this?
- Next by thread: Re: System.UnauthorizedAccessException - Using win forms application opening file - Urgent
- Index(es):
Relevant Pages
|