Here's how to use VS 2008 Build/Publish Website to upload site

Discussion in 'Visual Studio' started by Polybius, Jan 20, 2009.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Here's a tip for any other customers here at DASP that may be having trouble using Build/Publish to upload their sites. I had many troubles with VS 2008 just hanging and failing, until I did it this way.

    Here is how I can successfully use theVS 2008 Build/Publish Web Site menu command to publish a web site to my DASP account in about 4 - 5 seconds:

    1. Click Build/Publish Web Site

    2. In the left panel of dialog, click on File System (rather than FTP)

    3. For Target Location: ftp://myControlPanelUsername:[email protected]/

    4. Then check the box Allow this precompiled site to be updatable.(I'm not sure this is necessary.)

    5. Click OK.

    This successfully published my small HelloWorld website in about 4 seconds. Nice and clean.
     
  2. I tried your technique with a very simple project myself and it published succesfully but when I try to go to the site that I published on the internet I stlll get the control panel login for DiscountASP.net. I had used the Web Application tool to enable the project as a web application first so I'm wondering how do you deploy or publish your web site so that you see it on the internet. I'm working with Visual Web Developer 2008. I created a file system site that works just like I want it to. I'm trying to now deploy it to the DiscountASP.net servers though I've been experimenting with a super simple test web site first since the project I created that I actually want to use for my web site is rather large because of all the images I display. Once I get the little test web site to deploy successfully I'll then replace it with the one that I want.
     
  3. If you're getting the Control Panel login page when you visit your site, it's because there's a default index file placed in your account when the account is first created. Sort of like a testing page to make sure that your site is visible.

    You can remove this file, and then you should no longer have any problems viewing your site.

    You can also change the default documents, which you can read more about in our KB article here: http://support.discountasp.net/KB/a155/iis-tools-default-documents.aspx?KBSearchID=18271
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page