无法通过 Web 部署发布 asp.net 到 IIS

Cant publish asp.net with web deploy onto IIS

我在 Visual Studio 的 Web 部署方面遇到了很多问题。 几个月前它没有任何问题,但现在我得到了这个愚蠢的错误:

    Severity    Code    Description Project File    Line    Suppression State
    Error Web deployment task failed. ((12.12.2018 21:29:45) An error                 
    occurred when the request was processed on the remote computer.)


    (12.12.2018 21:29:45) An error occurred when the request was processed on 
    the remote computer.

    Unable to perform the operation. Please contact your server administrator 
    to check authorization and delegation settings. S.E.P.P_WebApi      0   

我只是不知道可能发生了什么变化或者那里出了什么问题。

我用一个全新的 Asp.Net 项目尝试过它,但也没有用,所以我认为一定是服务器出了问题。我只是找不到它可能是什么,因为自它工作以来我没有改变任何东西。

请帮忙

在 Mohsin Mehmood 的帮助下,我可以修复它。 在这个问题中提供的答案: Web deployment task build failed 最终可以修复它。问题是,Web 部署所需的用户 WDeployConfigWriter 和 WDeployAdmin 的密码已过期。只是改变了它,它又起作用了。