Global asax is a big place. Where exactly did you put that rule? Which version of monorail are you using? Are you also using other routing rules ? How are you registering them? Is the problem always happening or does is fail sometimes but works other times?
On 9 ביונ 2011, at 05:33, Justin <[email protected]> wrote: > Hi guys, > > On our production monorail web site we're getting the following error > intermittently when users go to the base domain url: > > Url smaller than 2 tokens > > In my Global.asax.cs, I have the following route rule which was > suggested in a post by Ken Egozi a while back to fix this but doesn't: > > RoutingModuleEx.Engine.Add( > new PatternRoute("Home", "/[controller]") > .DefaultForArea().IsEmpty > .DefaultForController().Is("Home") > .DefaultForAction().Is("Index") > ); > > Can someone explain why this error would ever be thrown in Monorail, > as it seems silly to throw an error if the url doesn't have 2 parts to > it (a domain and a subdirectory.) I've been seeing this error for > months and the client is putting on the pressure to get this fixed, > some guidance as to how to resolve this would be greatly appreciated. > Which reminds me, is this fixed in the new Monorail 2.1 RC? > > Thanks! > Justin > > -- > You received this message because you are subscribed to the Google Groups > "Castle Project Users" 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-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Castle Project Users" 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-users?hl=en.
