Ticket T1279217
Visible to All Users
Duplicate

The ValueManagerContext is not active

created a day ago

Hello,
After update devexpress to 24.2.3, our clients noticed this error in event viewer. It's throwing very often, and this error is just in windows's event viewer. It could be thrown about 50 or more times per day !

Log Name: Application
Source: .NET Runtime
Date: 13.02.2025 16:53:22
Event ID: 1000
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: -----
Description:
Category: DevExpress.ExpressApp.Blazor.Services.ExceptionService
EventId: 0

Handled exception occurs

Exception:
System.InvalidOperationException: The ValueManagerContext is not active.
at DevExpress.ExpressApp.Blazor.AmbientContext.ValueManagerContext.EnsureIsActive()
at DevExpress.ExpressApp.Blazor.AmbientContext.ValueManagerContext.SetStorage(IValueManagerStorage storage)
at DevExpress.ExpressApp.Blazor.Services.ApplicationSaveModelChangesOnCircuitClosed.OnCircuitClosedAsync(CancellationToken cancellationToken)

Answers approved by DevExpress Support

created 9 hours ago

Hello Marek,

Thank you for the exception details.

Based on your description, I believe that you encountered the following issue: Core - ValueManagerContext.EnsureIsActive method sometimes throws an exception in the OnCircuitClosedAsync method. Please follow that ticket to get notified about our findings and updates on the issue.

Best regards,
Herman

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.