You may want to try a debug build of windsor to help pinpoint the line of the error, but looking at https://github.com/castleproject/Windsor/blob/016730de012f15985410fb33e2eb907690fe5a28/src/Castle.Windsor/MicroKernel/ModelBuilder/Inspectors/LifestyleModelInspector.cs there doesnt seem to be anything fancy dealing with direct memory to cause such error.
On Tue, Jun 9, 2015 at 12:12 PM, Scott_M <scott.kendall.mcfad...@gmail.com> wrote: > 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 castle-project-users+unsubscr...@googlegroups.com. > To post to this group, send email to castle-project-users@googlegroups.com. > Visit this group at http://groups.google.com/group/castle-project-users. > For more options, visit https://groups.google.com/d/optout. -- Cheers, hammett http://www.d-collab.com/ http://www.hammettblog.com/ -- 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 castle-project-users+unsubscr...@googlegroups.com. To post to this group, send email to castle-project-users@googlegroups.com. Visit this group at http://groups.google.com/group/castle-project-users. For more options, visit https://groups.google.com/d/optout.