You are currently reviewing an older revision of this page.
Exception Errors
Troubleshooting MicroStation Processor Exception ErrorsMicroStation Processor Exception errors are generic in nature. The Exception error itself does not tell you much, other then the fact that MicroStation obviously crashed. If the Exception IP address starts with < 6* > the exception is usually in the MicroStationsource somewhere. All other IP's are outside of MicroStation. Thisdoesn't meanMicroStation is not causing the crash, MicroStation is probably running into a conflictwith another software application and/or software/hardware driver.
"The Dr. Watson Log" Processor exception errors will sometimes force the Operating system to create a Dr. Watson Log file. This file can sometimes be useful in pin pointing the problem. Windows 95/98 do not really support Dr. Watson. The log files produced are generally not readable.
For Windows NT follow the instructions in How to create a Dr. Watson report.Creating and making us of an msdebug.txt file an msdebug.txt can help you determine where your config, MDL, UPF, UCF, and resource files reside. See TechNote 8227 to learn more about creating and making use of an msdebug.txt file.
There are two important concepts to keep in mind when troubleshootingprocessor exception errors:
On "Which computer" does the exception error occur.1. Does the error occur on just one computer - if so then it is more then likely a localproblem. However be sure to check all mapped drives for the files indicatedbelow.2. Does the error occur on all computers - if so then the problem morethan likely lies in a shared directory that everyone is accessing on the network. Besure to check all mapped drives for the files indicated below.
"When" does the exception error occur?1. Double-clicking on the MicroStation icon2. After Selecting a design file3. Random Exception errors, not reproducibleIf the Exception error occurs when the user double-clicks on theMicroStation Icon, (before the MicroStation Manager appears):
1. Remove the MicroStation User Preference file. The preference file islocated in the following directories: (Rename all files with a *.upf extension to*.bak)o For MicroStation V8 C:\program files\Bentley\Home\Prefs\*.upfo For MicroStation J v07.00.x.x) C:\Bentley\Program\Users\*.upfo For MicroStation J v07.01.xx) C:\Bentley\Home\Prefs\*.upfo For MicroStation 95 and SE) C:\Win32app\Ustation\Config\Users\*.upfo Otherwise, it is located wherever the MS_USERPREF= variable ispointing to.
2. Check the licensing configuration: o If the you are running MicroStation 95/SE license pooling, remove the Semaphore files. Sometimes the semaphore files become locked ordamaged and MicroStation generates an exception error at the MicroStation splash screen.
3. Remove the MicroStation startup MDL's and any 3rd party MDL's:o For MicroStation V8, go to C:\program files\Bentley\Program\MicroStation\Config\Appl\ and rename all files with a (*.cfg) extension, to (*.bak)o For MicroStation J, go to C:\Bentley\Program\MicroStation\Config\Appl\and rename all files with a (*.cfg) extension, to (*.bak)o For MicroStation 95/SE, go to the C:\Win32app\Ustation\Config\Appl\directory and rename all files with a (*.cfg) extension, to (*.bak)o After renaming the files start up MicroStation and see if the exception error returns. If it doesn't, start restoring the files one at a time until the exception error returns.
4. Remove any MicroStation Initapps:o Edit the workspace file with notepad and have look for the variable MS_INITAPPS=. If there are any applications listed, remove them or comment out the entire line with a pound symbol (#). Then restart MicroStation.The Workspace config file has a (*.ucf) extension.For MicroStation V8 it is in the C:\program files\Bentley\Workspace\users\ directory.For MicroStation J it is in the C:\Bentley\Workspace\users\ directory.For MicroStation 95/SE it is usually located in the C:\Win32app\Ustation\Config\ directory.Reinstall TCP/IP (last resort) Note: If unfamiliar with Installing TCP/IPsee a Networking or Hardware support analyst.
If the Exception error occurs when the user opens a Design file from theMicroStation Manager:
1. First make sure the exception error is not file specific:If the exception error only occurs when you try to open specific designfiles, the design files are probably damaged and need to have EDG ran on them.o Run a copy of the original design file through EdG. See FAQ 6119 tolearn more about MicroStation EdG.2. Remove the MicroStation User Preference file. The preference file islocated in the following directories: (Rename all files with a *.upf extension to*.bak)o For MicroStation V8 C:\program files\Bentley\Home\Prefs\*.upfo For MicroStation J v07.01.xx) C:\Bentley\Home\Prefs\*.upfo For MicroStation J v07.00.x.x) C:\Bentley\Program\Users\*.upfo For MicroStation 95 and SE) C:\Win32app\Ustation\Config\Users\*.upfo Otherwise, it is located wherever the MS_USERPREF= variable is pointing to.3. Remove the MicroStation Resource files:o For MicroStation V8, go to the C:\program files\Bentley\WorkSpace\System\Symb\ directory o For MicroStation J, go to the C:\Bentley\WorkSpace\System\Symb\directory.o For MicroStation 95/SE, go to theC:\Win32app\Ustation\Wsmod\Default\Symb\ directory.Rename each of the resource files (*.rsc) to have a (*.bak) extension, then restartMicroStation. If the exception error disappears start restoring thefiles one at a time until you find the damaged file. If available, you can then tryrestoring the file(s) from another system.4. Remove any Workspace Interface files, (modification files):o For MicroStation v8, go to C:\program filesBentley\WorkSpace\Interfaces\MicroStation\Default\.o For MicroStation J, go to C:\Bentley\WorkSpace\Interfaces\MicroStation\Default\.o For MicroStation 95/SE, Go to C:\Win32app\Ustation\Wsui\Default\.If there's a file with a < *.m0* > extension, rename it to <*.bak >. Then restartMicroStation and see if the exception error disappears.5. Last resort, reinstall MicroStation:Something in the MicroStation tree got damaged. You could spend several hourstrying to figure out what file got damaged. The easy solution is to reinstall. Whenyou reinstall MicroStation, install it to a clean directory, do not install over top ofthe existing files. Make sure to save any custom files. To be safe install to a newdirectory and leave the damaged version there until the new install is up andrunning correctly.If you are getting Random Exception errors when working in MicroStation,(not reproducible):Standard Steps for Windows 95, Windows 98, Windows NT and Windows 2000.Keep a record of when the exception error occurs, a list of the IP numbers and whatfunction/tool was being used, and what dgn your where in when the systemcrashed. Note that the IP number is case sensitive - copy it down exactly as itappears.1. Remove the MicroStation User Preference file. The preference file islocated in the following directories: (Rename all files with a *.upf extension to*.bak)o For MicroStation V8 C:\program files\Bentley\Home\Prefs\*.upfo For MicroStation J v07.00.x.x) C:\Bentley\Program\Users\*.upfo For MicroStation J v07.01.xx) C:\Bentley\Home\Prefs\*.upfo For MicroStation 95 and SE) C:\Win32app\Ustation\Config\Users\*.upfo Otherwise, it is located wherever the MS_USERPREF= variable ispointing to.2. Increase the Virtual Memory (page/swap file) for the Operating Systemand make sure the page file is Permanent.o (Windows 2000) Go to Control Panel > System > Advanced >Performance options. Under the Virtual Memory section select the Changebutton. Set the Paging File to a sizable amount. To start with, good valuesare 150MB Minimum and 150MB Maximum. For a permanent swap filethe minimum and maximum values must be equal. Windows will create aswap file of 150Mb's on the drive specified.o (Windows NT)Go to Control Panel > System > Performance. Under theVirtual Memory section select the Change button. Set the Paging File to asizable amount. To start with, good values are 150MB Minimum and150MB Maximum. For a permanent swap file the minimum andmaximum values must be equal. Windows will create a swap file of150Mb's on the drive specified.o (Windows 95) Go Control Panel > System > Performance > Select theoption "Let Me Specify My Own Virtual Memory Settings". Set thePaging File to a sizable amount. To start with, good values are 150MBMinimum and 150MB Maximum. For a permanent swap file the minimumand maximum values must be equal.3. Increase the memory preferences used by MicroStation.Start MicroStation and go to WorkSpace > Preferences > Memory Usage >set the following preferences:o Max Element Cache to 16000o Resource Cache to 96o Undo Buffer to 20484. Decrease the Graphics Hardware Acceleration, (Windows 95/98/2000Only) Go to Control Panel > System > Performance > Graphics, Move the HardwareAcceleration slider a notch to the left. If the Exception errorpersists, set the slider to None.5. Reinstall MicroStation .... At this point, if you are still getting exception errors,and a reinstall of the software did not solve the problem, then the problem is morethen likely an Operating System issue. The next steps would be to:o Remove all unnecessary applications from Window's startup menu. Turnoff Screen Savers and Virus Protection. If no error is generated afterrestarting the system and launching MicroStation, then it is possible thereis a conflict between MicroStation and one of the startup applications.Add each startup application one by one and restart the system, to determinewhich is causing the conflict.o Update all hardware drivers from the manufacturer's website.o Run a Scandisk and a Defrag on the systems hard driveso Last resort would be to reinstall the Operating System from scratch.
http://sapcrp25.bentley.com/sap/bc/contentserver/100?get&pVersion=0045&contRep=BDS_DB23&docId=DDB58C094C3B5BF1896100123F680606&compId=8229%20-%20Exception%20Errors%20in%20MicroStation%20TechNote.pdf&accessMode=r&authId=CN%3DCP1&expiration=99991231235959&secKey=MIHxBgkqhkiG9w0BBwKggeMwgeACAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGBwDCBvQIBATATMA4xDDAKBgNVBAMTA0NQMQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTQwNjA0MTAyNTI0WjAjBgkqhkiG9w0BCQQxFgQUEGRicTZZ7FOlEja5fBfnFk8z0fQwCQYHKoZIzjgEAwQuMCwCFDMW7RQrpYb%2B%2FwkCVvrGbA3XiFsNAhQy%2BD1h6Y2P2sNlCPOb6B%2BfpJXk8w%3D%3D