Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
AutoPIPE
  • Product Communities
AutoPIPE
AutoPIPE Wiki E512-65: the model cannot be opened or locked
    • Sign In
    • -Pipe and Vessel Stress Analysis - Wiki
      • -.Bentley AutoPIPE
        • +- General Information about AutoPIPE
        • +- NEW User Guide for AutoPIPE
        • +- Technical Support - AutoPIPE
        • +Batch Processing, ITS, and ATS using AutoPIPE
        • AutoPIPE QA&R program
        • +Download - Install - Release Notes - AutoPIPE
        • +File / Model Management using AutoPIPE
        • +General - AutoPIPE
        • +Graphics - AutoPIPE
        • +Grids (Input & Results) - AutoPIPE
        • +Import and Export - AutoPIPE
        • +Known Issues in AutoPIPE (Enhancements, defects, etc..)
        • +Libraries - AutoPIPE
        • +License AutoPIPE -
        • +Loads and Load Sets - AutoPIPE
        • +Localization (Non-English Language) - AutoPIPE
        • +Modeling Approaches in AutoPIPE
        • +Modules (i.e. Flange Analysis, Spring Hanger Selection, Rotating Equip, TTA) in AutoPIPE
        • +Piping codes - AutoPIPE
        • +Post Processing - AutoPIPE
        • +Printing - AutoPIPE
        • +Reports - AutoPIPE
        • Security
        • +Settings - AutoPIPE
        • +Stress Isometrics - AutoPIPE
        • +Technology Productivity Capabilities
        • -Warnings, Errors, Crashed, Confirm, etc.. messages in AutoPIPE
          • "1 Interrupted Action" messages displayed while coping AutoPIPE file, why?
          • +"Alert" Messages displayed in AutoPIPE
          • +"AutoPIPE Licensing" Messages displayed in AutoPIPE
          • +"Autopipe.exe" Messages displayed in AutoPIPE
          • +"Beam Section" Messages displayed in AutoPIPE
          • +"Bentley AutoPIPE" Messages displayed in AutoPIPE
          • +"Bentley Systems, Inc" Messages displayed in AutoPIPE
          • "Bentley.lictransmit for Windows has stopped working" message appears when using AutoPIPE program, why?
          • +"Blank" Messages displayed in AutoPIPE
          • +"Bolts*" Messages displayed in AutoPIPE
          • +"Confirm" Messages displayed in AutoPIPE
          • -"Error" messages displayed in AutoPIPE
            • Application Error - 0xc0150002
            • AutoPIPE Preview Handler error on installation
            • Closed loop detected in imported model at TEE point xxx... error message in AutoPIPE appears when importing a model
            • E102-155: This point must be an anchor/reference point error message in AutoPIPE
            • E102-161: This point does not have reference point defined message appears in AutoPIPE
            • E119-1: Maximum number of load combinations exeeded message appeared in AutoPIPE
            • E13-16: Cannot Find the specified units file error message in AutoPIPE
            • E131-30: AUTOPIPE.CLR not found message appears when starting AutoPIPE, why?
            • E15-13: PXD file is needed for accessing AutoPLANT data in this model Please place PXD and PXH files in same directory as DAT file.
            • E154-16: This value must be between 0 and 2, recommended value is 0.5... error message appears in AutoPIPE
            • E156-38: Value must be greater than zero error message is displayed in AutoPIPE
            • E175-28: Error in velocity profile specification
            • E21-40: Executing this operation can corrupt distributed load records in AutoPIPE
            • E2164-15: Qualified stress for all bend and tee components should be greater than zero error message in AutoPIPE
            • E31-37: Material type not recognized. Re-enter.. message appears when using AutoPIPE
            • E31-63: Material type not recognized. Re-enter.. message appears when using AutoPIPE
            • E36-42: Tie/Link must be connected to another point... error message in AutoPIPE
            • E36-43: Connected point cannot be the current point... error message in AutoPIPE
            • E36-70: Cost must be greater than zero...error message in AutoPIPE
            • E38-95: Cannot insert component after a tee message in AutoPIPE
            • E39-27: Zero length not permitted.... message appears in when using AutoPIPE why?
            • E40-100: ASME B31J requires angle to be greater than 5.0 deg and less than 60 deg.... message appears when using AutoPIPE, why?
            • E511-1: Invalid AutoPIPE data file , error message displayed in AutoPIPE, why?
            • E512-109 cannot open Projectwise model message appears when opening an AutoPIPE model
            • E512-149: Model name must not contain space character... error message in AutoPIPE
            • E512-65: the model cannot be opened or locked
            • E514-2: Unable to retrieve Time History Load and Time History files - error message in AutoPIPE
            • E516-11: Analysis terminated: model must have more than one point... error message appears in AutoPIPE
            • E516-8: Demo version limit of 20 points exceeded... message appears in AutoPIPE, why?
            • E521-22: Base point is not on selected range error message is posted in AutoPIPE, why?
            • E521-24: No range specified for copying, why?
            • E522-32: Cannot find clipboard file in current directory message appears in AutoPIPE
            • E522-33: Cannot complete the paste operation in AutoPIPE
            • E523-21: No Range specified for rotation.... message is posted in AutoPIPE, why?
            • E527-25: Point not found in selected range... message appears in AutoPIPE, why?
            • E54-79: No Joint Type & User SIF at the selected location(s)...error message in AutoPIPE
            • E723-23: System is not complete for analysis purposes
            • E726-104: Zero length not allowed at beam XX
            • E732-1: Angle is 0 deg. at bend xxx message in AutoPIPE
            • E732-2: Angle is 180 deg. at bend xxx message in AutoPIPE
            • E732-3: Not enough clearance to fit bend ... Error in AutoPIPE
            • E737-26: Valve components are not permitted in HDPE pipe system as per CC N-755-1 - error message in AutoPIPE
            • E751-1 Tee type gt 8 or lt 1. SIF not calculated - AutoPIPE
            • E774-44: Equation requires more combinations to be complete...error message appears in AutoPIPE, why?
            • E801-11: Fatal Error: no mass in the system or "NAN" appeared in AutoPIPE reports
            • E801-12: Cannot find next frequency
            • E801-135: Number of analysis nodes exceeds maximum limit of 10000 nodes
            • E801-1: FATAL ERROR: Unstable System - error message in AutoPIPE
            • E801-24: Number of MSRS groups is inconsistent with SAM case - Error Message in AutoPIPE
            • E801-3: No static load cases specified
            • E801-4: Zero length element
            • E801-5: Zero Element Stiffness in AutoPIPE
            • E801-62: Unable to process any time history function... message appears in AutoPIPE, why?
            • E801-64: Undefined point name in time history load data... message appears in AutoPIPE, why?
            • E801-6: Zero flexible length beam... message appeared when using AutoPIPE, why?
            • E801-75: Cannot allocate memory for analysis, unload some applications.
            • E801-77: Multiple use of same THP file name at a point. May copy and rename... message appears when using AutoPIPE, why?
            • E829-1: Incorrect model size in file Static analysis results will be ignored.
            • E90-21: Analysis results do not exist
            • E90-43: Structural Synchronizer not installed on the system.... message appears in AutoPIPE, why?
            • E951-1: No default available. Re-enter, message appears in AutoPIPE, why?
            • E962-1: File read error, please contact BENTLEY
            • E962-2: File write error, check disk space error occurred in AutoPIPE
            • E963-21: Number of characters in name cannot exceed 48 error message displayed in AutoPIPE?
            • E963-8: Non-ascii characters or "?" are not permitted in name message appears when opening a model in AutoPIPE, why?
            • Error "The model you are about to open as last modified in a newer version..." message appears in AutoPIPE, why?
            • Error 1316 - A network error occurred while attempting to read from the file
            • Error 221: Please contact Rebis... message appears when opening a PXF file in AutoPIPE
            • LoadLibrary failed with error 1114: A dynamic link library (DLL) initialization routine failed... message was displayed when running AutoPIPE, why?
            • LoadLibrary failed with error 87 ... message was displayed when running AutoPIPE, why?
            • No load case is selected to print time history results - Error message in AutoPIPE
            • No Piping with OD >= 1.400 inches (35.56 mm) is found in PXF file.... error message displayed in AutoPIPE
            • Program failed to generate C2 file... error message appears in AutoPIPE
            • Root Element Is Missing... message displayed in AutoPIPE
            • Time history analysis file (*.TIM) does not exist.... error message appears in AutoPIPE, why and how to fix it?
          • +"Exception Occurred" messages displayed in AutoPIPE
          • +"Flange*" Messages displayed in AutoPIPE
          • +"Incorrect Data" messages displayed in AutoPIPE
          • +"Intel(r) Visual Fortran run-time error" messages displayed in AutoPIPE
          • +"Invalid Format" messages displayed in AutoPIPE
          • +"License Management Tool" Messages displayed in AutoPIPE
          • "Message from SofTrack" Messages displayed in AutoPIPE
          • +"Microsoft .NET Framework".. messages displayed in AutoPIPE
          • "Microsoft Visual C++ Runtime Library" message appears in AutoPIPE
          • "New Case Failed" Messages displayed in AutoPIPE
          • +"Note" Messages in AutoPIPE
          • +"PCFin" Messages displayed in AutoPIPE
          • +"Report Generator Error" Messages displayed in AutoPIPE
          • +"Reverse Segment" Messages displayed in AutoPIPE
          • +"SACS Export Error" messages displayed in AutoPIPE
          • +"Script Error" messages displayed in AutoPIPE
          • +"Text Node Editor" Messages displayed in when using OPIM from within AutoPIPE
          • "Unable to Import the Excel File..." Messages displayed in AutoPIPE
          • +"Warnings" Messages displayed in AutoPIPE
          • 01. "C:\Program Files (X86)\..." - Type mismatch dialog message appears when reviewing the results grids in AutoPIPE, why?
          • +Application Crashed or Freezes - AutoPIPE
          • AutoPIPE Report Viewer has stopped working
          • +Blank Messages displayed in AutoPIPE
          • +Issues that occur when exporting files from AutoPIPE
          • +Issues that occur when generating Reports from AutoPIPE
          • +Issues that occur when importing PXF files into AutoPIPE
          • +Known errors that occur when Installing / Uninstalling AutoPIPE
      • +.Bentley AutoPIPE Vessel (powered by Microprotol)
      • +ADL PIPE
      • +Bentley AutoPIPE Nozzle
      • +Bentley PlantFLOW
      • +Bentley PULS
    • +AutoPIPE Brand Learning Resources
    • +Attend a live meeting with an AutoPIPE Analyst

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

    E512-65: the model cannot be opened or locked

    Applies To
    Product(s): AutoPIPE,
    Version(s): ALL
    Area: Import
    Original Author: Bentley Technical Support Group

    Problem

    The following is displayed while importing a file or opening the program:

    E512-65: the model cannot be opened as temporary directory cannot be set

    or

    E512-65: The model cannot be opened as cannot be copied to the temporary directory Possible reasons could be: Network connection failure No space in Temporary directory

    or

    E512-65: The model cannot be opened as it is temporarily locked for editing by:

    or

    E512-65 the model cannot be opened for editing:

    Solution:

    This error is typically caused by one the following reasons:

    Reason #1:

    The AutoPIPE program can only handle model path names with ASCII character set and does not support double byte unicode characters or Kanji characters in model path.

    In some earlier versions of AutoPIPE the program allowed the model to be opened if the model path has some non ASCII character, but many people reported the program of being unstable. The application would crash on consistency check, analysis, or any report generation as soon as the commands were executed. 

    Therefore, AutoPIPE V8i 09.02.xx.xx and higher now blocks opening such a model and display the error message shown above (i.e. E512-65...).

    Avoidance:

    only use ASCII characters in the file-path name.

    Perform test here:

    a. Copy AutoPIPE model DAT file to a new folder on the computer's desktop

    b. Change model file name using MS Explorer to "ABC123.DAT"

    c. Start AutoPIPE and try to open model "ABC123.DAT" from new folder on computer's desktop.

    What happens?

     - If model opens, than problem was related to the filename

     - If model does not open, continue below. 

    Reason #2:

    An issue with permissions on a file server can also cause problems.

    Avoidance:

    Users should have admin / power user permission rights to their own computer.

    a. Confirm that the AutoPIPE user has read / write privileges to folders as mention here by version. 

    b. Give full access rights to ‘Everyone’ group for the following folders:

    In addition, run the application as an administrator. To mark an application to always run as an administrator, do the following:

    1. On the Start menu, locate the program that you want to always run as an administrator.
    2. Right-click the application’s shortcut, and then click Properties.
    3. In the Properties dialog box, click the Compatibility tab.
    4. Do one of the following:
    To apply the setting to the currently logged-on user, select the Run This Program As An Administrator check box, and then click OK.
    To apply the setting to all users on the computer and regardless of which shortcut is used to start the application, click Change Setting For All Users to display the Properties dialog box for the application’s .exe file, select the Run This Program As An Administrator check box, and then click OK twice.

    The application will now always run using an administrator access token. Keep in mind that if you are using a standard account and prompting is disabled, the application will fail to run. 

    Confirm User's permission by performing this test:

    Perform test in all of these folder locations:

    1. %temp% folder (C:\Users\username\AppData\Local\Temp)

    Locate and open folder: AP_???? (ex. AP_090602, AP_100000, etc..).

    2. C:\ProgramData\Bentley\AutoPIPE CONNECT \Examples

    3. Your Server folder location (ex. z:/...)

    A. Open folder location mentioned above.

    B. Create a new folder

    C. Next Create a new TEXT document called "ABC123.DAT" in this folder.

    Question:

    Can user create a new folder and document in each of the 3 folders mentioned above?

    Answer:

    Yes - good, move on to next step

    No - therefore user does not have the correct permissions, update user's permissions before proceeding. 

    Reason #3:

    The network server where the model is stored is operating a slow speed.

    Symptoms: repeatedly opening the model the first 2x results in the error message but on the 3rd or more number of tries to open the model it opens without the error message.  

    Avoidance:

    Move the model from the server location to the local hard drive, work on the model and when finished move the final model back to the network server.

    Also, ask your IT department to use network monitoring tools to better understand the problem and how best to fix it.

    Reason #4:

    This message may also appears when the path to model is too long.
     
    Avoidance:
     
    For AutoPIPE 9.4 and higher, make sure that the file path is shorter than 256 characters.
     

    Reason #5:

    Antivirus / Malware software is not correctly set up to exclude AutoPIPE file from being scanned.
     
    Example: user with Anti-Virus software called "FireAMP" installed needed to request IT department to add AutoPIPE and ProjectWise to list of working directories that are to be excluded from this application's scan functions.
     

    Reason #6:

    The model is currently opened by user #1 and user #2 is trying to open the same model. Current limitation and intentional for Server based file architecture; only one user can access the model at a time. 
     
    see Video here for workaround:
    Play this video
     

    Reason #7:

    The application was unconventionally closed but  the *.LCK file is still open for a specific model.

    When a file (ex. WALKTHRU.DAT) is opened by user#1, a *.LCK file (ex. WALKTHRU.LCK) is saved to the same folder location as the model. When user #2 tries to open the same file as user #1, the program will see that a LCK is in position, preventing the model from being opened and display the Error message above for user #2.

    However, if the model was not closed by using typical commands (i.e program crash, application freezes, computer power failure, etc) the *.LCK file may still be in place and will need to be manually deleted.

    Avoidance:

    1. First close all AutoPIPE applications on that may be opened.

    2. manually search for and delete all *.LCK files in any AutoPIPE model folders.

    3. Search for the following folder,    

    C:\ Users\ username\ AppData\ Local\ Temp\ AP_090***\

    Delete these folders (ex. AP_090602, AP_100100, etc..) as they only contain Temp files used by AutoPIPE as a model is being accessed. After a model is closed using program commands (i.e Save), AutoPIPE will automatically delete the corresponding sub folders. Each time the model is not closed correctly the sub folder is NOT deleted as intended. 

    Reason #8: 

    If the application's splash screen never appears, see the following WIKI:

     a. AutoPIPE crashes, Faulting module name: ntdll.dll

    Reason #9: 

    The drawing file may not be in the APC file.

    1. Save a copy of the APC file to a new folder on the desktop.

    2. Open the new folder location

    3. Rename the file from *.APC to *.ZIP

    4. Open the Zip file in any archive application.

    5. Search for a file name *.DAT

    Does the *.DAT file exist in the folder?

    If yes, look at one of the other reasons listed on this WIKI page

    If no, this is the source of the problem. There must be a *.DAT file in the APC file. Otherwise, the model cannot be opened. Only suggestion, open the original model used to generate the *.APC file, and save again as an Archive file. Confirm filename meets the naming convention mentioned above (i.e. Only ASCII characters, file name length < 256, file name does not contain "." in the middle, last character in file name is not a space before " .DAT", etc...)

    See Also

    Error Messages

    Bentley AutoPIPE

    • video
    • E512
    • E512-65
    • error
    • AutoPIPE
    • message
    • locked
    • Share
    • History
    • More
    • Cancel
    • Mike Dattilio Created by Bentley Colleague Mike Dattilio
    • When: Thu, Aug 1 2013 2:53 PM
    • Mike Dattilio Last revision by Bentley Colleague Mike Dattilio
    • When: Fri, Oct 7 2022 5:45 PM
    • Revisions: 36
    • 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