« Previous Next »

Thread: IIS 404.0 asp error

Last post 07-21-2009 8:26 AM by qbernard. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 05-24-2008, 7:21 AM

    IIS 404.0 asp error

    I am not sure if this is the right forum to post this in, as I am new here.

    Well, I have IIS 6 installed on my laptop which is running Vista Home Premium. I have placed my .asp file in the 'C:\inetpub\wwwroot\' folder.

    I then tried to access it through my browser (Opera) and I get a 404.0 error. I have put the error stuff below this text as you may need this to help me. I tried both of the below addresses in my browser and they both get the same 404.0 error.
    HTTP Error 404.0 - Not Found

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

    Error Code: 0x80070002

    Notification: MapRequestHandler

    Module: IIS Web Core

    Requested URL: http://minihobbs:80/test1.php

    Physical Path: C:\inetpub\wwwroot\test1.php

    Logon User: Anonymous

    Logon Method: Anonymous

    Handler: StaticFile

    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.


    What 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.

    I am quite new to asp as I am only really using it for a college project. The asp file is also connecting to a database that is in the same folder as the asp file (C:\inetpub\wwwroot\) as it displays data from it.

    I have searched through Google to find a solution but I cannot find anything that actuallyt helps me fix it.

    Matt. Edit: Didn't know it had to be in HTML format...
  • 05-25-2008, 5:12 AM In reply to

    Re: IIS 404.0 asp error

    lostprophetpunk:
    Well, I have IIS 6 installed on my laptop which is running Vista Home Premium. I have placed my .asp file in the 'C:\inetpub\wwwroot\' folder.

    you cannot use IIS 6 on Vista, you are using IIS 7

    I then tried to access it through my browser (Opera) and I get a 404.0 error. I have put the error stuff below this text as you may need this to help me. I tried both of the below addresses in my browser and they both get the same 404.0 error.
    HTTP Error 404.0 - Not Found

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

    Error Code: 0x80070002

    Notification: MapRequestHandler

    Module: IIS Web Core

    Requested URL: http://minihobbs:80/test1.php

    Physical Path: C:\inetpub\wwwroot\test1.php

    Logon User: Anonymous

    Logon Method: Anonymous

    Handler: StaticFile

    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.

    stop!!! [:)]

    You are calling a php page but you have installed php on your server??

     Follow this link http://www.iis.net/php

    Christian Paparelli
    [Microsoft MVP Window Server - IIS]
    http://mvp.support.microsoft.com
    http://italy.mvps.org
    My job: http://www.ithost.ch
    My blog: http://blogs.aspitalia.com/cp
  • 11-02-2008, 2:59 AM In reply to

    • goelira
    • Not Ranked
    • Joined on 11-02-2008, 7:56 AM
    • Posts 3

    Re: IIS 404.0 asp error

    I am facing the same problem but I am getting this on ASP file. Can you help me with this problem?

  • 11-02-2008, 11:17 PM In reply to

    Re: IIS 404.0 asp error

    You should create a new thread, rather than digging out this old thread.
    404.0 ? and what's the request handler? make sure you got asp component installed and the url path is valid.

    Cheers,
    Bernard Cheah
  • 07-18-2009, 10:45 AM In reply to

    • ammini
    • Not Ranked
    • Joined on 07-18-2009, 2:37 PM
    • Posts 1

    Re: IIS 404.0 asp error

    You said you placed your asp file in the root directory but in your error message it shows like you are trying to access php file instead of asp. Anyway I am facing the same problem as you, but my file is .asp. There is some issues with IIS 7 using classic asp. I am getting 404-0 error as well. But mine is only when I use the form and post method Querystrng- get pair works fine. These are my error details. 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 InformationModule IIS Web Core Notification MapRequestHandler Handler ASPClassic Error Code 0x80070002 Requested URL http://localhost:80/frmtest.asp Physical Path C:\inetpub\wwwroot\Local start\frmtest.asp 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. I still need help with this. There must be some simple set up I am missing. i knew I turned on all the possible set up in the IIS turned on features. Probably with the security or something with the asp. Any help if you get please let me know know or if anyone else reading this please help me. You can direclty email me aammini@gmail.com
  • 07-21-2009, 8:26 AM In reply to

    Re: IIS 404.0 asp error

    is this path valid ?
    C:\inetpub\wwwroot\Local start\frmtest.asp

     

    Cheers,
    Bernard Cheah
Page 1 of 1 (6 items)
Microsoft Communities