[Mono-list] Error with Mono & Monorail #2

Andreas Färber andreas.faerber at web.de
Sat Mar 8 12:37:01 EST 2008


Am 08.03.2008 um 18:31 schrieb Tom Opgenorth:

> running
> under Mono 1.9b4 and XSP2 I get the following error:
>
> Server Error in '/' Application
> Could not find view template: timecard\addtime
>
> Description: HTTP 500. Error processing request.
>
> Stack Trace:
>
> Castle.MonoRail.Framework.RailsException: Could not find view
> template: timecard\addtime
>  at  
> Castle 
> .MonoRail 
> .Framework.Services.DefaultViewEngineManager.AssertTemplateExists
> (System.String resolvedTemplateName, System.String templateName)
> [0x00000]
>  at  
> Castle.MonoRail.Framework.Services.DefaultViewEngineManager.Process
> (IRailsEngineContext context, Castle.MonoRail.Framework.Controller
> controller, System.String templateName) [0x00000]
>  at Castle.MonoRail.Framework.ControllerLifecycleExecutor.ProcessView
> () [0x00000]
>  at  
> Castle 
> .MonoRail.Framework.ControllerLifecycleExecutor.ProcessSelectedAction
> (IDictionary actionArgs) [0x00000]
>  at  
> Castle 
> .MonoRail.Framework.ControllerLifecycleExecutor.ProcessSelectedAction
> () [0x00000]
>  at Castle.MonoRail.Framework.MonoRailHttpHandler.Process
> (IRailsEngineContext context) [0x00000]
>
> No such issues when I run on Windows.  Any suggestions/pointers?

Unices use a different path separator: have you tried timecard/addtime?

Andreas


More information about the Mono-list mailing list