MicroStation and OpenX products, beginning with version 2025 and continuing through the initial releases in 2026, have an issue where Managed WorkSpaces will not load correctly. The issue was resolved for MicroStation in the 2026.1 release. Details on the issue are available on Bentley's ProjectWise Design Integration Community site.
This issue is not specific to HNTB projects, however the error messages below that are caused by the problem, are HNTB only error messages. Additionally there are other Error 222 dialogs that can appear, only these 2 are specific to the issue at hand.
Error Message 1:
This error message indicates a client's standard.cfg file (in this case it is a TxDOT standards.cfg file) cannot be located. The path to the config file is incomplete, missing the beginning part of the path. This error is not specific to TxDOT configurations and will occur for other client configurations.
Error Message 2:
The second error message caused by this problem is one indicating a variable, _HNTB_CLIENTS_ROOT, is not defined. For this issue the error message 2 will always list _HNTB_CLIENTS_ROOT as the undefined variable. If a different variable is named, the problem is caused by something else.
This issue is caused by changes Bentley made in the mslocal.cfg delivered with MicroStation and the OpenX products. Fixing this issue requires bypassing the additions when a Managed WorkSpace is used. The easiest fix is to replace this file with the one Bentley delieverd in MicroStation 2026.1. The contents of this file are duplicated below, you can replace the contents of the mslocal.cfg with this version to resolve the problem.
#--------------------------------------------------------------------------------------
#
# $Source: mstn/config/mslocal.cfg $
#
# $Copyright: (c) 2015 Bentley Systems, Incorporated. All rights reserved. $
#
#--------------------------------------------------------------------------------------
#======================================================================
#
# This is the first configuration file loaded by MicroStation
#
# Start by including msdir.cfg, which is generated by the installer.
# msdir.cfg defines the MicroStation installation directory (MSDIR_INSTALLED) and
# the workstation root installation directory (_USTN_INSTALLED_WORKSPACEROOT).
#
#======================================================================
%include msdir.cfg
%if !defined (PW_MANAGEDWORKSPACEENABLED)
%level User
%if exists ($(_USTN_CACHECFG))
%include $(_USTN_CACHECFG)
%endif
%if defined (_USTN_LAST_ACTIVE_CONFIGURATION)
_USTN_CONFIGURATION : ${_USTN_LAST_ACTIVE_CONFIGURATION}
%else
# By default, the _USTN_WORKSPACEROOT is set to the installed workspace root.
_USTN_CONFIGURATION : ${_USTN_INSTALLED_CONFIGURATION}
%endif
%else
# By default, the _USTN_WORKSPACEROOT is set to the installed workspace root.
_USTN_CONFIGURATION : ${_USTN_INSTALLED_CONFIGURATION}
%endif
%level System
# if not already set, MSDIR is defined as MSDIR_INSTALLED.
MSDIR : ${MSDIR_INSTALLED}
# Now include the main msconfig.
%include $(MSDIR)config/msconfig.cfg
Page last updated: 2016-11-15
© 2016 HNTB Corporation