System.UnauthorizedAccessException - Using win forms application opening file - Urgent



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.


.



Relevant Pages