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 http://eureka.ucommerce.net/ for support.

  • Claus Veirup 8 posts 23 karma points
    Mar 21, 2014 @ 16:24
    Claus Veirup
    0

    Every time I try to change a Product definition I get Currency not on a record

    Currency not on a record

     

     

    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.EsentNoCurrentRecordException: Currency not on a record

    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: 

    [EsentNoCurrentRecordException: Currency not on a record]
       Microsoft.Isam.Esent.Interop.Api.RetrieveColumnAsInt32(JET_SESID sesid, JET_TABLEID tableid, JET_COLUMNID columnid, RetrieveColumnGrbit grbit) +195
       Raven.Storage.Esent.StorageActions.DocumentStorageActions.GetIndexStats() +1038
       Raven.Storage.Esent.StorageActions.<GetIndexesStats>d__3a.MoveNext() +573
       System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +148
       System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +472
       System.Linq.Enumerable.ToList(IEnumerable`1 source) +80
       Raven.Database.Plugins.Builtins.<>c__DisplayClass2.<Execute>b__0(IStorageActionsAccessor actions) +219
       Raven.Storage.Esent.TransactionalStorage.ExecuteBatch(Action`1 action, EsentTransactionContext transactionContext) +303
       Raven.Storage.Esent.TransactionalStorage.Batch(Action`1 action) +672
       Raven.Database.DocumentDatabase.ExecuteStartupTasks() +355
       Raven.Database.DocumentDatabase..ctor(InMemoryRavenConfiguration configuration, TransportState transportState) +2101
       Raven.Client.Embedded.EmbeddableDocumentStore.InitializeInternal() +449
       Raven.Client.Document.DocumentStore.Initialize() +800
       UCommerce.Search.RavenDB.RavenDbStoreProvider.SetupEmbeddedDocumentStore() +675
       UCommerce.Search.RavenDB.RavenDbStoreProvider.GetStore() +105
       UCommerce.Search.RavenDB.RavenDbRepository.Save(T document) +46
       UCommerce.Search.RavenDB.RavenDbRepository.SaveMany(IEnumerable`1 documents) +313
       UCommerce.Search.Indexers.DefinitionIndexers.DefinitionIndexer.Index(IEnumerable`1 subject) +970
       UCommerce.Extensions.CollectionExtensions.ForEach(IEnumerable`1 source, Action`1 action) +136
       UCommerce.Pipelines.Search.SearchIndexerTask`1.Execute(T subject) +188
       UCommerce.Pipelines.Pipeline`1.Execute(T subject) +275
    
    [PipelineException: Exception occoured while processing pipeline 'UCommerce.Pipelines.GenericPipeline`1[[UCommerce.EntitiesV2.Definitions.IDefinition, UCommerce, Version=5.3.0.14057, Culture=neutral, PublicKeyToken=null]]'. See inner exception for details.]
       UCommerce.Pipelines.Pipeline`1.Execute(T subject) +513
       UCommerce.Pipelines.Pipeline`1.Execute(T subject) +275
    
    [PipelineException: Exception occoured while processing pipeline 'UCommerce.Pipelines.Catalog.ProductDefinitionFieldPipeline'. See inner exception for details.]
       UCommerce.Pipelines.Pipeline`1.Execute(T subject) +513
       UCommerce.Web.UI.Settings.Definitions.EditProductDefinitionField.SaveButton_Clicked(Object sender, EventArgs e) +121
       System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +187
       System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +165
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3707
    

     


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1022

    I also seem to happen every time I save changes to at product in the catalog

  • Jesper Nielsen 141 posts 498 karma points
    Mar 24, 2014 @ 09:55
    Jesper Nielsen
    0

    Hi Claus,

    Would it be possible for you to zip up the site and database, and send it to us?

    You could possibly fix this by reindexing the raven database, by going to "Settings -> Search".
    But we would like a copy of the site, if possible, to try and figure out what could cause the problem to occur.

    You can send it to "jen AT ucommerce DOT net".

    Kind regards,
    Jesper 

  • Neil Hodges 338 posts 987 karma points
    Jul 05, 2014 @ 13:46
    Neil Hodges
    0

    Hi

    Im having the exact same problem once ive moved my dev version to staging server (win 2008 box).

    Did you manage to find a fix for this? What was the cause? i connot create a new Product, Category or save anything without seeing this YSOD for

    Currency not on a record


    EsentNoCurrentRecordException: Currency not on a record]
       Microsoft.Isam.Esent.Interop.Api.RetrieveColumnAsInt32(JET_SESID sesid, JET_TABLEID tableid, JET_COLUMNID columnid, RetrieveColumnGrbit grbit) +195
       Raven.Storage.Esent.StorageActions.DocumentStorageActions.GetIndexStats() +1009
       Raven.Storage.Esent.StorageActions.<GetIndexesStats>d__3a.MoveNext() +573
       System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +165
       System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +536
       System.Linq.Enumerable.ToList(IEnumerable`1 source) +80
       Raven.Database.Plugins.Builtins.<>c__DisplayClass2.<Execute>b__0(IStorageActionsAccessor actions) +219
       Raven.Storage.Esent.TransactionalStorage.ExecuteBatch(Action`1 action, EsentTransactionContext transactionContext) +303
       Raven.Storage.Esent.TransactionalStorage.Batch(Action`1 action) +750
       Raven.Database.DocumentDatabase.ExecuteStartupTasks() +355
       Raven.Database.DocumentDatabase..ctor(InMemoryRavenConfiguration configuration, TransportState transportState) +2131
       Raven.Client.Embedded.EmbeddableDocumentStore.InitializeInternal() +449
       Raven.Client.Document.DocumentStore.Initialize() +797
       UCommerce.Search.RavenDB.RavenDbStoreProvider.SetupEmbeddedDocumentStore() +679
       UCommerce.Search.RavenDB.RavenDbStoreProvider.GetStore() +115
       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.CreateCategoryOrProduct.CreateButton_Clicked(Object sender, EventArgs e) +981
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +155
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804

    Cheers

    Neil.

  • Elvin Loo 20 posts 63 karma points
    Nov 20, 2014 @ 00:35
    Elvin Loo
    0

    I'm having the same issue here. Did you managed to get it fixed?

  • Elvin Loo 20 posts 63 karma points
    Nov 20, 2014 @ 01:27
    Elvin Loo
    0

    fixed it! by rebuilding the raven DB.

     

  • Morten Skjoldager 440 posts 1499 karma points
    Nov 25, 2014 @ 13:11
    Morten Skjoldager
    0

    Excellent. Seems like we need to be aware of this case, though i haven't heard anyone with this specific issue before. 

Please Sign in or register to post replies

Write your reply to:

Draft