The first time I run my application everything works normally. I can register items with no problems.
But after closing the application and run it again the following error occurs:

Full image in: https://i.sstatic.net/33Whm.png
Config
Ninject
public class RavenDBNinjectModule : NinjectModule { public override void Load() { Bind<IDocumentStore>().ToMethod(context => { NonAdminHttp.EnsureCanListenToWhenInNonAdminContext(8080); var documentStore = new EmbeddableDocumentStore { ConnectionStringName="RavenDB", UseEmbeddedHttpServer = true }; return documentStore.Initialize(); }).InSingletonScope(); Bind<IDocumentSession>().ToMethod(context => context.Kernel.Get<IDocumentStore>().OpenSession()).InRequestScope(); } } Connection String
<connectionStrings> <add name="RavenDB" connectionString="DataDir = ~\App_Data" /> </connectionStrings> Controller
private readonly IDocumentSession _documentSession; public PluginsController (IDocumentSession documentSession) { _documentSession = documentSession; }