Results 1 to 6 of 6

Thread: Error: HTTP 405 - Resource not allowed on ASP Page

  1. #1
    Join Date
    Mar 2004
    Posts
    1,685
    Rep Power
    0

    Default Error: HTTP 405 - Resource not allowed on ASP Page

    Ok, I have a weird error. I'm working on an intranet site, running on my machine (Windows 2000, IIS 5.0). I have a virtual directory for my application, and IIS is set to load my default page when the URL for the virtual directory is entered. Here is the problem, when the user enters the url to the virtual directory, it loads the default page (Login.asp). However, when they enter their login information and press the submit button, I get a "405 - Resource Not Allowed error".

    However, when I hit the Login.asp page directly, everything works fine.

    So in summary:

    http://mycomputer/myapplication/ - takes me to page, but give 405 error after.

    http://mycomputer/myapplication/Login.asp - works fine

    Any ideas?
    The answer you seek is *+5,2*3,2
    Check out my blog: http://rants.andreobrown.com

  2. #2
    Join Date
    Sep 2004
    Posts
    356
    Rep Power
    0

    Talking Re: Error: HTTP 405 - Resource not allowed on ASP Page

    Do you have a database linked to the login page if yes
    you have to change the security privalage to allow (everyone) to add,write,remove. In the security option of the folder I assume you know how to get there

    if that dont work please check the specified line number or send the error message again this time with more detail

  3. #3
    Join Date
    Mar 2004
    Posts
    1,685
    Rep Power
    0

    Default Re: Error: HTTP 405 - Resource not allowed on ASP Page

    The pages connects to an SQL Server Database.

    I do not believe this is a permission problem. The page works fine if I hit it directly. That is, as long as IIS doesnt forward you to the page as the default page, it works.
    The answer you seek is *+5,2*3,2
    Check out my blog: http://rants.andreobrown.com

  4. #4
    Join Date
    Apr 2003
    Posts
    13,270
    Rep Power
    35

    Default Re: Error: HTTP 405 - Resource not allowed on ASP Page

    nder, maybe you can post some of your asp code from your login.asp page.

    I have some guesses as to why you get the error but I am not 100% on it.

    1. Your script is using server variables that is requesting the PATH_INFO or SCRIPT_NAME variables. Doubt it, but worth a check.
    2. You haven't specified an ACTION for the form.
    3. Your IIS server doesn't have permission to execute the VERB you are using with your form.

    As I said, just some things to check. Looking at your code would probably point me to something that might be causing that problem.
    "The best software is the one that fits your needs." - A_A

    Virus free since: date unknown
    Anti-virus free since: August 2008

  5. #5
    Join Date
    Mar 2004
    Posts
    1,685
    Rep Power
    0

    Default Re: Error: HTTP 405 - Resource not allowed on ASP Page

    Thanks AA. It was your second guess. Form was supposed to be self posting, but I hadnt specified the action.
    The answer you seek is *+5,2*3,2
    Check out my blog: http://rants.andreobrown.com

  6. #6
    Join Date
    Mar 2004
    Posts
    1,685
    Rep Power
    0

    Default Re: Error: HTTP 405 - Resource not allowed on ASP Page

    I'm curious though, why dont I get the error when I go to the page directly. Gonna research that one.
    The answer you seek is *+5,2*3,2
    Check out my blog: http://rants.andreobrown.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •