Unable to access RavenDB Management Studio with embedded Db

I start and initialize the instance using the following code:

EmbeddableDocumentStore db = new EmbeddableDocumentStore(); db.DataDirectory = @"C:\RavenDb\"; db.Configuration.HostName = "localhost"; db.Configuration.Port = 8080; db.UseEmbeddedHttpServer = true; db.Initialize(); 

After initializing and saving the application in debug mode, I try to access the management studio in my browser through "localhost: 8080", but the request is not executed / nothing happens. I tried different ports, I run VS2012 in admin mode. I downloaded the latest versions through Nuget. What am I doing wrong / can't see here?

thanks

Edit: after the couple's suggestions, I tried the following code, but still to no avail:

  NonAdminHttp.EnsureCanListenToWhenInNonAdminContext(8080); EmbeddableDocumentStore db = new EmbeddableDocumentStore { RunInMemory = true, DataDirectory = @"C:\RavenDb\", UseEmbeddedHttpServer = true }; db.Initialize(); 

In addition, I received the following warnings in the output window when starting the console application:

Result: it is not possible to install the import. Raven.Database.Server.Security.OAuth.OAuthClientCredentialsTokenResponder.AuthenticateClient (ContractName = "Raven.Database.Server.Security.OAuth.IAuthenticateClient") 'on the part' Raven.Database.Server. Security.OAuth.OAuthClientCredentialsTokenResponder. Element: Raven.Database.Server.Security.OAuth.OAuthClientCredentialsTokenResponder.AuthenticateClient (ContractName = "Raven.Database.Server.Security.OAuth.IAuthenticateClient") → Raven.Database.Server.Security.OAuth.OAuthClientCredentialsTokenRatderRatalogRec Raven.Database, Version = 2.0.0.0, Culture = neutral, PublicKeyToken = 37f41c7f99471593 ")

+4
source share
1 answer

This is one of the solutions for nuget pakage

 <package id="RavenDB.Embedded" version="2.0.2230" targetFramework="net45" /> 

Make sure the port is not in use.

 NonAdminHttp.EnsureCanListenToWhenInNonAdminContext(8080); var documentStore = new EmbeddableDocumentStore { RunInMemory = true, DataDirectory = @"C:\RavenDb\", UseEmbeddedHttpServer = true }; documentStore.Initialize(); 
+4
source

All Articles