#1
  1. Meatball Surgeon
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 2004
    Location
    Elbow deep in code
    Posts
    2,056
    Rep Power
    1321

    405 error on IIS7


    Hi all,

    I have been doing a lot of digging and i can't seem to find a solution.

    I have a new windows 2008 box and its has IIS7 installed along with Coldfusion. Now Coldfusion works fine, however, i have one small page on my app that uses ASP, and that page always gets the following error:

    405 - HTTP verb used to access this page is not allowed.

    So i found the ASP is no longer installed by default on IIS 7, so i installed it......and got the same error.

    then i went to the 'Request restrictions' page and under Verbs i checked "all verbs" and unchecked the "invoke Handler.." under mapping. I basically gave it the same setup as cfm files, but yet still the same error. Anyone have an idea of what i might be missing?

    Thanks
    Three gigs for the secretaries fair
    Seven gigs for the system source
    Nine gigs for the coders in smoky lairs
    One disk to rule them all, one disk to bind them
    One disk to hold the files, and in the darkness grind'em
    ---------------------------------------------------
    It is by caffeine alone that I set my mind in motion.
    It is by the beans of Java, that my thoughts acquire speed.
    The hand acquire shakes; the shakes become a warning.
    It is by caffeine alone that I set my mind in motion.
  2. #2
  3. Meatball Surgeon
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 2004
    Location
    Elbow deep in code
    Posts
    2,056
    Rep Power
    1321
    Ok, so i found i apparently need to add an application Pool (which was added automagically by the install) but i need to set the .net framewrok version to "no managed code". I did this and added an application which uses the dir that contains by little script as the root. But alas, still i get a 405 error.....
    Three gigs for the secretaries fair
    Seven gigs for the system source
    Nine gigs for the coders in smoky lairs
    One disk to rule them all, one disk to bind them
    One disk to hold the files, and in the darkness grind'em
    ---------------------------------------------------
    It is by caffeine alone that I set my mind in motion.
    It is by the beans of Java, that my thoughts acquire speed.
    The hand acquire shakes; the shakes become a warning.
    It is by caffeine alone that I set my mind in motion.
  4. #3
  5. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,430
    Rep Power
    4539
    I don't know, don't have W2008. Maybe something in this google search might help?

    http://www.google.com/search?q=class...ient=firefox-a
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester
  6. #4
  7. Meatball Surgeon
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 2004
    Location
    Elbow deep in code
    Posts
    2,056
    Rep Power
    1321
    Ok, so i think i found the problem!

    If you already have a default website created in IIS, you need to delete it and then readd it using the classic ASP Application pool, then everything should work! Once it was working, i went back to the default application pool, and so far everything seems to be working fine!
    Three gigs for the secretaries fair
    Seven gigs for the system source
    Nine gigs for the coders in smoky lairs
    One disk to rule them all, one disk to bind them
    One disk to hold the files, and in the darkness grind'em
    ---------------------------------------------------
    It is by caffeine alone that I set my mind in motion.
    It is by the beans of Java, that my thoughts acquire speed.
    The hand acquire shakes; the shakes become a warning.
    It is by caffeine alone that I set my mind in motion.
  8. #5
  9. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,430
    Rep Power
    4539
    Thanks for posting your solution!
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester

IMN logo majestic logo threadwatch logo seochat tools logo