Skip to content
This repository was archived by the owner on Feb 8, 2025. It is now read-only.
This repository was archived by the owner on Feb 8, 2025. It is now read-only.

EntityWorkItemRepository.RunInTransaction leads to InvalidOperationException - the connection was not closed #7

@TimLovellSmith

Description

@TimLovellSmith

We've seen a lot of errors showing up in our logs like this.

System.InvalidOperationException: The connection was not closed.
at System.Data.EntityClient.EntityConnection.Open()
at WebBackgrounder.EntityWorkItemRepository.RunInTransaction(Action query)
at WebBackgrounder.WebFarmJobCoordinator.ReserveWork(String workerId, IJob job)
at WebBackgrounder.WebFarmJobCoordinator.GetWork(IJob job)
at WebBackgrounder.JobManager.DoNextJob()
at WebBackgrounder.JobManager.OnTimerElapsed(Object sender)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions