简体   繁体   中英

Could not publish website to the server using Web Deploy

I'm using Visual Studio 2017 Community Edition and want to publish a website to the server. IIS 10 is installed on the server which is running MS Windows Server 2016. I've Installed Management Service and Web Deploy3.6 I've created IIS User and granted it's permission for the specific website in IIS. When I try to publish using Web Deploy profile on Visual Studio, I got the error below:

在此处输入图片说明

the details :

在此处输入图片说明

But the log file in the server shows the connection is ok and it returns code 200 :

在此处输入图片说明

Double check your credentials. I've only ever uploaded via FTP to a remote server in visual studio, as long your credentials and server are valid it should pass the validation check. Make sure the correct ip for your server is entered.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM