I wonder if you guys could help me with a sample application I've been
trying to make for deploying to AppHarbor. I thought it would be
rather simple to use RavenDB embedded to store some data.
The apps source is here:
https://bitbucket.org/philjones88/skeetfacts
And the AppHarbor site is here (I've turned customErrors off to help
debug):
http://skeet-quotes.apphb.com/
I'm using the latest unstable embedded build off Nuget as I wanted
access to the RandomOrdering feature you added.
P.s. this is meant to be quick joke application ;-)
Exception:
Microsoft.Isam.Esent.Interop.EsentFileAccessDeniedException: Cannot
access file, the file is locked or in use
Stack Trace:
[EsentFileAccessDeniedException: Cannot access file, the file is
locked or in use]
Microsoft.Isam.Esent.Interop.Api.Check(Int32 err) in C:\Work\ravendb
\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:2739
Microsoft.Isam.Esent.Interop.Api.JetInit(JET_INSTANCE& instance) in
C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop
\Api.cs:131
Raven.Storage.Esent.TransactionalStorage.Initialize(IUuidGenerator
uuidGenerator) in c:\Builds\raven-unstable\Raven.Storage.Esent
\TransactionalStorage.cs:207
[InvalidOperationException: Could not open transactional storage: D:
\websites\86\cc824\0x0007\_PublishedWebsites\SkeetFacts.Web\App_Data
\RavenDB\Data]
Raven.Storage.Esent.TransactionalStorage.Initialize(IUuidGenerator
uuidGenerator) in c:\Builds\raven-unstable\Raven.Storage.Esent
\TransactionalStorage.cs:220
Raven.Database.DocumentDatabase..ctor(InMemoryRavenConfiguration
configuration) in c:\Builds\raven-unstable\Raven.Database
\DocumentDatabase.cs:152
Raven.Client.Embedded.EmbeddableDocumentStore.InitializeInternal()
in c:\Builds\raven-unstable\Raven.Client.Embedded
\EmbeddableDocumentStore.cs:137
Raven.Client.Document.DocumentStore.Initialize() in c:\Builds\raven-
unstable\Raven.Client.Lightweight\Document\DocumentStore.cs:471
SkeetFacts.Web.MvcApplication.RavenDbStartup() in d:\temp
\y4y532r3.eq3\input\SkeetFacts.Web\Global.asax.cs:44
SkeetFacts.Web.MvcApplication.Application_Start() in d:\temp
\y4y532r3.eq3\input\SkeetFacts.Web\Global.asax.cs:55
[HttpException (0x80004005): Could not open transactional storage: D:
\websites\86\cc824\0x0007\_PublishedWebsites\SkeetFacts.Web\App_Data
\RavenDB\Data]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext
context, HttpApplication app) +9170861
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr
appContext, HttpContext context, MethodInfo[] handlers) +131
System.Web.HttpApplication.InitSpecial(HttpApplicationState state,
MethodInfo[] handlers, IntPtr appContext, HttpContext context) +194
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr
appContext, HttpContext context) +339
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr
appContext) +253
[HttpException (0x80004005): Could not open transactional storage: D:
\websites\86\cc824\0x0007\_PublishedWebsites\SkeetFacts.Web\App_Data
\RavenDB\Data]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
+9089964
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
+97
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest
wr, HttpContext context) +256