You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.?
The text was updated successfully, but these errors were encountered:
When not using a connection string, the way the
DocumentStore
is constructed using theDefaultDatabase
property requires read-access to theSystem
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 settingDefaultDatabase
avoids this problem.Are there any drawbacks to this I'm not seeing atm.?
The text was updated successfully, but these errors were encountered: