I am having problems to include search friendly urls;
In my global.asax I call a function on "Application_BeginRequest"
, in this function I reveal the correct id based on the URL which is requested, i.e.: http://xxxx.com/products/bike
so I can do a "Context.RewritePath"
When I test the website locally everything works fine. When I publish the website to our webserver the first thing that happend was he coulden't find the dir : products/bike.
I thought I could solve this problem with a new 404.aspx which I defined in IIS. But it seems that the 404.aspx ain't executing the global.asax
Does anyone have any suggestions for this problem?