« Previous Next »

Answered Thread: HTTP 404 - File not found

Last post 07-10-2009 1:48 PM by richiebabes99. 10 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (11 items)

Sort Posts:

  • 07-03-2009, 4:13 PM

    • neillray
    • Not Ranked
    • Joined on 07-03-2009, 8:02 PM
    • Posts 6

    HTTP 404 - File not found

    I have a functioning, publicly-hosted website.  I FTPed the site to my local computer (C:/TSV) and installed installed it using "Computer Management" as an IIS website.  I entered default.aspx as the first file in the Computer Management/properties "Documents" section.  When I browse to http://localhost/tsv, I get HTTP 404 - File not found.  What am I doing wrong?

  • 07-03-2009, 8:37 PM In reply to

    Re: HTTP 404 - File not found

    Make sure the application pool, IUSR account have permissions to the folder.   Also, make sure the ASP.NET module is installed.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 07-03-2009, 10:28 PM In reply to

    • neillray
    • Not Ranked
    • Joined on 07-03-2009, 8:02 PM
    • Posts 6

    Re: HTTP 404 - File not found

    Steve,

    Thank you so much.  It's great to know I am not alone out here.  That said, I don't know what an application pool is, nor do I know what a IUSR account is.  I can, however, install ASP.net on my PC.

    Regards,

    Neill

  • 07-04-2009, 10:21 AM In reply to

    Re: HTTP 404 - File not found

    To start with what OS have you got?

     

  • 07-04-2009, 12:57 PM In reply to

    • neillray
    • Not Ranked
    • Joined on 07-03-2009, 8:02 PM
    • Posts 6

    Re: HTTP 404 - File not found

    My OS = Windows XP Professional and is current with all updates.

  • 07-04-2009, 11:16 PM In reply to

    • neillray
    • Not Ranked
    • Joined on 07-03-2009, 8:02 PM
    • Posts 6

    Re: HTTP 404 - File not found

    I created a 2nd website consisting of one HTML page and was able to browse to it successfully.  The problem website, TSV, contains an SQL Server 2005 database on the production site, but I have not installed SQL 2005 on my local PC.  Perhaps something in the Web.config file causes the problem.

  • 07-09-2009, 3:10 AM In reply to

    Re: HTTP 404 - File not found

    Hi,

    It is IIS5.1 on Windows XP professional for test environment. You can host only one default website on IIS5.1.  Have you created a virtual application under the default website with the local path C:/TSV? What's happens, if you browser the page from the computer management(Click the virtual directory->Right-Click the page on the right panel->Click Browser)?

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • 07-09-2009, 11:26 AM In reply to

    • neillray
    • Not Ranked
    • Joined on 07-03-2009, 8:02 PM
    • Posts 6

    Answered Re: HTTP 404 - File not found

    Thank's for your response.  I believe now my problem is not related to IIS.  My online application has a database and I have not installed the DB on my local PC, yet.  At present, the web.config file refers to a non-existant DB and I get an application-generated error message.  Thus, I think the system is trying to come up.

  • 07-09-2009, 4:22 PM In reply to

    Re: HTTP 404 - File not found

     How do you do those things?

    (The things said in the 2nd post of this thread)

  • 07-09-2009, 5:28 PM In reply to

    • neillray
    • Not Ranked
    • Joined on 07-03-2009, 8:02 PM
    • Posts 6

    Re: HTTP 404 - File not found

    Your question is somewhat cryptic, but that never stopped me from coming up with an answer. :-) 

    A web.config file includes, among other things, the database logon ID and password.  I need to install the database (SQL Server 2005) on my local PC and "restore" the data from the online database to the local database.  That will establish a clone of the database on my local PC.  Then I browse to my local website and see what happens.

  • 07-10-2009, 1:48 PM In reply to

    Re: HTTP 404 - File not found

    I don't know why my question was cryptic - I referenced the 2nd post in the thread which reads:

    "Make sure the application pool, IUSR account have permissions to the folder.   Also, make sure the ASP.NET module is installed."

    I don't know why setting up a database has anything to do with it!

Page 1 of 1 (11 items)
Microsoft Communities