Hi group,
I have the following class structure:

public class ParkerWineController :WineController
    {
        protected ParkerWineController()
        {
        }

        public ParkerWineController(IEntityService<IWine> wineService,
IUserService userService, IEntityService<Region>
regionService):base(wineService,userService,regionService)
        {
        }

        protected override Newtonsoft.Json.Linq.JObject
GetJson(System.Collections.Generic.IEnumerable<WineCellar.Business.Entities.IWine>
wines, int totalCount)
        {
            var json = base.GetJson(wines, totalCount);
            return json;
        }
    }


[Transactional]
    public class WineController : WineCellarController
    {
        protected IEntityService<IWine> _wineService;
        protected IEntityService<Region> _regionService;
        protected IUserService _userService;

        protected WineController()
        {
        }

        public WineController(IEntityService<IWine> wineService,IUserService
userService,IEntityService<Region> regionService)
        {
            _wineService = wineService;
            _userService = userService;
            _regionService = regionService;
        }
...//rest of the class not relevant I think

I have a controllerfactory that resolves the controllers using Windsor. This
all works fine except for the ParkerWineController. For that controller I
get the exception: ComponentActivator: could not proxy
Parker.Web.Controllers.ParkerWineController / Constructor on type
'ParkerWineControllerProxy0938e2c31b4e44ba83deabf479beb0d6' not found.

Any ideas on what I might be doing wrong here?

Thanks,

Bart

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