Link to the image
While publishing a .NET core application via Web Deploy in Visual Studio 2017, it fails with the following error:
Error Web deployment task failed. (The connection to the remote computer ("example.com") was established with the Web Administration Service, but authorization was not possible. Ensure that you are using the correct user name and password to connect to the website And that the credentials represent a user who is authorized to access the site. For more information, see:
Web Deploy error codes.) Make sure the site name, username, and password are correct. If the issue is not resolved, please contact your local or server administrator. Error details: The connection to the remote computer ("example.com") was established with the Web Administration Service, but authorization was not possible. Ensure that you are using the correct user name and password, that the Web site to connect to, and that the credentials represent a user who is authorized to access the site. For more information, see:
Web Deploy error codes. The remote server returned an error: (401) Unauthorized.
the user and password are correct , i found article at this link for this bud
Web Deploy publishing fails: ERROR_USER_UNAUTHORIZED
but only offer iis.php file replacement for version 17.0 and 17.5
my version is 17.8 ,, how i could fix this issue ?