The transaction log for database 'AXDB' is full due to 'LOG_BACKUP'

 USE AXDB;  

GO  

-- Truncate the log by changing the database recovery model to SIMPLE.  

ALTER DATABASE AXDB

SET RECOVERY SIMPLE;  

GO  

-- Shrink the truncated log file to 50 MB.  

DBCC SHRINKFILE (ProdAXDB_log, 50);  

GO  

-- Reset the database recovery model.  

ALTER DATABASE AXDB

SET RECOVERY FULL;  

GO

Comments

Popular posts from this blog

Dynamics Ax 2012 Interview Questions:

X++ code to create a customized lookup on form

Oops concept in AX