Unhandled Exception: System.NotSupportedException: Sharded document store doesn't have a database commands. you need to explicitly use the shard instances to get access to the database commandsat Raven.Client.Shard.ShardedDocumentStore.get_AsyncDatabaseCommands() in c:\Builds\RavenDB-Stable-3.0\Raven.Client.Lightweight\Shard\ShardedDocumentStore.cs:line 113at Raven.Client.Document.BulkInsertOperation..ctor(String database, IDocumentStore documentStore, DocumentSessionListeners listeners, BulkInsertOptions options, IDatabaseChanges changes) in c:\Builds\RavenDB-Stable-3.0\Raven.Client.Lightweight\Document\BulkInsertOperation.cs:line 55at Raven.Client.Shard.ShardedDocumentStore.BulkInsert(String database, BulkInsertOptions options) in c:\Builds\RavenDB-Stable-3.0\Raven.Client.Lightweight\Shard\ShardedDocumentStore.cs:line 293
... define sharding stuff
var _documentStore = new ShardedDocumentStore(shardStrategy);
var _session = _documentStore.OpenSession(_dbName);... for loop ..._session.Store(LucFile);
_documentStore = new DocumentStore() With {.Url = "http://dev04-server:4053/"};
var _bulk = _documentStore.BulkInsert(_dbName);... for loop ...
_bulk.Store(LucFile);
... define sharding stuff
var _documentStore = new ShardedDocumentStore(shardStrategy);
var _bulk = _documentStore.BulkInsert(_dbName);... for loop ..._bulk.Store(LucFile);
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hibernating Rhinos Ltd
Grisha Kotler l RavenDB Core Team Developer l Mobile: +972-54-586-8647
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
RavenDB paving the way to "Data Made Simple" http://ravendb.net/
Hibernating Rhinos Ltd
Grisha Kotler l RavenDB Core Team Developer l Mobile: +972-54-586-8647
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
RavenDB paving the way to "Data Made Simple" http://ravendb.net/
--