Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

These support forums are now closed for new topics and comments.
Please head on over to for support.

  • James Meredith 18 posts 91 karma points
    Jan 06, 2014 @ 12:41
    James Meredith

    Problem installing razor demo store


    I am trying to install the razor demo store on a test domain to check its viability for clients.  However I am struggling to get the razor demo store to install.

    uCommerce itself seems to install fine however when I try to install the demo store I was at first getting a request timeout error.  However after searching the forums I changed debug=true in the web.config and now the following error appears:

    Cannot access file, the file is locked or in use

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: Microsoft.Isam.Esent.Interop.EsentFileAccessDeniedException: Cannot access file, the file is locked or in use

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace: 

    [EsentFileAccessDeniedException: Cannot access file, the file is locked or in use]
       Microsoft.Isam.Esent.Interop.Api.Check(Int32 err) +21
       Microsoft.Isam.Esent.Interop.Api.JetInit(JET_INSTANCE& instance) +23
       Raven.Storage.Esent.TransactionalStorage.Initialize(IUuidGenerator uuidGenerator, OrderedPartCollection`1 documentCodecs) +309
    [InvalidOperationException: Could not write to location: C:\Inetpub\vhosts\\httpdocs\App_Data/RavenDatabases/uCommerce. Make sure you have read/write permissions for this path.]
       Raven.Storage.Esent.TransactionalStorage.Initialize(IUuidGenerator uuidGenerator, OrderedPartCollection`1 documentCodecs) +524
       Raven.Database.DocumentDatabase..ctor(InMemoryRavenConfiguration configuration, TransportState transportState) +982
       Raven.Client.Embedded.EmbeddableDocumentStore.InitializeInternal() +315
       Raven.Client.Document.DocumentStore.Initialize() +492
       UCommerce.Search.RavenDB.RavenDbStoreProvider.SetupEmbeddedDocumentStore() +335
       UCommerce.Search.RavenDB.RavenDbStoreProvider.GetStore() +125
       UCommerce.Pipelines.Language.CreateIndexTask.Execute(Language subject) +19
       UCommerce.Pipelines.Pipeline`1.Execute(T subject) +171
    [PipelineException: Exception occoured while processing pipeline 'UCommerce.Pipelines.Language.LanguagePipeline'. See inner exception for details.]
       UCommerce.Pipelines.Pipeline`1.Execute(T subject) +475
       UCommerce.Umbraco.RegisterUmbracoEvents.<.ctor>b__2(Language sender, NewEventArgs args) +77
       umbraco.cms.businesslogic.language.NewEventHandler.Invoke(Language sender, NewEventArgs e) +0
       umbraco.cms.businesslogic.language.Language.OnNew(NewEventArgs e) +22
       umbraco.cms.businesslogic.language.Language.MakeNew(String cultureCode) +375
       umbraco.cms.businesslogic.language.Language.Import(XmlNode xmlData) +58
       umbraco.cms.businesslogic.packager.Installer.InstallBusinessLogic(Int32 packageId, String tempDir) +688
       umbraco.presentation.developer.packages.Installer.ProcessInstall(String currentStep) +208
       umbraco.presentation.developer.packages.Installer.Page_Load(Object sender, EventArgs e) +425
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
       System.Web.UI.Control.OnLoad(EventArgs e) +92
       umbraco.BasePages.BasePage.OnLoad(EventArgs e) +14
       System.Web.UI.Control.LoadRecursive() +54
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772

    I have checked the folder permissions and it should have full access. I am using:-

    • Umbraco v6.16
    • uCommerce v5.1.0.13354
    • demo store v3.0.0.13354
    It is being run on a server plesk 11 installed if that makes any difference.
    Thanks in advance
  • Morten Skjoldager 440 posts 1499 karma points
    Jan 06, 2014 @ 14:15
    Morten Skjoldager

    RavenDB might have a session hanging from your site. In that case it locks the files. Can you try to either reset the iis completely or delete the raven folder? The ravenfolder can be restored by running scratch indexer.


    Hope that helps



Please Sign in or register to post replies

Write your reply to: