无法在 RavenDB 2.x 中创建新数据库 [英] Can't create new DB in RavenDB 2.x

查看:35
本文介绍了无法在 RavenDB 2.x 中创建新数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Noob RavenDB 问题:刚刚关闭了 Raven 2.x 并将其设置为在 IIS 中运行.只是试图通过 Studio 在 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:

无法获得此命令的授权.如果您应该有权访问此操作,请联系您的管理员并检查 RavenDB 中的 Raven/AnonymousAccess 或 Windows 身份验证设置

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

有什么想法吗?谢谢!

推荐答案

将此值更改为:

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

这篇关于无法在 RavenDB 2.x 中创建新数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆