Copied to clipboard

Flag this post as spam?

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


  • Nab 15 posts 35 karma points
    Aug 19, 2013 @ 19:34
    Nab
    0

    Adding a generic handler in umbraco

    Hi

    I have just created a Paypal IPN generic handler (.ashx) in a simple web forms based asp.net application. However when I try to visit the url, I get the error 

    The resource cannot be found.

    I think I have to tell umbraco that is an ashx file. Anyone knows what to do? Thanks. 

  • Richard Soeteman 4049 posts 12922 karma points MVP 2x
    Aug 19, 2013 @ 22:45
    Richard Soeteman
    0

    Hi,

    Can't you add the url to the umbracoReservedUrls setting of the web.config file? I think it's handled by Umbraco now

    Cheers,

    Richard

  • Nab 15 posts 35 karma points
    Aug 20, 2013 @ 02:20
    Nab
    0

    Hey thats exactly what I had done :) Sorry I forgot to reply here.  

    Thanks anyway for your help. 

  • Michael 22 posts 61 karma points
    Mar 21, 2014 @ 09:24
    Michael
    0

    Can you tell me how do you achieve it? I encounter the same problem.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 21, 2014 @ 09:30
    Jan Skovgaard
    1

    Hi Michael and welcome to our :)

    In the web.config in your Umbraco folder there is a setting called "umbracoReservedUrls" as Richard mentions above. In there you can add your own path to a url that should be reserved so Umbraco ignores it since it know knows that this is not a url from the CMS. It looks like this and is found in the

    Should make sense when you look it up in the web.config.

    Hope this helps.

    /Jan

  • Michael 22 posts 61 karma points
    Mar 24, 2014 @ 02:59
    Michael
    0

    Thanks very much, Jan.

    It's very nice of you. it does work. hah...

    I'm new to Umbraco. I don't know how to work it with .NET, can you give me some related materials or recommend some books to me?

    Thanks in advanced.

    Michael

Please Sign in or register to post replies

Write your reply to:

Draft