The permissions set by the directory are not enough to cause the website to post

  

The author is the webmaster of a website. In order to protect the security of the website, the website is backed up daily to prevent accidents. However, after the author finished the website backup last time, everything in the IIS test of the machine is normal, but it can't be posted normally. There is an error message when posting, but the website does not have this problem on the server. What is going on here? Is the website download not complete, so there will be an error when posting? So the author re-downloaded the website again and found that it was still impossible to post.

because the site is no problem on the server, so I judge the problem is on IIS. First re-installed IIS, the problem still exists, and then upgraded the version of IIS, still can not post normally. No way, I have to ask for help. I have asked many friends and have not encountered such strange problems. Finally, a friend told me that the problem may be that the permissions of the directory are not enough. It is recommended to set enough permissions on the directory to see if it can solve this problem. The author enters the IIS settings, adds "write" and "script resource access" permissions to the website, as shown in the figure, and then opens the website set up on the machine again, and finds that it can post normally. If you are experiencing similar problems, you may wish to re-set the permissions of the website, and the problem may be solved.

Copyright © Windows knowledge All Rights Reserved