Unauthorized Access To Path Of File I Just Created Using FileStream - ASP.NET Cassini

Bkdenice

New Member
I'm hoping someone could help me address a file permissions issue. I'm having a permissions problem with an ASP.NET Web Application System.UnauthorizedAccessException: Access to the path 'Actual Path is here' is denied.
  • Web App
    • Another Peer of Files
    • FilesTemp
    • A random but needed temporary file (this is the location of the file I just created, but then cannot read later on via a FileStream)
I am running the site under Cassini and when I view the properties of the folder and the file it says that I have full control along with the system and all administrators.I create a temporary file in the code using a File.Copy, but then I cannot access it via a FileStream later on in the code. I have tried running Visual Studio as administrator as well.
 
Back
Top