How to Publish Your ASP Application Using FTP Method in Visual Studio

On a previous post, we showed you how to publish your application with Web Deploy. However some of our users were experiencing issues with Web Deploy and were looking for an alternative way to publish their applications. In this article, I will give you a step by step guide on how to publish your ASP Application using FTP Method in Visual Studio

1. First, create a virtual directory. This is where your application will be installed. If you don’t know how to create one, please read this article

2. Now, create an ftp account pointing to the virtual directory created on step one. If you don’t know how to it, please read this article

3.  Start Visual Studio 2010 and select your project. In this case, we’re using an ASP.NET 4.0 web application

4. Now, on the Solution Explorer, right click on your project name and select “Publish”:

5. Now on the Publish Web window, select FTP as a Publish Method. For the target location, put the address of the FTP created in step 2. As always enter your FTP username and Password created in Step 2. Do not select Passive Mode, this is very important. If you select it, you will experience publishing conflicts:

6. Then Hit Publish and wait for the publishing to finish:

7. And that’s it. Your ASP application will be published.

This concludes how to publish your ASP application with FTP in Visual Studio

Looking for quality Asp Hosting? Look no further than Arvixe Web Hosting!

Happy Hosting!

Rodolfo Hernandez

Tags: , , , , , , , , | Posted under ASP .NET 2, ASP .NET 3.5, DotNet/Windows Hosting | RSS 2.0

Author Spotlight

Rodolfo Hernandez

Rodolfo Hernandez

I like photography and reading books. Currently working for Arvixe as Elgg Community Liaison. Elgg Security Expert Web Security Expert CEO of UDP SW Social Web

2 Comments on How to Publish Your ASP Application Using FTP Method in Visual Studio

  1. lino says:

    I created an ftp profile and hosted at aidererp.com/wwwroot/testhost. I worked well for the first time.
    But next time when i used the same profile, its creating an extra level automatically . Like aidererp.com/wwwroot/testhost/wwwroot/testhost/aidererp.com/wwwroot/testhost/

    • Where you using the same profile to publish the same application (updating) or a new application?

      If it is a new application, please remember to change the path in the FTP account for the new application that you want to publish.

      Regards,

Leave a Reply

Your email address will not be published. Required fields are marked *


6 − 4 =

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>