HTTP Error 405 from a Tooltip loading another page.

Posted by RandomBen on Stack Overflow See other posts from Stack Overflow or by RandomBen
Published on 2010-05-07T22:11:46Z Indexed on 2010/05/10 14:04 UTC
Read the original article Hit count: 348

Filed under:
|
|
|
|

I have a web page that uses tooltips. I am using Prototip specifically. One of the options is to use Ajax to load another page within the tool. The Ajax functionality is coming from the Prototype framework, http://www.prototypejs.org/api/ajax/request/.

All I really want to load is an image. I just don't want the image to load on page creation because there are so many images. So when I put a link to a .jpg file or even a .html file I receive the error HTTP Error 405.0 - Method Not Allowed from IIS. I am running IIS7. Is this an issue with my code or an issue with IIS7? Also, the other version of the error I am getting is The HTTP verb POST used to access path '/Images/Items/tech_over_RST.jpg' is not allowed. I receive this version of the error message when I run in debug mode from VS2010. I am also using URL Routing but not MVC.

© Stack Overflow or respective owner

Related posts about .net-3.5

Related posts about iis7