Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Aximili 177 posts 278 karma points
    Nov 11, 2011 @ 07:23
    Aximili
    0

    Page not found while the aspx file exists

    I have a lot of aspx files, mostly imported from previous website to be reused.

    But there is a problem for example, this page

    /Functions/AddToCart.aspx

    shows this error

    No umbraco document matches the url 'http://localhost:1001/Functions/AddToCart.aspx'

    umbraco tried this to match it using this xpath query'/root/*/* [@urlName = "functions"]/* [@urlName = "addtocart"] | /root/* [@urlName = "addtocart"]')

    My question: How do you make Umbraco acknowledge an existing file?? (which should be by default, but it doesn't seem to do it)

    Thanks in advance

  • Owen 123 posts 246 karma points
    Nov 11, 2011 @ 07:47
    Owen
    2

    You need to put your url to umbraco reserved urls list.

    In the web.config, there is "umbracoReservedUrls" in AppSettings section.

Please Sign in or register to post replies

Write your reply to:

Draft