Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Exception while Configuring Container.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Muhammad Saqib Raza  
View profile  
 More options Jan 11, 10:51 am
From: Muhammad Saqib Raza <csp.sa...@googlemail.com>
Date: Wed, 11 Jan 2012 07:51:29 -0800 (PST)
Local: Wed, Jan 11 2012 10:51 am
Subject: Exception while Configuring Container.
Hi,
    I am using WindsorBootstrapper in my project. I have started with
castle windsor 2.1.1 version. But while deployment I ve start
recieving the following exception  "ComponentActivator: Couldnot
Instantiate". Then to resolve this problem I thought there might be
some fix for the problem in the latest version and I have updated my
solution with castle 3.0. Now I have start getting compile time
exception while configuring container as follows: "Could not load
type  ' Castle.MicroKernel.Registration.ConfigureDelegate' from
assembly 'Castle.Windsor, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=407dd0808d44fbdc' ".
following is the code i ve written in my bootstarpper to configure the
container.

 protected override void ConfigureContainer()
        {
            base.ConfigureContainer();

Container.Register(Component.For<ShellViewModel>().ImplementedBy<ShellViewM odel>());

Container.Register(Component.For<Shell>().ImplementedBy<Shell>());
            foreach (var moduleInfo in ModuleCatalog.Modules)
            {

Container.Register(Component.For(Type.GetType(moduleInfo.ModuleType)));

            }

        }
 this is one of my overriden method in my ownbootstrapper class which
is derived from WindsorBootStrapper class.

Can anyone has come across with the same problem or any idea about the
issue?. Please suggest some solution thanks.

Regards.
Saqib.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Krzysztof Koźmic  
View profile  
 More options Jan 25, 6:56 pm
From: Krzysztof Koźmic <krzysztof.koz...@gmail.com>
Date: Thu, 26 Jan 2012 09:56:58 +1000
Local: Wed, Jan 25 2012 6:56 pm
Subject: Re: Exception while Configuring Container.
Hi Muhammad

I  don't know of

WindsorBootstrapper

so it probably is some 3rd party tool that you're trying to integrate
with. As far as Windsor goes, the code looks OK.

K

On 12/01/2012 1:51 AM, Muhammad Saqib Raza wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »