RavenDb - The remote server returned an error: (403) Forbidden

♀尐吖头ヾ 提交于 2019-12-03 11:13:32

This was answered in the comments, however I'll post it here for posterity.

The issue is resolved by changing the web.config value:

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

To:

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

Here is the link to the config page that explains each of the options. Be aware that this option will in fact turn off authentication, if you wish to run with authentication you will need the 'Get' or 'None' setting and you will also need to make sure Windows Authentication is installed (IIS 7.5) and enabled on the Raven IIS Application.

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