Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:

Trying to set folder permissions in c# when web applications starts. The folder is created on the install of the web application.

What I have tried:

NOthing yet, still trying to understand how
Posted
Updated 8-Sep-18 18:08pm
Comments
Richard Deeming 11-Sep-18 14:08pm    
"... when web applications starts"

If the application doesn't have the required permissions to access the folder, then it's not going to have the required permissions to alter the permissions on the folder.

Set the permissions from the installer instead.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900