Hi, I was looking for the the trick to resolve that error (google, stackoverflow.com etc) and every nothing works. I need to dinamically create an .aspx file via the asp.net application.
What I've done to try fix it:
1) In the folder's Properties -> Security, I've added IUSR_TONY and also IIS_IUSRS and allow them the Full control to the folder. Just to check if that will help. Nope, it won't.
2) in the IIS Manager, I tried to change the Application's Pool Defaults Identity (based on that) I checked all options, with no success
I don't know what to do more to fix it. Any ideas ?