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.
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.
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.
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
Hey thats exactly what I had done :) Sorry I forgot to reply here.
Thanks anyway for your help.
Can you tell me how do you achieve it? I encounter the same problem.
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
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
is working on a reply...