Enabling File Permissions For Your ASP.NET App on Windows Server 2003

by Marvin 15. March 2010 03:18

I'm ashamed it took me 3 days to figure this out.  I have a web app that performs a file operation using System.IO.FileStream.  It worked fine on my local dev box, but as soon as I pushed it to my GoDaddy server, I got a System.UnauthorizedAccessException error "Access to the path xxx is denied."  Here's how I fixed it. More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

About the author

I am a junior-level C# .NET developer living in Nashville, TN.  I'm currently working in biomedical informatics, developing a web service, a MySql database, and a web application.  Every week or so, I spend hours trying to figure out how to do something, and after I find the solution, I really want to make sure I don't go through that exercise again.  I love to write.  It helps me to remember things.  So, I use this blog as a way to document those painful lessons as I learn them.  It has already helped me to be able to refer back to them.  I hope some of these will save someone else some time as well.