• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

CM3 Solutions
#1 Posted : Friday, May 15, 2020 7:58:26 AM(UTC)
CM3 Solutions

Rank: Member

Joined: 8/20/2008(UTC)
Posts: 81
United States

Thanks: 2 times
What is the best way to clear out a huge Audit log? I get a

The wait operation timed out
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: System.ComponentModel.Win32Exception: The wait operation timed out

Source Error:


Line 67:
Line 68: Private Sub ClearEventsButton_Click(ByVal sender As System.Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ClearEventsButton.Click
Line 69: AuditLog.ClearOldEntries()
Line 70: AuditLog.LogEvent(BVSoftware.Commerce.Metrics.AuditLogSourceModule.System, _
Line 71: BVSoftware.Commerce.Metrics.AuditLogEntrySeverity.Information, _
Aaron
#2 Posted : Friday, May 15, 2020 8:20:18 AM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,314
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 150 time(s) in 145 post(s)
You can manually run the bvc_Audit_d stored procedure in the database to clear out entries older than 1 year.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
CM3 Solutions
#3 Posted : Friday, May 15, 2020 9:31:18 AM(UTC)
CM3 Solutions

Rank: Member

Joined: 8/20/2008(UTC)
Posts: 81
United States

Thanks: 2 times
That did the trick. Thanks!
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2020 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012