How would you move a ASP.Net Website from one server to another?

Rate It (1)

Last post 01-30-2007 4:22 AM by LaTtEX. 10 replies.

Sort Posts:

  • Confused [8-)] How would you move a ASP.Net Website from one server to another?

    01-26-2007, 3:25 PM
    • Loading...
    • xberserker
    • Joined on 11-17-2005, 10:30 PM
    • Posts 51
    First off this ASP.Net Website only works with version 1.1.432. And I don't want to go threw the hassle of upgrading it to 2.0 honestly. I had a hard enuf time just getting it to work in the first place. And now I need to move it to another server, lol. Oh well.

    Both servers are running IIS 6.0 & ASP.Net 1.1.432 & 2.0. I copied over all the files. I looked at the IIS Configurations between the 2 servers and they seem to be the same. When I try to browse to the website on the new server. I get this error.

    HTTP Error 404 - File or directory not found.
    Internet Information Services (IIS)
    Beware the spinning triangles of death!!
  • Re: How would you move a ASP.Net Website from one server to another?

    01-26-2007, 4:23 PM
    Answer
    • Loading...
    • pkellner
    • Joined on 11-12-2004, 10:42 AM
    • San Jose, California
    • Posts 3,440
    • Moderator
      TrustedFriends-MVPs
    it sounds like you do not have a valid virtual directory and application set up on your new server.  can  you view static files like jpgs or gif's on that site? 
    Peter Kellner
    http://73rdstreet.com and blogging at
    http://PeterKellner.net
    MVP, ASP.NET
  • Re: How would you move a ASP.Net Website from one server to another?

    01-26-2007, 5:11 PM
    • Loading...
    • xberserker
    • Joined on 11-17-2005, 10:30 PM
    • Posts 51
    I made a basic .html file and it pulled up fine.
    Beware the spinning triangles of death!!
  • Re: How would you move a ASP.Net Website from one server to another?

    01-26-2007, 5:49 PM
    Answer
    • Loading...
    • pkellner
    • Joined on 11-12-2004, 10:42 AM
    • San Jose, California
    • Posts 3,440
    • Moderator
      TrustedFriends-MVPs

    probably best to verify all your iis settings.  Needs to have 'scripts enabled', set to the correct version of asp.net you are using (would get a different error if you had that wrong) and of course make sure you have the virtual directory set up correctly for the application.  You might want to post in http://www.iis.net/Default.aspx?tabid=1 for more help.

    Peter Kellner
    http://73rdstreet.com and blogging at
    http://PeterKellner.net
    MVP, ASP.NET
  • Re: How would you move a ASP.Net Website from one server to another?

    01-26-2007, 5:51 PM
    • Loading...
    • xberserker
    • Joined on 11-17-2005, 10:30 PM
    • Posts 51
    Scripts are enabled and the ASP.Net tab is set to 1.1 as well. I'm pretty sure I have the virtual directory set up right.
    Beware the spinning triangles of death!!
  • Re: How would you move a ASP.Net Website from one server to another?

    01-26-2007, 6:04 PM
    Answer
    • Loading...
    • pkellner
    • Joined on 11-12-2004, 10:42 AM
    • San Jose, California
    • Posts 3,440
    • Moderator
      TrustedFriends-MVPs
    sounds like what you have done is what I do.  I'd post your details over on the iis forum and see what they have to say.
    Peter Kellner
    http://73rdstreet.com and blogging at
    http://PeterKellner.net
    MVP, ASP.NET
  • Re: How would you move a ASP.Net Website from one server to another?

    01-26-2007, 6:06 PM
    • Loading...
    • xberserker
    • Joined on 11-17-2005, 10:30 PM
    • Posts 51
    I will thanks for your advice.
    Beware the spinning triangles of death!!
  • Re: How would you move a ASP.Net Website from one server to another?

    01-26-2007, 9:44 PM
    Answer

    Hi, make sure you have in the properties of the virtual directory:

    1. The application name set up  correctly...click remove and then recreate to be sure then apply.changes...try browsing to site otherwise..
    2. If you have anonymous access setup of the virtual directory make sure that the account IUSR_computerName or a user account that is used for internet guests have read access on the folder in the "c:\inetpub\wwwroot\yourvirtualdirectory" folder seurity tab ... then apply settings....try browsing to site otherwise..
    3. Make sure that asp.net tab is using the correct version of asp.net.....try browsing to site otherwise..
    4. if you are browsing root folder ie the default page,the documents tab has the correct default document setup ie... if the default page if default.aspx the add it to the list and move it to the top and apply and try again

     

    hope one of these sors it out for you..

    regards Dave 

     

  • Re: How would you move a ASP.Net Website from one server to another?

    01-29-2007, 2:31 AM
    Answer
    • Loading...
    • LaTtEX
    • Joined on 09-09-2005, 3:39 AM
    • Philippines
    • Posts 47
    I'm suspecting his IIS Web Service Extensions for ASP.NET 1.1.4322 isn't set to Allowed on the new Server. Check your IIS Web Service Extensions node under the Machine Name node.
    http://dotnet.kapenilattex.com
  • Re: How would you move a ASP.Net Website from one server to another?

    01-29-2007, 10:31 AM
    • Loading...
    • xberserker
    • Joined on 11-17-2005, 10:30 PM
    • Posts 51

    Ahh!!! That was it! The "Web Services Extension" in IIS, ASP.NET was Prohibited I just changed it to Allowed.

     Thank you so much for your help! :)
    Beware the spinning triangles of death!!
  • Re: How would you move a ASP.Net Website from one server to another?

    01-30-2007, 4:22 AM
    • Loading...
    • LaTtEX
    • Joined on 09-09-2005, 3:39 AM
    • Philippines
    • Posts 47
    xberserker:

    Ahh!!! That was it! The "Web Services Extension" in IIS, ASP.NET was Prohibited I just changed it to Allowed.

     Thank you so much for your help! :)

    Luckily for you I also spent a couple of sleepless nights figuring out this exact same problem. Stick out tongue

    You're welcome. Smile 

    http://dotnet.kapenilattex.com
Page 1 of 1 (11 items)
Microsoft Communities
Page view counter