Sonreir Posted December 18, 2005 Posted December 18, 2005 Hey all, I'm trying to save a file uploaded by a user, but I keep getting the exception: Access to the path "c:\inetpub\wwwroot\UploadTest\uploaded_files\Ascgen.exe" is denied. Do I need to change something in IIS to allow my program access to this folder? Quote
bri189a Posted December 18, 2005 Posted December 18, 2005 Well it could be one of two things...the path that your trying to save to should be a directory, not a program file. The ASPNET local machine account needs read/write access to the specific directory along with the IIS account. Quote
Sonreir Posted December 18, 2005 Author Posted December 18, 2005 I don't have an ASP.NET local machine account... ?!?! Quote
bri189a Posted December 19, 2005 Posted December 19, 2005 You have to if you're running your asp.net applications locally. Give that folder permission Full Access to Everyone - it should work then. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.