I hope this solves your problem.

Tuna Toksöz
Eternal sunshine of the open source mind.

http://devlicio.us/blogs/tuna_toksoz
http://tunatoksoz.com
http://twitter.com/tehlike




On Thu, Jun 4, 2009 at 3:40 PM, Tuna Toksoz <[email protected]> wrote:

> Alright, found the problem.
> You should change your global asax
>
>         protected void Application_Start()
>         {
>             container = new WindsorContainer(new XmlInterpreter());
>             IControllerFactory controllerFactory = new
> ControllerFactory(Container);
>
> ControllerBuilder.Current.SetControllerFactory(controllerFactory);
>             RegisterRoutes(RouteTable.Routes);
>
>         }
>
>
>         private static IWindsorContainer container;
>
>
>
> HttpApplication may be created more than once during the lifetime of
> application. Everytime it is initialized, you are creating another container
> which does everything from the beginning.
>
>
>
> Tuna Toksöz
> Eternal sunshine of the open source mind.
>
> http://devlicio.us/blogs/tuna_toksoz
> http://tunatoksoz.com
> http://twitter.com/tehlike
>
>
>
>
> On Thu, Jun 4, 2009 at 2:58 PM, Tuna Toksoz <[email protected]> wrote:
>
>> Received and investigating.
>>
>> Tuna Toksöz
>> Eternal sunshine of the open source mind.
>>
>> http://devlicio.us/blogs/tuna_toksoz
>> http://tunatoksoz.com
>> http://twitter.com/tehlike
>>
>>
>>
>>
>> On Thu, Jun 4, 2009 at 2:49 PM, gusgorman <[email protected]>wrote:
>>
>>>
>>>
>>> > Can you send me an example project with the expected and actual
>>> behavior?
>>>
>>> Hello,
>>>
>>> I just sent you a project via the contact form on http://tunatoksoz.com
>>> .
>>>
>>> many thanks,
>>> Jordan.
>>> >>>
>>>
>>
>

--~--~---------~--~----~------------~-------~--~----~
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