locked
how to handle the error if wrong file extension has given RRS feed

  • Question

  • Dear all,

     

           Tell me how to handle the error when a wrong file extension has given,

    If  i am giving wrong page name then it is easily handled by the customerror page

    But if i am giving wrong file extension(like default.aspxhfg) then it could not be handled,

     because i know that each file handled by IIS as per their extensions,if the extension is known by the IIS then it handles that request by using the handler or by itself(in case static file like .jpg,.png etc), but if it is not known by IIS then it is directly showing the 404.0 type error, so please tell me how to handle this kind of error.

    so please guide me how to solve this

     




    • Moved by Cindy Meister MVP Monday, August 29, 2011 9:58 AM not vsto-related (From:Visual Studio Tools for Office)
    • Edited by Jeetu Kumar Friday, September 2, 2011 11:27 AM
    Monday, August 29, 2011 9:54 AM

Answers

  • Hi dong,


    Thanks for your post.

    We'd suggest posting your question in one of IIS forums

    Located at:

    http://forums.iis.net/

    Hope this would be helpful


    Thanks
    Liam Huang
    STO Application Team
    Server and Tools Online Operations Team
    Wednesday, September 7, 2011 2:34 PM