ravendb, castle IoC ,Wcf facility - doc session liefstyle
What's the recommended lifestyle for raven doc session and store under a windsor ioc, wcf facility setup hosted in IIS? I keep seeing this error: Error TempPathInUse (JET_errTempPathInUse, Temp path already used by another database instance)` here is my setup: public class RavenInstaller : IWindsorInstaller { public void Install(IWindsorContainer container, IConfigurationStore store) { container.Register( Component.For<IDocumentStore>().ImplementedBy<DocumentStore>() .DependsOn(new { connectionStringName = "RavenConnectionString" }) .OnCreate(DoInitialisation) .LifeStyle.Singleton, Component