无法将带有Web部署的asp.net发布到IIS

时间:2018-12-12 20:43:10

标签: asp.net-mvc visual-studio iis webdeploy

从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项目中尝试了该项目,但该项目也不起作用,因此我认为它一定是发生问题的服务器。我只是找不到可能的原因,因为自从工作以来,我什么都没改变。

请帮助

1 个答案:

答案 0 :(得分:0)

借助Mohsin Mehmood,我可以修复它。 这个问题提供的答案: Web deployment task build failed 最终可以解决它。问题是,Web部署所需的用户WDeployConfigWriter和WDeployAdmin具有过期的密码。只是更改了它,然后又重新工作了。