[Mono-list] Error with Mono & Monorail

Tom Opgenorth opgenorth at gmail.com
Tue Mar 4 09:28:34 EST 2008


Hello,

I've got a little application in Monorail that seems to work fine under Windows.

When I try to get the application working on Ubuntu Linux/Mono 1.2.6
with mod_mono, I get the following error:

Server Error in '/' Application
Url smaller than 2 tokens

Description: Error processing request.

Error Message: HTTP 500.
Castle.MonoRail.Framework.Internal.UrlTokenizerException: Url smaller
than 2 tokens

Stack Trace:

Castle.MonoRail.Framework.Internal.UrlTokenizerException: Url smaller
than 2 tokens
at Castle.MonoRail.Framework.Services.DefaultUrlTokenizer.ExtractAreaControllerAction
(System.String rawUrl, System.String& area, System.String& controller,
System.String& action) [0x00000]
at Castle.MonoRail.Framework.Services.DefaultUrlTokenizer.TokenizeUrl
(System.String rawUrl, System.Uri uri, Boolean isLocal, System.String
appVirtualDir) [0x00000]
at Castle.MonoRail.Framework.EngineContextModule.CreateRailsEngineContext
(System.Web.HttpContext context) [0x00000]
at Castle.MonoRail.Framework.EngineContextModule.OnStartMonoRailRequest
(System.Object sender, System.EventArgs e) [0x00000]
at (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs
(object,System.EventArgs)
at System.Web.HttpApplication+<>c__CompilerGenerated1.MoveNext () [0x00000]

I don't suppose anybody can point me in the right direction for
getting around this, can they?

-- 
http://www.opgenorth.net


More information about the Mono-list mailing list