Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requires rights to System database #26

Open
wagich opened this issue Oct 19, 2017 · 1 comment
Open

Requires rights to System database #26

wagich opened this issue Oct 19, 2017 · 1 comment

Comments

@wagich
Copy link

wagich commented Oct 19, 2017

When not using a connection string, the way the DocumentStore is constructed using the DefaultDatabase property requires read-access to the System database. In certain environments (like RavenHQ) that isn't granted – leading to an exception on start up.

I seems that constructing the URL for a specific database manually, f.ex. https://ravenserver/databases/foo and not setting DefaultDatabase avoids this problem.

Are there any drawbacks to this I'm not seeing atm.?

@AustinWinstanley
Copy link
Contributor

Thanks! Looking into if this will impact DB URL's that may not have the same format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants