Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Design Integration Wiki Using the CHKLCLEANUP Utility in ProjectWise [TN]
    • Sign In
    • ProjectWise Design Integration Wiki
    • ProjectWise Software Download
    • +ProjectWise Learning
    • +Projectwise Licensing
    • ProjectWise Programming and PowerShell
    • +Projectwise Documentation
    • +ProjectWise Explorer Client
    • -ProjectWise Administrator
      • +DMSConv
      • +Environments
      • +ProjectWise Workflow Rules Engine
      • -Miscellaneous - PW Admin
        • No users in PW Admin
        • Using Clustered Indexes [TN]
        • Understanding ProjectWise Delta File Transfer [DFT] Settings
        • Title Block Integration For MicroStation [CS]
        • Unable to see datasources on Windows 10
        • Using the CHKLCLEANUP Utility in ProjectWise [TN]
        • Does ProjectWise use Simple or Extended MAPI function calls to send email?
        • Slow user list index
        • Is there an archiving feature in ProjectWise
        • Why does the datasource have a red X in the icon
    • +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. 

    Using the CHKLCLEANUP Utility in ProjectWise [TN]

       
      Applies To 
       
      Product(s): ProjectWise Administration
      Version(s): V8i (08.11.07.xx+)
      Environment:  N/A
      Area:  N/A
      Subarea:  N/A
      Original Author: Bentley Technical Support Group
       

     

     

     

     

     

     

     

     

    Overview

    ProjectWise keeps track of all the files that have been checked out, copied out or exported via the dms_chkl table in the ProjectWise database.  This table can accumulate orphan records that generally do not cause any problems.  The table can be cleaned up should one of the following issues occur:
    ·         A user has many files checked\copied out and their system crashes beyond repair.
    ·         Users using the same machine have the same ProjectWise working directory.  When one user tries to checkout a file that the other user has copied out, he may get an error.  "working directory is in use"...
     
    The dms_chkl tracks what files have been checked out, copied out, or exported, by username and node name.
     
    The 08.11.07.107 version of ProjectWise delivers a utility to help users cleanup the dms_chkl table.  The utility, chklcleanup.exe, gets installed as part of the ProjectWise Administrator and must be run from the C:\Program Files\Bentley\ProjectWise\bin directory as it needs required libraries from this folder.
     
    Currently the utility only works with 08.11.07.xx + datasources and will not find 08.11.05.xx datasources.
     
    *** Note:
    ·         There is no audit trail option to record these actions.
    ·         This utility only cleans up the database and does not delete the files from the physical machines they were original copied out too.
     
    Preliminary steps
    1.       Have the users whose entries you will be deleting check all files in.
    2.       Purge their working directories via the local document organizer.
    3.       Log out of the system.
    4.       Have the users delete their working directories.
     
    Steps to run the CHKLCLEANUP.EXE
    1.       On a system that has the ProjectWise Administrator installed, Open Windows Explorer and navigate to C:\Program Files (x86)\Bentley\ProjectWise\bin
    2.       Double click the CHKLCLEANUP.EXE
    3.       Click next on the welcome screen
    4.       You are then prompted to choose and log into a datasource.
    5.       The next screen gives you the choice to “remove copy out locations” by username or by machine name
    6.       If you check user name the next screen lists all the users in the datasource.  Check the names you wish to remove the copy out entries for.
    a.       There is an option to export the list to a cvs file.  This option gives the User Name, User Description, and Document Count, in a comma delimited file.
    b.      Another option on this page is explained as follows:  Some DMS_CHKL location records may be left over after removing users, use this option to remove these orphan rows.
    7.       If you checked Machine name, the next screen lists all the machines listed in the dms_chkl table in the datasource that have files copied out.  Check the machine names you wish to remove the copy out entries for.
    a.       There is an option to export the list to a cvs file.  This option gives the Machine Name and Document Count in a comma delimited file.
    8.       On the next screen you are given a summary of your choices and asked to confirm that you want to delete the copy out location entries.
    9.       The final screen will give a message that the wizard has succeeded and a report of how many entries were deleted.
    10.   Bentley Recommends to have unique working directories for each user.  Create a new unique working directory for the user via the PW administrator.
    11.   Allow the user to log back into the system and make sure the new working directory was created correctly.

    See Also

    [Product TechNotes and FAQs]]

    External Links

    Bentley Technical Support KnowledgeBase

    Bentley LEARN Server

    Comments or Corrections?

    Bentley's Technical Support Group requests that you please submit any comments you have on this Wiki article in the "Comments" area below. THANK YOU!

    • ProjectWise SELECTsupport
    • TechNotes
    • Share
    • History
    • More
    • Cancel
    • Elisa McGraw Created by Elisa McGraw
    • When: Fri, Jul 8 2011 10:53 AM
    • Dana Guthrie Last revision by Bentley Colleague Dana Guthrie
    • When: Thu, Oct 27 2022 3:53 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