RavenDB-Embedded Unstable In Cooperation With ASP .Net Web API Using 2-Tier Architecture
Posted
by
Mohsen Alikhani
on Stack Overflow
See other posts from Stack Overflow
or by Mohsen Alikhani
Published on 2012-10-30T20:26:55Z
Indexed on
2012/11/04
23:00 UTC
Read the original article
Hit count: 351
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?
© Stack Overflow or respective owner