Crash when opening any file - Windows error message


  
 Applies To 
  
 Product(s):MicroStation, PowerDraft
 Version(s):08.11.09.459
 Environment: N/A
 Area: Configuration
 Subarea: General
 Original Author:Conor King, Bentley Technical Support Group
  

 

 

 

 

 

 

 

Error or Warning Message

"MicroStation (version given) has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available."

 

Explanation

MicroStation crashes when opening any file and a Windows error message appears. There are no MicroStation Exception Logs or MiniDump files created. There are a number of reasons why this error might be generated but one such case is related to a file usually stored in the dwgdata folder.

Check the location path of the folder dwgdata, which is pointed to by the variable MS_DWGDATA. If this folder is on a network share, it may be causing the issue. There is a file in this folder called MstnShxFileList.csv, which, if it becomes corrupt while on a Network Share can cause MicroStation to crash just after start up. The purpose of the file is to locally cache metadata about SHX files, so that if there are libraries of these on a network share, it can improve the startup performance of MicroStation. The file can become corrupt by many MicroStations accessing this file simultaneously. By default, this file is stored locally.

How to Avoid

Remove/rename the file

  1. Search for the file MstnShxFileList.csv

  2. This should be located in the folder pointed to by MS_DWGDATA

  3. An msdebug can be used to find the path to MS_DWGDATA if needed

  4. Once found, either remove this file from the folder, or, rename the file (e.g. MstnShxFileList.bak)

  5. Start MicroStation once more to see if issue is resolved

 

Note: If the file must be kept on a network share, the file should be write protected.

Other language sources:

Français

Deutsch