Info Using ID xxxx For Connections To The Remote Server Error Code ERROR CONNECTION TERMINATED

Info: Using ID 'xxxxxx' for connections to the remote server. Error Code: ERROR_CONNECTION_TERMINATED

Error:

Info: Using ID 'f9440097-6bed-4339-8213-c0ee4837c968' for connections to the remote server.

Error Code: ERROR_CONNECTION_TERMINATED

More Information: Web Deploy experienced a connection problem with the server and had to terminate the connection. Contact your server administrator if the problem persists. Learn more at Microsoft Web Deploy error codes .

Error: Unexpected end of file has occurred. The following elements are not closed: results. Line 1, position 550.

image.png



Resolution: Follow the steps below,

  1. Uninstall security software in the server and try again
  2. Make sure Management Services are installed (Add Role and Features > Web Server)
  3. Check if Web Management Services and Web Deploy Agent Service are running
  4. Make sure Fiddler or any other similar software is not running during the publish
  5. Check if TCP port 8172 are open .