Oh, sorry I forgot to mention that.
I'm trying to make it work inside VS. That also works (tried by
running against RC3 assemblies).

greetings Daniel

On May 25, 10:18 pm, Gauthier Segay <[email protected]> wrote:
> What server are you running?
>
> If you are using IIS < 7 you also need to assign .castle extension to
> aspnet isapi handler in the site settings
>
> if you are using visualstudio webserver it should just work (every
> httprequest is handled by the server)
>
> I don't have instruction for IIS 7 at the moment
>
> On May 25, 8:49 pm, Tigraine <[email protected]> wrote:
>
>
>
> > Hello there.
> > I know this now sounds kind of silly, but I am simply not able to
> > convince MonoRail to call my controller.
>
> > I'm currently trying to set up a sample project and I've been
> > following the (outdated) sample 
> > @http://www.castleproject.org/monorail/gettingstarted/creatingproject....
> > .
>
> > I figured out that the EngineContextModule is no longer needed, so I
> > removed that. But still I get only 404 errors when I try accessing /
> > Home/Index.castle
>
> > Here is the web.config (Most of the config is 1:1 copied from the
> > TestSiteARSupport project from the svn):
>
> > <?xml version="1.0"?>
> > <configuration>
> >         <configSections>
> >                 <section name="monorail"
> > type="Castle.MonoRail.Framework.Configuration.MonoRailSectionHandler,
> > Castle.MonoRail.Framework"/>
> >         </configSections>
> >         <monorail>
> >                 <controllers>
> >                         <assembly>ImagineClubWeb</assembly>
> >                 </controllers>
> >                 <viewEngine viewPathRoot="views"
> > customEngine="Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewEngine 
> > ,
> > Castle.MonoRail.Framework.Views.NVelocity"/>
> >         </monorail>
>
> >         <system.web>
> >                 <compilation debug="true">
> >                         <assemblies>
> >                                 <add assembly="System.Core, 
> > Version=3.5.0.0, Culture=neutral,
> > PublicKeyToken=B77A5C561934E089"/>
> >                                 <add 
> > assembly="System.Data.DataSetExtensions, Version=3.5.0.0,
> > Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
> >                                 <add assembly="System.Web.Extensions, 
> > Version=3.5.0.0,
> > Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
> >                                 <add assembly="System.Xml.Linq, 
> > Version=3.5.0.0, Culture=neutral,
> > PublicKeyToken=B77A5C561934E089"/>
> >                         </assemblies>
> >                 </compilation>
> >                 <httpHandlers>
> >                         <add verb="*" path="*.castle"
> > type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory,
> > Castle.MonoRail.Framework"/>
> >                 </httpHandlers>
> >         </system.web>
> > </configuration>
>
> > I guess I am missing something very very stupid. But I can't see the
> > problem at the moment.
> > The whole project (2 files..) is also in my Bitbucket in case you want
> > to check anything on the csproj etc.. (All referenced assemblies are
> > in /lib the code is in /src)http://bitbucket.org/Tigraine/ic-website/src/
>
> > Any help would be appreciated, I've spent almost 3 hours looking at
> > other people's code and I simply can't find out why in my case this
> > thing doesn't work out. I already deleted the whole thing twice just
> > to start over fresh, but I couldn't get it working.
> > Only thing I got working was referencing the old RC3 assemblies, but I
> > want to run from the trunk.
>
> > greetings Daniel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to