swannee
swannee

Reputation: 3466

Can't create new DB in RavenDB 2.x

Noob RavenDB question: Just brought down Raven 2.x and set it up to run in IIS. Just trying to create a new DB in RavenDB 2.x through the Studio. I have the following set in my configuration:

<add key="Raven/AnonymousAccess" value="All"/>  

I have the physical location set to allow Everyone full control. When I try to create a new database, I get the following:

Could not get authorization for this command. If you should have access to this operation contact your admin and check the Raven/AnonymousAccess or the Windows Authentication settings in RavenDB

Server Error:

The operation '/admin/databases/Test' is only available to administrators

Any ideas? Thanks!

Upvotes: 5

Views: 766

Answers (1)

Ayende Rahien
Ayende Rahien

Reputation: 22956

Change this value to be:

  <add key="Raven/AnonymousAccess" value="Admin"/>  

Upvotes: 8

Related Questions