8 reputation
14
bio website colinwren.com
location London, United Kingdom
age 26
visits member for 3 years, 3 months
seen Nov 18 at 22:40

Aug
27
awarded  Notable Question
Jan
21
awarded  Popular Question
Sep
23
comment IIS 7.5 Windows 2008 R2 access to path denied although set permissions
Turns out it was because I had to remove the PostedFile part out and now it's working. Feel like I've wasted your time now! Thanks for everything :)
Sep
23
awarded  Scholar
Sep
23
accepted IIS 7.5 Windows 2008 R2 access to path denied although set permissions
Sep
23
comment IIS 7.5 Windows 2008 R2 access to path denied although set permissions
Thanks Scott. The code I got from a website so I imagine this is why but I'll debug it, tbh it's only when I call leafletPDF.PostedFile.SaveAs(Server.MapPath(strFileNameOnly)) that I get the error, so it must be this way of saving. Thanks for all your help. If this doesn't solve it I'm just going to ask the client to FTP the files there or something. I'll mark as answer as you're right and been such a great help.
Sep
22
comment IIS 7.5 Windows 2008 R2 access to path denied although set permissions
Authorisation is set to Allow | All Users | Inherited and checking the logs I get 2011-09-22 12:40:12 ::1 POST /leaflet/insert.aspx - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.N‌​ET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729) 500 0 0 0 which to my untrained eye doesn't reveal anything than an internal server error. A colleague suggested it was the way the server was set up that might cause it, would this make sense?
Sep
22
awarded  Student
Sep
21
comment IIS 7.5 Windows 2008 R2 access to path denied although set permissions
Thanks Scott, I did mean the app pool identity. \leaflet is the root folder for the app ( as when trying to use a subfolder it comes up saying it can't find the path :S ). I've tried procmon, it shows the computer reading the file but it doesn't show any DENIED results. V confusing. The videos are a great resource though, thank your for the link!
Sep
19
awarded  Editor
Sep
19
comment IIS 7.5 Windows 2008 R2 access to path denied although set permissions
Oops, sorry the z should have been a backslash, I've got fat fingers
Sep
19
revised IIS 7.5 Windows 2008 R2 access to path denied although set permissions
z = \
Sep
19
asked IIS 7.5 Windows 2008 R2 access to path denied although set permissions