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.?
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.?