Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
MicroStation Wiki Opening "In Use" File Takes Too Long
    • Sign In

    • -MicroStation Wiki
      • +Learning Tips
      • -MicroStation
        • +3D Printing - MicroStation
        • +Animation - MicroStation
        • +Archive / Backup - MicroStation
        • +Base Geometry - MicroStation
        • +Batch Processing - MicroStation
        • +CONNECT Advisor - MicroStation
        • CONNECT Integration - MicroStation
        • +CONNECTION Client
        • +Cells - MicroStation
        • +Change Tracking - MicroStation
        • +Configuration - MicroStation
        • +Coordinate Systems - MicroStation
        • +Curves - MicroStation
        • +Custom Linestyles - MicroStation
        • -DGN - MicroStation
          • +Compress - DGN - MicroStation
          • +General - DGN - MicroStation
          • -Open - DGN - MicroStation
            • Edit V7 DGN files with newer versions
            • Exception with code 0xc0000005
            • File doesn't open with chosen program
            • Get the message 'Invalid Design File' or 'Unable to Open File' error
            • Getting ssvagent.exe prompt opening file
            • Grey Screen when opening files
            • How to Fix lost DGN file association
            • How to open DGNs which contain space characters in their names in a Windows XP environment
            • New files are Read Only when created from Read Only Seed
            • New to MicroStation V8i technical guide TN
            • Open File Read-Only Permanently Active
            • Opening "In Use" File Takes Too Long
            • Recovering Corrupt DGN And DWG Files [CS]
            • Where is the icon of Directory History list at the startup dialog in CONNECT Edition
            • Windows XP Client With Windows 2000 Server
            • _Whats New_.dgn crashes during open
          • +Save - DGN - MicroStation
        • +DWG - MicroStation
        • +Database - MicroStation
        • +Detailing Symbols - MicroStation
        • +Dimensions - MicroStation
        • +Documentation & Help - MicroStation
        • +Drawing Aids - MicroStation
        • +Exception - MicroStation
        • +FAQ - MicroStation
        • +Feature Based Solids Modeling - MicroStation
        • +File Access - MicroStation
        • +GUI - MicroStation
        • +General - MicroStation
        • +Graphics Display - MicroStation
        • +Groups - MicroStation
        • +Hardware / Input Devices - MicroStation
        • +Import/Export - MicroStation
        • +Installation - MicroStation
        • +Interchange - MicroStation
        • +Interference - MicroStation
        • +Internationalization - MicroStation
        • +Levels - MicroStation
        • +Licensing - MicroStation
        • +Manipulation - MicroStation
        • +Markup / Redline - MicroStation
        • +Measure - MicroStation
        • +Mesh - MicroStation
        • +Models - MicroStation
        • +Multi-Lines - MicroStation
        • +OLE - MicroStation
        • +Other - MicroStation
        • +Parametrics - MicroStation
        • +Patterning - MicroStation
        • +Point Cloud - MicroStation
        • +Printing - MicroStation
        • +Programming - MicroStation
        • +Project Navigation - MicroStation
        • +Properties - MicroStation
        • +RSS Feeds - MicroStation
        • +Reference - MicroStation
        • +Security - MicroStation
        • +Selection - MicroStation
        • +Settings - MicroStation
        • +Sheet Composition - MicroStation
        • +Solids - MicroStation
        • +Standards - MicroStation
        • +Surfaces - MicroStation
        • +Tables - MicroStation
        • +Text - MicroStation
        • +UI Customization - MicroStation
        • +Units - MicroStation
        • +View - MicroStation
        • +Visualization - MicroStation
        • Welcome Page - MicroStation
        • +Accreditation - MicroStation
        • +i.Models - MicroStation
        • +ProjectWise Integration
        • +Raster - MicroStation
    • +Administration Wiki
    • +Annotations Wiki
    • +Bentley View Wiki
    • +MicroStation PowerDraft
    • +Programming Wiki
    • +Visualization Wiki

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

    Opening "In Use" File Takes Too Long

      Product: MicroStation
      Version: CONNECT version 10.16.00.80 and later
      Environment: Windows 10
      Area: DGN
      Subarea: Open

    Problem

    There is a significant delay when opening a file that is already in use. It takes 10+ seconds for the file to open and display the alert message for Read-Only mode. This did not occur in MicroStation v8i.

    Solution

    Set the following variables in your configuration - this will especially help when experiencing the issue with network files.

    MS_DGNFILE_OPEN_FOR_WRITE_RETRY_LIMIT
    (DGN Open for Write)
    If set, shortens delay in opening a DGN that is already open for editing elsewhere. If not set, MicroStation tries 50 times to open the file for editing before displaying an alert for a sharing violation. You can set a value lower than 50 for quicker access to the DGN as a read only file. For example, if set to 10, MicroStation will try 10 times to open the file for editing before displaying an alert message.

    MS_DGNFILE_OPEN_FOR_READ_RETRY_LIMIT
    (DGN Open for Read)
    If set, shortens delay in opening a DGN as read-only. If not set, MicroStation tried 20 times to open the DGN for editing before opening it as read-only. You can set a value lower than 20 for quicker access to the DGN.
    For example, if set to 10, MicroStation will try 10 times to open the file for editing before displaying an alert message.

    To set this on a single machine, perform these steps:
    1. Open the Personal.ucf with Notepad. This file is normally located at C:\Users\<user.name>\AppData\Local\Bentley\MicroStation\10.0.0\prefs\Personal.ucf
    2. Add the following lines anywhere in the file.
    MS_DGNFILE_OPEN_FOR_WRITE_RETRY_LIMIT = 4
    MS_DGNFILE_OPEN_FOR_READ_RETRY_LIMIT = 4

    3. Save the file and close/reopen MicroStation. The affected design files should now open much faster.

    These variables can also be added at higher levels of configuration such as the Standards.cfg, Workspace.cfg, Workset.cfg, etc. This could potentially affect many other machines. Normally, these config files are only edited by admins of your organization.

    See Also

    Operation Configuration Variables - Help Doc

    MicroStation CONNECT Edition Configuration Variables

    Other language sources

    ​

      Original Author: Jayson Perry
    • Read only
    • MicroStation
    • DGN
    • Configuration Variables
    • MicroStation Connect Edition
    • Share
    • History
    • More
    • Cancel
    • Jayson Perry Created by Bentley Colleague Jayson Perry
    • When: Wed, Apr 27 2022 5:49 PM
    • Jayson Perry Last revision by Bentley Colleague Jayson Perry
    • When: Fri, May 6 2022 12:34 PM
    • Revisions: 4
    • 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