RavenDB error whenever i save anything in uCommerce backend
Whenever i edit anything in ucommerce it is falling over with the error below.
I have checked access to the path and IIS has r/w access. However when i try opening one of the log files it says they are locked by another process. Ive restarted all my iis instances and nothing should be using the file so not sure why its doing it. I didnt even realise Raven DB was used so thats new to me.
Any ideas whats occuring?
[EsentFileAccessDeniedException: Cannot access file, the file is locked or in use]
Raven.Storage.Esent.TransactionalStorage.Initialize(IUuidGenerator uuidGenerator, OrderedPartCollection`1 documentCodecs) +561
[InvalidOperationException: Could not write to location: C:\inetpub\fpplive471\wwwroot\App_Data/RavenDatabases/uCommerce. Make sure you have read/write permissions for this path.]
Raven.Storage.Esent.TransactionalStorage.Initialize(IUuidGenerator uuidGenerator, OrderedPartCollection`1 documentCodecs) +913
Raven.Database.DocumentDatabase..ctor(InMemoryRavenConfiguration configuration, TransportState transportState) +2064
Raven.Client.Embedded.EmbeddableDocumentStore.InitializeInternal() +449
Raven.Client.Document.DocumentStore.Initialize() +797
UCommerce.Search.RavenDB.RavenDbStoreProvider.GetSession() +432
UCommerce.Search.RavenDB.RavenDbRepository.Save(T document) +46
UCommerce.Search.RavenDB.RavenDbRepository.SaveMany(IEnumerable`1 documents) +313
UCommerce.Search.Indexers.RavenProductIndexer.Index(IEnumerable`1 subjects) +255
UCommerce.Extensions.CollectionExtensions.ForEach(IEnumerable`1 source, Action`1 action) +136
UCommerce.Pipelines.Search.SearchIndexerTask`1.Execute(T subject) +172
UCommerce.Pipelines.Pipeline`1.Execute(T subject) +275
[PipelineException: Exception occoured while processing pipeline 'UCommerce.Pipelines.Catalog.ProductPipeline'. See inner exception for details.]
UCommerce.Pipelines.Pipeline`1.Execute(T subject) +513
UCommerce.Web.UI.Catalog.EditProduct.SaveButton_Clicked(Object sender, ImageClickEventArgs e) +121
System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +134
System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +204
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804
Just checked the processes and even though id killed iisexpress there was a process still hanging round. I killed that and its released the lock it had on the file. I think something crashed when i was saving a product and locked the file so panic over.
Intrigued about RavenDB use now though as not seen anything about this.
RavenDB error whenever i save anything in uCommerce backend
Whenever i edit anything in ucommerce it is falling over with the error below.
I have checked access to the path and IIS has r/w access. However when i try opening one of the log files it says they are locked by another process. Ive restarted all my iis instances and nothing should be using the file so not sure why its doing it. I didnt even realise Raven DB was used so thats new to me.
Any ideas whats occuring?
Just to add this is latest version of ucommerce after upgrading from 2.5.1 and also i have upgraded umbraco from 4.7.1 to 6.1.6
Site is loading ok on front end.
Just checked the processes and even though id killed iisexpress there was a process still hanging round. I killed that and its released the lock it had on the file. I think something crashed when i was saving a product and locked the file so panic over.
Intrigued about RavenDB use now though as not seen anything about this.
is working on a reply...