Hi,
I am doing some tests on mono+linux and everything works fine for my
application (using MONO_IOMAP) except for the new routing module.
In the routing rules i define the area as empty but the monorail
handler seems to be ignoring it.
In my routes i have this:
rules.Add(new PatternRoute("profilelist",
"/profile/list/").DefaultForArea().IsEmpty.DefaultForController().Is("profile").DefaultForAction().Is("list"));
When I try the url for that route i get a ControllerNotFoundException.
http://127.0.0.1/profile/list
Controller not found. Area: 'profile' Controller Name: 'profile'
Description: HTTP 500. Error processing request.
Stack Trace:
Castle.MonoRail.Framework.ControllerNotFoundException: Controller not
found. Area: 'profile' Controller Name: 'profile'
at
Castle.MonoRail.Framework.MonoRailHttpHandlerFactory+NotFoundHandler.ProcessRequest
(System.Web.HttpContext context) [0x00000]
at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x00000]
at System.Web.HttpApplication.Tick () [0x00000]
The same code works fine on windows + cassini.
Any ideas?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Development List" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---