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

Notifications

Announcements

No record found.

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
    237,924 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

          Responsible AI policies

          As AI tools become more common, we’re introducing a Responsible AI Use…

          Neeraj Kumar – Community Spotlight

          We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

          Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

          #1
          Martin Dráb Profile Picture

          Martin Dráb 4 Most Valuable Professional

          #1
          Priya_K Profile Picture

          Priya_K 4

          #3
          MyDynamicsNAV Profile Picture

          MyDynamicsNAV 2

          Last 30 days Overall leaderboard

          Featured topics

          Product updates

          Dynamics 365 release plans