Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

The transaction log for database 'MicrosoftDynamicsAX_model' is full due to 'ACTIVE_TRANSACTION' , getting this error while importing modelstore

Posted on by

Hi All,

We are getting the below error while importing the model store in Dev environment, we have stopped the AOS service and trying to import the model store.

Import-AXModelStore : The pipeline has been stopped.
At line:1 char:1
+ Import-AXModelStore -File "D:\temp\Prod_modelstore_10092018.axmodelst ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [Import-AXModelStore], PipelineStoppedException
+ FullyQualifiedErrorId : The transaction log for database 'MicrosoftDynamicsAX_model' is full due to 'ACTIVE_TRANSACTION'.,Microsoft.Dynamics.AX.
Framework.Tools.ModelManagement.PowerShell.ImportStoreCommand

Kindly advise us how to proceed.

Regards,

Akbar

*This post is locked for comments

  • Akbarpasha Profile Picture
    Akbarpasha on at
    RE: The transaction log for database 'MicrosoftDynamicsAX_model' is full due to 'ACTIVE_TRANSACTION' , getting this error while importing modelstore

    Hi ievgen,

    Thank you, i have marked.

  • Verified answer
    Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: The transaction log for database 'MicrosoftDynamicsAX_model' is full due to 'ACTIVE_TRANSACTION' , getting this error while importing modelstore

    Hi Akbarpasha,

    If you issue is solved please mark answer(s) that helped you as verified to close the thread.

  • Akbarpasha Profile Picture
    Akbarpasha on at
    RE: The transaction log for database 'MicrosoftDynamicsAX_model' is full due to 'ACTIVE_TRANSACTION' , getting this error while importing modelstore

    Hi ievgen/Nikolaos,

    We have increased the size of log file and able to import the model store properly.
    Thank you all.

  • Verified answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: The transaction log for database 'MicrosoftDynamicsAX_model' is full due to 'ACTIVE_TRANSACTION' , getting this error while importing modelstore

    You can also consider changing the recovery mode of your model database to Simple. If you backup your model database before importing new modelstore, you always have the option to roll back, without needing to have Full recovery mode set up for the database.

  • Verified answer
    Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: The transaction log for database 'MicrosoftDynamicsAX_model' is full due to 'ACTIVE_TRANSACTION' , getting this error while importing modelstore

    Hi Akbarpasha,

    Increase size of the log file for MicrosoftDynamicsAX_model data base.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans