Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenUtilities
  • Product Communities
OpenUtilities
OpenUtilities Wiki How to resolve "Transaction log is full" error while deleting Projects
    • Sign In
    • +OpenUtilities
    • Access Service Request Manager
    • +Bentley sisHYD Multi Utility
    • Design Features - promis.e Functionality - Promis.e Standard
    • +OpenUtilities sisNET - English
    • -OpenUtilities Substation
      • -CONNECT Edition - OpenUtilities Substation
        • +3D Layout Features - OpenUtilities-Substation
        • +Administration Features - OpenUtilities Substation
        • +Automation Feature
        • +Component management - OpenUtilities Substation CONNECT
        • +Components Features - Substation CONNECT
        • +Construction Drawing - Openutilities Substation CONNECT
        • -Database Platform Support - OpenUtilities Substation
          • Creating and Updating the Project Database - Substation CE
          • How to Migrate from Old SQL Server to New SQL Server for OpenUtilities Substation CONNECT
          • How to resolve "Transaction log is full" error while deleting Projects
          • Installing SQL Server Express locally for OpenUtilities Substation CONNECT
          • Project Database SubVersion - OpenUtilities Substation
          • +SQL User Permissions - OpenUtilities Substation CONNECT
          • Updating Database for OpenUtilities Substation CONNECT Update 10 and through
        • +Drawing Managment - OpenUtilities Substation
        • +Installation_Configuration - Bentley Substation CONNECT Edition
        • +Maintenance Feature - Open Utilities Substation CONNECT
        • +Migration - OpenUtilities Substation CONNECT
        • +OS & Hardware Support - OpenUtilities Substation CONNECT
        • +Panel Layout- Substation CONNECT
        • +Power Platform Support - Substation CONNECT
        • +Print and Plot feature
        • +Print and Publish feature
        • +Project Management - OpenUtilities Substation CE
        • +ProjectWise Integration - OpenUtilities Substation CONNECT
        • +Replace Device ID - Find_Replace - OpenUtilities Substation
        • +Reports_Output Features - OpenUtilities Substation CONNECT
        • +Resolved issues in OpenUtilities Substation Releases
        • +Wire Numbering - Substation CONNECT
        • +Wiring Feature - OpenUtilities Substation
      • +3D Layout Features - Bentley Substation
      • About Bentley Substation
      • +Administration Features - Bentley Substation
      • +Automation Features - Bentley Substation
      • +Component Management - Bentley Substation
      • +Construction Drawings - Bentley Substation
      • +Database Platform Support - Bentley Substation
      • +Grounding Grid - Bentley Substation
      • How to log Service Request
      • +Installation_Configuration - Bentley Substation
      • +Interoperability - Bentley Substation
      • +PowerPlatform Support - Bentley Substation
      • +Project Management - Bentley Substation
      • +ProjectWise Integration - Bentley Substation
      • Working from home with OpenUtilities Substation
    • Promis.e Paths
    • +Promis.e Wiki
    • Replace Family - Find_Replace - Promis.e
    • SQL Server Login

     
     Questions about this article, topic, or product? Click here. 

    How to resolve "Transaction log is full" error while deleting Projects

      Product(s): Promis.e, Bentley Substation
      Version(s): Connect
      Environment: N/A
      Area: Database Platform Support
      Subarea: N/A

    Error or Warning Message

    When attempting to delete a very large project, an error message is displayed indicating that the transaction log is full.

    Explanation

    Each SQL Server database has a corresponding transaction log. When created by the default SQLServerProject.sql script, the transaction log file of the SQL project database is set to automatically grow as needed, up to some maximum size.  In one case, this size was insufficient for the amount of transactions taking place during the deletion of the large project.

    How to Avoid

    Increase the maximum size of the transaction log file.

    Option 1 - Using the SQL Server Management Studio interface

    1. In Object Explorer, expand "Databases".

    2. Right click the name of the project database and select Properties.

    3. Go into the Files category and click the [...] button for the log file in the "Autogrowth" column.  The log file is probably named after the project database with a "_log" appended to the end of the file name.

    4. Increase the value for Restricted Growth, perhaps start by doubling it. 

    Option 2 - Using a script

    The following script, modified with the true database and log file name and desired log file size, could also be executed using SQL Server Management Studio or other means:

    ALTER DATABASE myDB
    MODIFY FILE
    (NAME = myDB_log,
    SIZE = 500MB);

      Original Author: Avanti_K
    • Share
    • History
    • More
    • Cancel
    • Avanti Khandalkar Created by Bentley Colleague Avanti Khandalkar
    • When: Thu, Jan 14 2021 5:33 AM
    • Revisions: 1
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies