Application: MS SS2 and MS SS3 (08.11.09.357)
HW/SW: Any
Location of workspace + mdl: tested both local and on network.
Hi. This is my first post on Bentley forum, as a result of chating with Conor King from Bentley support, issue #7000061864.
The problem is as following: When opening a dgn file on a fileshare, everything works fine exept running some mdl application via key-in. Typing mdl load pubedit.ma result in the following error:---OS could not load C:\Statoil\ISYCAD_v8i\mdlapps\intelnt\pubedit.dll, error 161MDL loader: Unable to load library (DLL or MDL shared library)pubedit.dllMDL Loader: Could not load application PUBEDIT.---The strange thing is that it works very well if the same dgn-file is located on the users C-drive. Everything else is exactly the same. I am also able to load the mdl application (pubedit.ma) via Utilities - MDL-Application. We have at least two mdl applications which cannot be run via key-in, but if I run one of the via Utilities - MDL-Application, the other one can be run via key in MDL LOAD afterwards.
I have also checked MS_ADDINPATH and MS_MDLAPPS. In MS_MDLAPPS, the ma-location is listed as third. The questions is: Why does this error occure, and how do we solve it? What does error 161 mean?
I have tried to move the workspace from networksdrive to local drive. I have also reinstalled MS, tested on several computers included clean VM Mashines with the exact same result.
Bentley support could not help me, but I need this fixed. There more than 1000 users in this company.
Thanks in advance
I am glad to see that the issue is marked as being resolved.
FWIW. For future troubleshooting reference for issues like this there are two tools I find highly useful to narrow in on and identify where and what the real problem are.
1. NET HELPMSG. Is a useful tool to get error descriptions for Microsoft Windows (Win32) Error codes. Not all inclusive, but convenient for quick checks. See your Microsoft Windows SDK (or Bentley) source code include directories for more inclusive and feature specific error codes.
USE: net helpmsg <code>
SAMPLE OUTPUT:C:\Users\robert.hook>net helpmsg 161
The specified path is invalid.
2. Microsoft Process Monitor. Very useful tool for developers and administrators alike to trace and log File and Registry read/write activity, Permission and Performance issues, etc.. If you Build your software using Microsoft PDB Symbols, it even provides highly useful Stack Traces (no argument values) to debug your code or see if other 3rd party code is involved at some level. Try to avoid using this tool for debugging production servers whenever possible and if you choose to, exercise extreme caution.
HTH,Bob
I am using Process Monitor and also Process Explorer, but this time I assume it was a MicroStation issue. Anyway, problem is solved. Thank you all for your really quick and good help!