Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Design Integration Wiki Last Error 58218. Error copying document. The checkout location is already in use.
    • Sign In
    • ProjectWise Design Integration Wiki
    • ProjectWise Software Download
    • +ProjectWise Learning
    • +Projectwise Licensing
    • ProjectWise Programming and PowerShell
    • +Projectwise Documentation
    • -ProjectWise Explorer Client
      • +ProjectWise Client
      • +Featured Articles - Projectwise Explorer
      • +Audit Trail - ProjectWise Explorer Client
      • +Bentley IMS Login
      • +BS1192 Rules Engine - ProjectWise Explorer Client
      • +Check In Dialog - ProjectWise Explorer Client
      • +Document Code - ProjectWise Explorer Client
      • +Document Creation - ProjectWise Explorer Client
      • +Documentation & Help - ProjectWise Explorer Client
      • +Environments and Attributes - PWE
      • +Export / Import Tool - ProjectWise Explorer Client
      • +Folders / Subfolders - ProjectWise Explorer Client
      • +GUI - ProjectWise Explorer Client
      • +Installation - ProjectWise Explorer Client
      • +Integration - General
      • +Integration - AutoCAD - ProjectWise Explorer Client
      • +Integration - Civil 3D - ProjectWise Explorer Client
      • +Integration - DGN Platform - ProjectWise Explorer Client
      • +Integration - MicroStation - ProjectWise Explorer Client
      • +Integration - Office - ProjectWise Explorer Client
      • +Integration - Revit - ProjectWise Explorer Client
      • +Logs Troubleshooting- ProjectWise Explorer Client
      • +Messaging Service - ProjectWise Explorer Client
      • +MISC - ProjectWise Explorer Client
      • -Open / Save / Copy / Move - ProjectWise Explorer Client
        • Last Error 58174. Error moving document
        • Cannot open file class not registered
        • Copy files with document codes
        • Error 2627
        • Error on thread and file stuck with coming in status
        • Invalid socket The connection to the remote host is broken
        • "Error 55037 File not found on server"
        • Default attribute values not set correctly when using another PW document as template for new document
        • Error 58502 when deleting document
        • How can I move the active file and not the versions.
        • Last Error 58040 Folder Copy Failed. Access Denied.
        • Last Error 58218. Error copying document. The checkout location is already in use.
        • Last error [50000]. Error copying out folder. Not found.
        • Last Error [50132] Error creating new document. The file does not exist.
        • Latency when checking out files from ProjectWise
        • MicroStation file does not prompt to check in on close
        • ProjectWise Explorer crashes creating new folders when integrated with Bluebeam
        • ProjectWise Point Cloud Streaming Not Functioning Correctly
        • Security Block error when clicking on ProjectWise link out of pdf file
        • User cannot delete file
        • Why are files copying local when moving between folders?
        • Error 11371704 checking out files
        • Error 58040 Error copying document
        • Error code - 32768 when trying to delete documents
        • How to delete the active version of a file with versions
        • Last error 58217 when purging document or opening file
        • Unable to delete folder in ProjectWise Explorer
        • Issue uploading documents from Windows to ProjectWise – Last error [50132] Can not create document. The file does not exist
      • +Photo Preview - ProjectWise Explorer Client
      • +ProjectWise Managed Workspaces
      • +Project - ProjectWise Explorer Client
      • +Search - ProjectWise Explorer Client
      • +Security and Permissions - ProjectWise Explorer Client
      • +User Tools - ProjectWise Explorer Client
      • +Views - ProjectWise Explorer Client
      • +Workflows & States - ProjectWise Explorer Client
      • +Network Configuration - Client
    • +ProjectWise Administrator
    • +ProjectWise Integration Server
    • +ProjectWise Caching Server
    • +ProjectWise Gateway Server
    • +ProjectWise User Synchronization Service
    • +ProjectWise Orchestration Framework
    • +ProjectWise Connected Services
    • +Working from Home with ProjectWise
    • +ProjectWise Glossary
    • ProjectWise Hosting - Manage Services
    • +ProjectWise Logging and Tools

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

    Last Error 58218. Error copying document. The checkout location is already in use.

      Product(s): ProjectWise Explorer Client
      Version(s): 08.11.11.123
      Area:  Open / Save / Copy / Move
      Original Author: Dana Guthrie, Bentley Technical Support Group

    Error or Warning Message

    Last Error 58218.  Error copying document 'mydocument.pdf' to client. The checkout location is already in use.

    Explanation

    There are a few scenarios that cause this problem to occur. The most common is when ProjectWise users share the same local path to their working directories and the ‘Leave local copy’ setting is checked on.

    For example:

    • User A on Machine A has a working directory of c:\PW-Work
    • User B on Machine B has a  working directory of c:\PW-Work

    User A on Machine A checks out and in or copies out test.txt from Projectwise. User B logs on to user A’s machine and tries to checkout or copy out the same file. Because the local working paths are the same, User B will get the error because User A already has a copy of text.txt in the c:\PW-Work

    ProjectWise tracks what it thinks is in the user's local working directory in a database table called dms_chkl. There are three critical pieces of information that must be unique for every entry in that table (file, node and working dir path). This means no two users can copy a file out on the same node(computer) into the same working directory location. This is to prevent accidental overwriting of files and other potential data "confusion".

    How to Avoid

    Option 1: Purge the working directory via PW, delete in Windows

    1. On the client machine where the problem occurs log in as the user having the issue, go to tools Document Organizer, Check in all files, then purge the working directory (copies, and workspace files).

    2. If there are two users using the same machine, it is best to log in as both users and check in all files before doing the purge for each user.

    3. Log out of Projectwise Explorer

    4. In Windows Explorer, find the working directory and delete it.

    5. Assuming one person to one machine, Log back into Projectwise and the working directory will be recreated.

    6. Try to reproduce the problem with the same file.

    7. If the problem still occurs then you will need to clean up the dms_chkl table or change the users working directory path to a unique path.

    Option 2: How To change the users working directory via PW Admin

    1. Follow the steps above to purge the working directory then delete it via windows explorer, log out of Projectwise Explorer

    2. In Projectwise administrator change the users working directory path to something unique.

    3. Allow the users to log back into ProjectWise and it will create the new working directory path.

    Option 3: Clean up the DMS_CHKL table

    There is an Administrative tool that can be used to clean up the DMS_Chkl table
    See:  http://communities.bentley.com/products/projectwise/content_management/w/wiki/5520.aspx

    See Also

    If the users have to have the same path for working directories then review the following section in the PW Administrator help

    ProjectWise Administrator \ ProjectWise Administrator Reference \ Datasources \ Datasource Properties Dialog \ Datasource Properties Dialog Settings Tab \  Allow several users to fetch documents to the same location

    • Open / Save / Copy / Move
    • error message
    • ProjectWise Explorer Client
    • SELECTsupport
    • Share
    • History
    • More
    • Cancel
    • Dana Guthrie Created by Bentley Colleague Dana Guthrie
    • When: Thu, Mar 13 2014 3:10 PM
    • Dana Guthrie Last revision by Bentley Colleague Dana Guthrie
    • When: Mon, Sep 26 2022 1:46 PM
    • Revisions: 4
    • Comments: 1
    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