First, the installation settings of the server
1. On Windows Server, make sure that IIS has the " Manage Services" feature installed. method is to add roles and features in Server Manager = + "Manage" + "+" + "+" Next "+" role-based or feature-based installation "+" + "Next" + "Select Server from server Pool" + "+" Next "=" Under Web Server (IIS). If it is not installed, install it.
2. Download Web Deploy Http://www.iis.net/downloads/microsoft/web-deploy
3. Install Web Deploy "Custom Install" + "entire feature will be installed on local hard drive" + "next" until complete
4. Set the Web site you want to use, select the Web site under IIS, double-click IIS Manager permissions on the right, and then tap allow users ... to select the user type "Windows (W)" and "=" option (E ) ... "= +" Advanced (A) ... "= =" Find Now (N) "=>administrator=>" OK "+" OK "=" OK "
Second, the use of Web Deploy
1. Open the solution, right click on the Web site project, click on the "Publish (B) ..." option in the popup menu.
2. Set up the configuration file, in the Publish web window, "New custom profile ..." + = Input profile name (N) + = "OK" + "next"
3. Setting up the connection
"Publish Method (M)" SELECT Web Deploy + =
"Server (E):" Fill in the IP address of the server = =
"Site name (T):" Fill in the name of the Web site in IIS = =
"Username (N):" Fill in the remote login account of Windows Server =
"Password (W):" Fill in the remote login password of Windows Server "="
"Destination URL (L):" Fill in the URL of the website for example http://xxx.xxxxxx.xxx + =
Click the "Verify Connection (V)" button and the certificate error click "Accept" button = "Next"
4, set,
"Configuration (C):" Select release =
Database, if you do not want to overwrite the server with a database connection string in the local Web. config, do not tick the "Use this connection strings at runtime (update target Web. config)" here. =
"Next" = "Release (P)"
Reference articles
Http://www.iis.net/downloads/microsoft/web-deploy
http://www.iis.net/learn/install/installing-publishing-technologies/ Installing-and-configuring-web-deploy-on-iis-80-or-later
Http://www.iis.net/learn/publish/troubleshooting-web-deploy/web-deploy-error-codes#ERROR_CERTIFICATE_VALIDATION_FAILED
Web Deploy Server installation settings and usage