Error 126.
MDL Loader: Unable to load library (DLL or MDL shared library) mcmtb
Product(s) and Version(s):
MicroStation integrated with ProjectWise Explorer
Problem:
When trying to open a design file in an integrated ProjectWise Explorer environment using MicroStation, the following error message is displayed:,
OS could not load C:\PROGRA~1\Bentley\PROJEC~1\bin\v1000\mcmtb.dll, error 126.
MDL Loader: Unable to load library (DLL or MDL shared library) mcmtb
The design file opens, however, attribute exchange does not work. The relevant key-ins like titleblock updatedms are not recognized.
Solution:
The following path must be added to the MicroStation configuration variable of MS_LIBRARY_PATH,
C:\Program Files\Bentley\ProjectWise\bin\v1000
The above directory should be available in the variable of MS_LIBRARY_PATH, by default. However, if the directory is not enlisted, it will cause the above-described issue.