how to give permission through code to write a file?

Posted by Vforvijay under VB.NET on 5/13/2011 | Points: 10 | Views : 2869 | Status : [Member] | Replies : 1
hi...
i need a requirement to write a file that is present in the windows directory,when i try to access to write its not updated the content ,But when i kept the file outside from windows directory its updating ...how to give permission to the file to enable full control through code.....plz give me solution for this problem.....




Responses

Posted by: Nishithraj on: 5/13/2011 [Member] Bronze | Points: 25

Up
0
Down
Please read this thread

http://stackoverflow.com/questions/5437723/iis-apppoolidentity-and-file-system-write-access-permissions

Mark this as answer, if it is.....

With regards
Nishithraj Narayanan

Vforvijay, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response