Asp.net loading a file encounters "Access to the path … is denied" in development on Windows 7

Posted by ray247 on Stack Overflow See other posts from Stack Overflow or by ray247
Published on 2010-04-26T06:30:18Z Indexed on 2010/04/26 6:33 UTC
Read the original article Hit count: 210

Hi there,

I have an Asp.net app that simply reads an xml file and this code used to work fine on Vista with VS2008, now I just moved to Windows 7 and I migrated the code to VS2010, I encoutered “Access to the path [path to my webapp folder] is denied". Nothing else is changed, I tried to change folder perms even though I didn't think it got anything to do with that since the same code used to work fine, but still didn't get around this problem.

Could someone please shed some light on why this may be happening and how to fix it?

Thanks, Ray.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about access-denied