FIX: Severity Code Description Project File Line Suppression State Error Web deployment task failed.

"Severity Code Description Project File Line Suppression State Error Web deployment task failed. An error occurred when the request was processed on the remote computer.) An error occurred when the request was processed on the remote computer. The server experienced an issue processing the request. Contact the server administrator for more information".



            This error occurs when first time hosting to a IIS website using WebDeploy option in visual studio. When WebDeploy option is setup for a new website is created on IIS it will create a user for deploying. This error is causing because the created user does not have the sufficient permissions to access the website directories.



             We can add this permissions manually by login in into server. The following steps are used to solve the error.

  • login in to the windows server
  • open IIS (Internet Information Service) Manager
  • Select the website needed to deploy
  • Right click on the website and select "Edit Permissions"
  • Select "Security" tab from the window
  • Click on "Edit" button
  • In the "group or usernames" section select the username we used for deploying
  • Then in the permissions window below allow "Full Control" and press "Apply"
  • Now the changes are saved. So try to deploy again and it will work.
Check the following video for more details






Comments

Popular posts from this blog

FIX Web Deploy from visual studio failed with error ERROR_EXCEEDED_MAX_S...

Add/Remove automatic password expiration of MS SQL user