When I hit publish on a VS2012-MVC4-Project, enter my credentials (local domain) and hit "Validate connections" I get the error-message:
"Web deployment task failed. (Unexpected end of file has occured. The following elements are not closed: results. Line 1, position 586.)"
The server is running Win Srv 2008 R2, IIS 7.5, Web Deploy 3.0.
Importing using the import-option on the target IIS-Management-Studio and selecting the ZIP-file create by VS will work without any problems.
The strange thing is, that WebDeploy already worked. This error comes and goes and I can't figure out, what the reason is.
Sounds like the WebDeploy-service isn't responding well-formed.
My settings are: Service UR: http://{NAMEOFSERVER} Site/application: Default Web Site
Is Web Deploy installed? You can verify web deploy is installed by going to the "Programs and Features" control panel and looking for "Microsoft Web Deploy 2.0" in the list of installed programs. If it is not there, you can install it via the Web Platform Installer by going to the "Products" tab.
This error indicates that you cannot connect to the server. Make sure the service URL is correct,firewall and network settings on this computer and on the server computer are configured properly,and the appropriate services have been started on the server.
I had the same issue, even though I was pointing to the proper url. It turns out I had Fiddler running and that was interfering with the request/response.
Makes sure you don't have any packet sniffers or proxy services running.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With