asp.net - Give permission to IIS user account for directory create inside the project's App_Data directory -


i have situation please read on.

in order let iis worker process(process under web application running)create folder inside app_data folder(in website root) have given permission iis user account (application pool identity).my worker process runs under user account.

so when application runs application_start method inside global.asax called , directory created application w/o problem.

now problem when every time site built , deployed,is entire folder structure recreated in webroot?i thought during build , deployment files inside folder replaced.please clarify?

if have apply permission app_data folder again in order let iis worker process create directory again via iis user account.

please clarity doubt.my problem solved, if not required me set permission again app_data everytime site build , deployed.

thanks in advance s.

ive never tried found this.he has provided way set permissions @ deploy:

http://sedodream.com/2011/11/08/settingfolderpermissionsonwebpublish.aspx


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -