Monday, January 18, 2010

error: Access is denied to the path specified.

When deleting a file in asp.net, Getting the error: Access is denied to the path specified.

1. Add aspnet account and give full permissions to the specified folder.
2. Right click the folder in which file is present. Go to General tab and uncheck Readonly option.
3. In security Tab give write control for Network Service

Now, try accessing the file. It should work.

No comments:

Post a Comment