Copied to clipboard

Flag this post as spam?

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


  • Liam Beckett 4 posts 24 karma points
    Oct 25, 2018 @ 23:56
    Liam Beckett
    0

    Occasional 'Umbraco.Core.Persistence.Database' YSOD

    Hello everyone. One of those 'this has been happening for months but it's finally time to fix it' problems...

    We have a website about 3-4 years old running Umbraco 7 (multiple upgrades to v7.7.4). The site has unfortunately been moved around (in terms of hosting) a lot - from a virtual server (hosted privately), to Umbraco Cloud for a time, off Cloud, back to a VPS and finally to Azure (non load balanced, single web app, SQL database). The site uses Umbraco Forms with blob storage for Form files.

    The site experiences intermittent YSOD database errors (full screenshot below) - ERROR Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred System.NullReferenceException: Object reference not set to an instance of an object. at Umbraco.Core.Persistence.Database.BeginTransaction(IsolationLevel isolationLevel) at Umbraco.Core.Scoping.Scope.get_Database() at Umbraco.Core.Persistence.UnitOfWork.ScopeUnitOfWork.get_Database().

    The error mentions Umbraco.Forms.Web.Migrations.MigrationEvents.HandleFormsMigrations().

    Resetting the web app brings the site back online but this is obviously annoying. I am concerned there may be some hangover from Courier (when the site was running in Cloud) causing a database problem, or Forms ("HandleFormsMigrations").

    Not sure if anyone has seen something similar or can offer some assistance? Thanks in advance.

    enter image description here

Please Sign in or register to post replies

Write your reply to:

Draft