Hi All Ím trying to deploy my Asp.Net MVC 4 Web Application usign Visual Studio 2012 with the Publish FTP Option, I'm setting the information as in previous examples in the forum, and I'm getting the following errors: The process is unable to add .dll, css, js files, also unable to add the web.config... or What would be the best way to deploy an Asp.Net MVC 4 Web Application? Thanks for your comments. 2>Connecting to ftp://ftp.javierperez.mx/... 2>Transformed Web.config using C:\Users\javier\Source\Workspaces\JavierPerez\JavierPerez\JavierPerez.Web\We b.Release.config into obj\Release\TransformWebConfig\transformed\Web.config. 2>Copying all files to temporary location below for package/publish: 2>obj\Release\Package\PackageTmp. 2>Deleting existing files... 2>Publishing folder /... 2>Publishing folder bin... 2>Unable to add 'bin/Antlr3.Runtime.dll' to the Web site. Can't connect 2>to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Unable to add 'bin/Microsoft.Web.Infrastructure.dll' to the Web site. Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Unable to add 'bin/Microsoft.Web.Mvc.FixedDisplayModes.dll' to the Web site. Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Unable to add 'bin/System.Web.Optimization.dll' to the Web site. 2>Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Unable to add 'bin/System.Web.WebPages.Razor.dll' to the Web site. 2>Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Publishing folder Content... 2>Publishing folder Content/themes... 2>Publishing folder Content/themes/base... 2>Unable to add 'Content/themes/base/jquery-ui.css' to the Web site. 2>Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Unable to add 'Content/themes/base/jquery.ui.accordion.css' to the Web site. Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Unable to add 'Content/themes/base/jquery.ui.core.css' to the Web site. Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Unable to add 'Content/themes/base/jquery.ui.slider.css' to the Web site. Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Unable to add 'Content/themes/base/jquery.ui.theme.css' to the Web site. Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Publishing folder Content/themes/base/images... 2>Unable to add 'Content/themes/base/images/ui-icons_454545_256x240.png' 2>to the Web site. Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Publishing folder Content/themes/base/minified... 2>Unable to add 'Content/themes/base/minified/jquery-ui.min.css' to the 2>Web site. Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Unable to add 'Content/themes/base/minified/jquery.ui.accordion.min.css' to the Web site. Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Unable to add 'Content/themes/base/minified/jquery.ui.button.min.css' 2>to the Web site. Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Publishing folder Content/themes/base/minified/images... 2>Unable to add 'Content/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png' to the Web site. Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Unable to add 'Content/themes/base/minified/images/ui-icons_2e83ff_256x240.png' to the Web site. Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Unable to add 'Content/themes/base/minified/images/ui-icons_888888_256x240.png' to the Web site. Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Publishing folder Scripts... 2>Unable to add 'Scripts/jquery-1.8.2.min.js' to the Web site. Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Unable to add 'Scripts/jquery.unobtrusive-ajax.js' to the Web site. 2>Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Unable to add 'Scripts/jquery.validate.js' to the Web site. Can't 2>connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Unable to add 'Scripts/jquery.validate.min.js' to the Web site. Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Unable to add 'Scripts/knockout-2.2.0.js' to the Web site. Can't 2>connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Unable to add 'Scripts/modernizr-2.6.2.js' to the Web site. Can't 2>connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Publishing folder Views... 2>Unable to add 'Views/Web.config' to the Web site. Can't connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Unable to add 'Views/_ViewStart.cshtml' to the Web site. Can't 2>connect to 'ftp.javierperez.mx' on port 21. Check the server name and proxy settings. If the settings are correct, the server may be temporarily unavailable. 2>Publishing folder Views/Home... 2>Publishing folder Views/Shared... 2>Site was published successfully ftp://ftp.javierperez.mx/ 2> ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== ========== Publish: 0 succeeded, 1 failed, 0 skipped ==========
If you can't connect, it might be because of your antivirus/firewall software. You can also use Web Deploy to deploy your application.