web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)
Suggested Answer

transaction log for databas is full

(0) ShareShare
ReportReport
Posted on by 835

When I tried to update our period balance I got this message:

[Microsoft][SQL Native Client][SQL Server]The transaction log for database 'DynamicsAx_Prod' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases

DELETE FROM LEDGERBALANCESDIMTRANS WHERE (DATAAREAID=?)

Can I fix this by my self in Ax2009 or must this be done in SQL?

/Jessica

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    239,257 Most Valuable Professional on at

    Transaction logs is the feature of SQL Server and it needs to be changed there. You may need to change Autogrowth settings for the log file (or to make some free space on disc), backup logs if using full recovery model or so. Please consult SQL Server documentation for (much much more) details.

  • honeyBadger Profile Picture
    1,174 on at

    to add to Martin's suggestions...

    1. backup your AX DB, given that AX is having this issue. 
    2. if this is a test or dev DB you might want to set the recovery mode to simple (research this feature or consult your DBA prior to making this change)
    • ALTER DATABASE AX
    • SET RECOVERY SIMPLE
    • run this code to find out trans log file name
              • USE AX
              • SELECT name
              • FROM sys.database_files
              • WHERE type_desc = 'LOG'
            1. run "DBCC SHRINKFILE ('DB_LogName', 1000)" where DB_LogName you get from the previous query. This will shrink it down to 1GB. 

          1. Suggested answer
            Community Member Profile Picture
            on at

            Please review following link

            kb.vmware.com/.../search.do;cmd=displayKC&externalId=1003980

            msdn.microsoft.com/.../ms175495.aspx

          Under review

          Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

          Helpful resources

          Quick Links

          Introducing the 2026 Season 1 community Super Users

          Congratulations to our 2026 Super Stars!

          Meet the Microsoft Dynamics 365 Contact Center Champions

          We are thrilled to have these Champions in our Community!

          Congratulations to the March Top 10 Community Leaders

          These are the community rock stars!

          Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

          #1
          CP04-islander Profile Picture

          CP04-islander 26

          #2
          imran ul haq Profile Picture

          imran ul haq 8

          #3
          André Arnaud de Calavon Profile Picture

          André Arnaud de Cal... 4 Super User 2026 Season 1

          Last 30 days Overall leaderboard

          Featured topics

          Product updates

          Dynamics 365 release plans