troubleshooting Question Upload File ( FileUpload1.SaveAs) "Access to the path denied"

Avatar of JS List
JS ListFlag for United States of America asked on
Microsoft IIS Web ServerASP.NET
14 Comments1 Solution2602 ViewsLast Modified:
Have a page that was working in IIS 6.  Upgraded from IIS 6 to IIS 8.5 and now this doesn't work.  Using .Net V4.0

Uploading file from web #2  to a different web #1. The document goes into a file folder.  Each one has it's own appPool.  (web1, web2)

I understand now the identity is in the application pool.  So I set the appPool on both webs (1 & 2) to NetworkService.  (Thru IIS -> Application Pools -> Right Click -> Advanced Settings -> Identity)

Then on the file folder where the docs are stored gave NetworkService all permissions.  Still have the error.  So then on the file folder I gave permissions to everyone for everything - still have "Access denied"

Any ideas?
Dan McFadden
Technical Lead - Active Directory

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 14 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 14 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros