I have a Umbraco 7.1.1 install, running the latest Ucommerce and utilising the demo store. In my dev enviroment it works perfectly fine creating products, definitions and so on but once ive deployed it to the staging site i keep gettinga YSOD
Currency not on a record
The full trace is below:
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.
Looks like the raven database aren't updated properly. You should reindex the database when moving to a new environment (and not move the raven database under app_data). It will some times screw with the database when you move them from file system to file system.
Try deleting the raven database folder and reindex under settings/search.
I didnt try deleting the Raven DB as i was at a loss so created a blank version on the staging enviroment and added things manually, thankfully there wasnt much to add.
However since then i have uploaded a different site to staging in the same manner and deleted the raven DB and that seemed to do the trick as i never saw any YSOD with this site. I'll bear this in mind going forward with any new sites i do :)
Ucommerce - Currency not on a record YSOD when moved to staging
Hi
I have a Umbraco 7.1.1 install, running the latest Ucommerce and utilising the demo store. In my dev enviroment it works perfectly fine creating products, definitions and so on but once ive deployed it to the staging site i keep gettinga YSOD
Currency not on a record
The full trace is below:
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:
Any one have any ideas why this would be happening? Is there an easy fix?
Looks like the raven database aren't updated properly. You should reindex the database when moving to a new environment (and not move the raven database under app_data). It will some times screw with the database when you move them from file system to file system.
Try deleting the raven database folder and reindex under settings/search.
Hope that helps.
Best regards
Morten
Did this fix the issue?
Hi
I didnt try deleting the Raven DB as i was at a loss so created a blank version on the staging enviroment and added things manually, thankfully there wasnt much to add.
However since then i have uploaded a different site to staging in the same manner and deleted the raven DB and that seemed to do the trick as i never saw any YSOD with this site. I'll bear this in mind going forward with any new sites i do :)
Thanks for your help.
is working on a reply...