var documentStore = new EmbeddableDocumentStore { DefaultDatabase = "MyDatabase" }; documentStore.Initialize();
And here is the exception:
The file "MyApplicationRoot\bin\Debug\Databases\MyDatabase\Indexes\1\segments.gen" could not be found.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.FileInfo.Open(FileMode mode, FileAccess access, FileShare share)
at Raven.Database.Indexing.LuceneCodecDirectory.CodecIndexInput..ctor(FileInfo file, Func`2 applyCodecs, Int32 bufferSize) in c:\Builds\RavenDB-3.0-PreRelease\Raven.Database\Indexing\LuceneCodecDirectory.cs:Line 119.
at Raven.Database.Indexing.LuceneCodecDirectory.OpenInputInner(String name, Int32 bufferSize) in c:\Builds\RavenDB-3.0-PreRelease\Raven.Database\Indexing\LuceneCodecDirectory.cs:Line 30.
at Raven.Database.Indexing.LuceneCodecDirectory.OpenInput(String name, Int32 bufferSize) in c:\Builds\RavenDB-3.0-PreRelease\Raven.Database\Indexing\LuceneCodecDirectory.cs:Line 24. at Lucene.Net.Store.FSDirectory.OpenInput(String name)
at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)
Thanks in advance.
Daniel Häfele
--
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
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
--
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
--
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
--