It looks like your version of Brail was compiled against a different version of MonoRail
On Fri, Dec 25, 2009 at 1:07 AM, Ariel Halin <[email protected]> wrote: > Hi All, > > First of all, sorry for posting previously in the wrong group. My > mistake. > > I am trying to use latest Monorail, with Brail as view engine, and > ActiveRecord. > I checked out the latest Monorail trunk and did run nant build on it. > > When I just try to run a simple example to test my configuration > it fails with the following error: > > Server Error in '/' Application. > Parser Error > Description: An error occurred during the parsing of a resource > required to service this request. Please review the following specific > parse error details and modify your source file appropriately. > > Parser Error Message: Namespace 'Castle.MonoRail.Framework' not found, > maybe you forgot to add an assembly reference? > > Source Error: > > Line 1: > Line 2: output """foo bar""" > Line 3: > > > Source File: home/index.brail Line: 1 > > > When I switch to use NVelocity instead of Brail - everything works > just fine. > Any help will be highly appreciated :) > > > I found the following inner exception info when I run the project in > debug mode: > It fails on line 111 in BaseHttpHandle of Castle.Monorail.Framework > with: > > InnerException: {"Namespace 'Castle.MonoRail.Framework' not found, > maybe you forgot to add an assembly reference?"} > Source: "Castle.MonoRail.Views.Brail" > StackTrace: " at > Castle.MonoRail.Views.Brail.BooViewEngine.RaiseCompilationException > (String filename, IDictionary`2 inputs2FileName, CompilationResult > result)\r\n at > Castle.MonoRail.Views.Brail.BooViewEngine.CompileScript(String > filename, Boolean batch)\r\n at > Castle.MonoRail.Views.Brail.BooViewEngine.CompileScript(String > filename, Boolean batch)\r\n at > Castle.MonoRail.Views.Brail.BooViewEngine.GetCompiledScriptInstance > (String file, TextWriter output, IEngineContext context, IController > controller, IControllerContext controllerContext)\r\n at > Castle.MonoRail.Views.Brail.BooViewEngine.Process(String templateName, > TextWriter output, IEngineContext context, IController controller, > IControllerContext controllerContext)\r\n at > Castle.MonoRail.Framework.Services.DefaultViewEngineManager.Process > (String templateName, TextWriter output, IEngineContext context, > IController controller, IControllerContext controllerContext)\r\n at > Castle.MonoRail.Framework.Controller.ProcessView()\r\n at > Castle.MonoRail.Framework.Controller.RunActionAndRenderView()\r\n at > Castle.MonoRail.Framework.Controller.Process(IEngineContext > engineContext, IControllerContext context)\r\n at > Castle.MonoRail.Framework.BaseHttpHandler.Process(HttpContext > context)" > > > > -- > > 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]<castle-project-users%[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.
