« Previous Next »

Answered Thread: HTTP Error 404.0 - Not Found error when accessing asp web page

Last post 11-24-2009 10:10 PM by Rydoll2222. 9 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (10 items)

Sort Posts:

  • 11-05-2009, 1:40 PM

    HTTP Error 404.0 - Not Found error when accessing asp web page

     

     I installed IIS7 with ASP on Windows vista home premium with 32 bits home pc.

    When I run http://localhost to check my IIS7 installation, I am getting welcome IIS7 screen but when I access sample asp file with file name default.asp which got saved in c:\inetpub\wwwroot\default.asp

     I am getting following error.

    HTTP Error 404.0 - Not Found

    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

     

    ModuleNameIIS Web Core
    Notification16
    HttpStatus404
    HttpReasonNot Found
    HttpSubStatus0
    ErrorCode2147942402
    ConfigExceptionInfo
    Notification MAP_REQUEST_HANDLER
    ErrorCode The system cannot find the file specified. (0x80070002)

     

    Url http://localhost:80/default.asp
    App Pool DefaultAppPool
    Authentication anonymous
    User from token NT AUTHORITY\IUSR
    Activity ID {00000000-0000-0000-0500-0080000000FF}

     

    Site 1
    Process 4456
    Failure Reason STATUS_CODE
    Trigger Status 404
    Final Status 404
    Time Taken 0 msec

     

    Through process monitor:

    12:11:12.2928353 PM    w3wp.exe    4456    CreateFile    C:\inetpub\wwwroot\default.asp\web.config    PATH NOT FOUND    Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: Read, Write, AllocationSize: n/a

    12:11:12.2938378 PM    w3wp.exe    4456    CreateFile    C:\inetpub\wwwroot\DEFAULT.ASP    NAME NOT FOUND    Desired Access: Generic Read, Disposition: Open, Options: Sequential Access, No Buffering, Attributes: RE, ShareMode: Read, Write, Delete, AllocationSize: n/a, Impersonating: NT AUTHORITY\IUSR
     

    Can anyone tell me what else I have to do in order to  see my asp pages.

     

    Thanks for your help.

     

  • 11-05-2009, 10:54 PM In reply to

    Re: HTTP Error 404.0 - Not Found error when accessing asp web page

     No reply yet.

     

  • 11-06-2009, 2:13 AM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: HTTP Error 404.0 - Not Found error when accessing asp web page

    It just looks like c:\inetpub\wwwroot\default.asp does not exist - are you sure it does?

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 11-06-2009, 5:06 AM In reply to

    Re: HTTP Error 404.0 - Not Found error when accessing asp web page

     That path and file exists, that is the reason I am confused.

     

    Do you think it could be because of some permissions? If so could you tell me how to check permissions just to make sure. And one more confusing part  is it is creating web.config file which I have not created. I thought the web.config file will be created only in .NET environment.

     

  • 11-06-2009, 12:35 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: HTTP Error 404.0 - Not Found error when accessing asp web page

    It is pretty clear from procmon that the file does not exist.  And it is not creating web.config file, it is looking for web.config file - not finding that is ok - IIS7 also uses web.config files for its configuration.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 11-06-2009, 11:00 PM In reply to

    Re: HTTP Error 404.0 - Not Found error when accessing asp web page

     I am totally lost on this now. File is there in that location but in process monitor it says file not found that is what my problem is. That is where it is confusing me.

     

     

  • 11-09-2009, 5:43 AM In reply to

    Answered Re: HTTP Error 404.0 - Not Found error when accessing asp web page

    Hi,

    Could you open IIS manager, navigate to the website's content view, then right-click and browse the file ?

    Also, please make sure ASP role service is installed on the server.

    Classic ASP is not installed by default on IIS 7.0 and IIS 7.5
    http://learn.iis.net/page.aspx/562/classic-asp-is-not-installed-by-default-on-iis-70-and-iis-75/

    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.
  • 11-09-2009, 8:40 PM In reply to

    Re: HTTP Error 404.0 - Not Found error when accessing asp web page

     Hi Leo,

     

    I could browse my asp page through IIS manager, it opend the asp page in the internet explorer.

    When I was installing IIS7, I selected the ASP role service as it mentioned in the link you provided. However when I try to access the same asp page with the URL http://localhost/default.asp I am getting the 404 error.

    Thanks for your reply. If you know any other points please let me know.

     

     

     

  • 11-09-2009, 8:48 PM In reply to

    Re: HTTP Error 404.0 - Not Found error when accessing asp web page

     Hi Leo,

     

    Thanks man... You made my day. As you said when I browse the file through IIS manager I saw one space in my file name (%20). I removed the space in the file name and ran it through the URL, it displayed the asp file content on web browser.

    Now I can proceed with my new development.

    Thanks for your idea.

     

  • 11-24-2009, 10:10 PM In reply to

    Re: HTTP Error 404.0 - Not Found error when accessing asp web page

    Hi I am running Windows Vista Home Premium. I am currently trying to run a program on ColdFusion Builder  while using ColdFusion 9 yet i continue to get this error when creating a new .cfm page

    Error Summary

    HTTP Error 404.0 - Not Found

    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

    Detailed Error Information
    Module IIS Web Core
    Notification MapRequestHandler
    Handler StaticFile
    Error Code 0x80070002
    Requested URL http://localhost:80/cf9work/index.cfm?APTANA_NOCACHE_1259117248363=1259117248363
    Physical Path C:\inetpub\wwwroot\cf9work\index.cfm
    Logon Method Anonymous
    Logon User Anonymous
    Most likely causes:
    • The directory or file specified does not exist on the Web server.
    • The URL contains a typographical error.
    • A custom filter or module, such as URLScan, restricts access to the file.
    Things you can try:
    • Create the content on the Web server.
    • Review the browser URL.
    • Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.
    Links and More InformationThis error means that the file or directory does not exist on the server. Create the file or directory and try the request again.

    View more information ยป

Page 1 of 1 (10 items)
Microsoft Communities