Can't create new DB in RavenDB 2.x

时光总嘲笑我的痴心妄想 提交于 2019-12-21 17:23:57

问题


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!


回答1:


Change this value to be:

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


来源:https://stackoverflow.com/questions/15060800/cant-create-new-db-in-ravendb-2-x

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!