Using Castle Windsor 3.3.0 in our ASP.NET 3.51 app.  We occasionally 
experience  AccessViolationException during Windsor installer.  What causes 
this error?  How can we prevent it?

[AccessViolationException]: Attempted to read or write protected memory. 
This is often an indication that other memory is corrupt.
   at 
Castle.MicroKernel.ModelBuilder.Inspectors.LifestyleModelInspector.ReadLifestyleFromConfiguration(ComponentModel
 
model)
   at 
Castle.MicroKernel.ModelBuilder.Inspectors.LifestyleModelInspector.ProcessModel(IKernel
 
kernel, ComponentModel model)
   at 
Castle.MicroKernel.ModelBuilder.DefaultComponentModelBuilder.<>c__DisplayClass6.<BuildModel>b__4(IContributeComponentModelConstruction
 
c)
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at 
Castle.MicroKernel.ModelBuilder.DefaultComponentModelBuilder.BuildModel(IComponentModelDescriptor[]
 
customContributors)
   at 
Castle.MicroKernel.Registration.ComponentRegistration`1.Castle.MicroKernel.Registration.IRegistration.Register(IKernelInternal
 
kernel)
   at Castle.MicroKernel.DefaultKernel.Register(IRegistration[] 
registrations)
   at Castle.Windsor.WindsorContainer.Register(IRegistration[] 
registrations)
   at 
CT.iMagio2.Integrations.SSRS.Web.Installer.MasterInstaller.Install(IWindsorContainer
 
container, IConfigurationStore store)
   at Castle.Windsor.WindsorContainer.Install(IWindsorInstaller[] 
installers, DefaultComponentInstaller scope)
   at Castle.Windsor.WindsorContainer.Install(IWindsorInstaller[] 
installers)
   at 
Castle.Windsor.Installer.DefaultComponentInstaller.SetUpInstallers(IConfiguration[]
 
installers, IWindsorContainer container, IConversionManager converter)
   at 
Castle.Windsor.Installer.DefaultComponentInstaller.SetUp(IWindsorContainer 
container, IConfigurationStore store)
   at Castle.Windsor.WindsorContainer.RunInstaller()
   at CT.Acme.Shared.SSOModules.BootStrapModule.DoSetup()

thanks

scott

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/castle-project-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to