RavenDB-Embedded Unstable In Cooperation With ASP .Net Web API Using 2-Tier Architecture
- by Mohsen Alikhani
My application is used RavenDB-Embedded Unstable 1.2.2127 that it's intracted with ASP .Net Web API in the separated assemblies.
When I use "UseEmbeddedHttpServer = true" on the document store, first time I send a request to RavenDB, it executes properly but when I try for the second time my application displays Raven Studio.
However, if UseEmbeddedServer setting be removed then my application will be running without any problems.
My RavenDB is configured with the following codes in data tier :
this.documentStore = new EmbeddableDocumentStore
{
ConnectionStringName = "RavenDB",
UseEmbeddedHttpServer = true
}
and implementation of Web.config have these settings in the service tier :
<connectionStrings>
<add name="RavenDB" connectionString="~\App_Data\RavenDatabase" />
</connectionStrings>
Is there a setting I missed?