I'm having a 'fun' time with the new IIS 7.5 server at work. I'm not a system administrator, we updated from II6 and Windows 2003 to a IIS 7 and Windows 2008 R2 server and the Network manager hasn't any experience with the new gear so I'm trying to sort this out.
I'm creating an 'app' that works as a simple leaflet database. I've created a form that posts information to a database (which works prefectly fine) and I'm now adding an upload form to add the PDF of the leaflet. Everytime I hit the upload button I get the following error Access to the path 'C:\inetpub\wwwroot\website\leaflet' is denied.
I've set the anonymous authentication to DefaultAppPool
, I've made sure that my app is in DefaultAppPool
and I've given DefaultAppPool
Write, Modfiy rights. I've tried changing the ApplicationPoolIndentify
to Network service also. I've also used IIS APPPOOL\DefaultAppPool
in case not defining it was an app pool was an issue.
Everything that is posted online in regards to upload issues with IIS 7.5 under Windows 2008 R2 I've read and tried but no luck!
Is there anything that it could be? I'm utterly completely stuck
Best Answer
You're on the right track. Either network service or the IIS APPPOOL\DefaultAppPool will work (although IIS APPPOOL\DefaultAppPool is more secure).
You mentioned that you set the anonymous authentication to DefaultAppPool. I assume you mean that you set it to use the app pool identity. If so, that's a good setting.
Some things to check: