Published ASP.NET web site - Page not found

Posted on 2008-11-06
Last Modified: 2012-06-22
.NET 2.0
IIS 5.0

You could say that I'm new to publishing web sites etc, so hopefully this could be just a simple solution to my question.
I built this simple site in VS2005 and it runs like a champ.  I used the publish feature and published it to my companies sites on server (IIS).  Now when I try to run default.aspx it tells me that the page cannot be found.  But if I put something like default.asp (with just "Hello World") it works great.  I'm worried that just publishing my ASP.NET site is just not that easy as it seems.
Any direction on this would be great!
Question by:wayneburr

    Author Comment

    Forgot to attach attachments

    Author Comment

    Just another note:
    I did not do anything in IIS on the server except to check to make sure that ASP.NET version 2.0 was selected for folder, and it is.
    I'm seaching other places to see if I had to make any changes in IIS just to pulbish the site.  All this folders are off of the WWWROOT.
    LVL 3

    Expert Comment

    Do you install .NET Framework on your server?

    This problem sometimes occur if not.

    Author Comment

    In the ASP.NET tab, I have version 2.0 selected.  All the other sites on this server are running as ASP classic sites.  This site is ASP.NET and the only one on this server.
    LVL 3

    Accepted Solution

    Please, check the following
    1. Site is created as Web Application or Virtual Directory
    2. MIME type for .aspx is added
    3. You can also run aspnet_regiss -i for your server
    4. Check ASPNET and IIS user rights to this file

    Author Closing Comment

    It seems there is a problem with the configuration of IIS5 on the 2000 box.  There are numerious web sites on that box and are working great.  I found another server we had that (2003 box) and in IIS6 I was able to get my site working like it should.
    Thanks for the help!

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    This video discusses moving either the default database or any database to a new volume.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now