RE: Moldex3D CADdoctor Error 999
Possible causes of this issue include the following:
1. Registry with invalid characters
2. Installation and configuration of the Ruby library (related to permissions)
- bundle-install.bat
3. Other issues
- Permission related of Script execution
- Inter-Process Communication (IPC) related
- Consider improving support procedures
*Here are solutions:
1. For CADdoctor 2024 R2 users
- Launch bundle_install.bat
- Update CADdoctor 2024 to R4 or later
2. If still not resolved, launch “ShowCADdoctorLogFile.bat” to export debug file
Solution 1:
1. For CADdoctor 2024 R2 users -> launch bundle_install.bat
- Run cmd as Administrator and do the following four steps
– Make sure the folder goes to installation folder (Default is C) by typing in C:
– Point the folder to CADdoctor Tool by typing in cd C:\Moldex3D\2024\CADdoctor\e3ds\SmartLauncher\tools
– Type in set ELY_RUBIES_BASE=%ProgramData%\CoreTechSystem\Ruby
– Type in bundle-install.bat
- If the cmd returns the following information indicating the installation failed, you can try the following steps to see if they resolve the issue.
– Open in text editor\ and modify ruby registry.rb file
1. C:/ProgramData/CoreTechSystem/Ruby/2.7.6/rubies/ruby-2.7.6/lib/ruby/2.7.0/win32/registry.rb
By editing line 72 of the above file as follows, it may be possible to avoid the issue.
2. Before) LOCALE = Encoding.find(Encoding.locale_charmap)
After) LOCALE = Encoding::UTF_8
– Redo the progress in the last page
2. For CADdoctor 2024 R2 users -> Update CADdoctor to 2024 R4 and later
- Supported by Moldex3D CADdoctor for 2024R4/2025R0
– Registry with invalid characters
– Installation and configuration of the Ruby library (related to permissions)
» bundle-install.bat
Solution 2:
1. Launch “ShowCADdoctorLogFile.bat” to export debug file
- Goal: Collecting log files related to other issue
– Permission Issues for Script Execution
– Inter-Process Communication (IPC) Issues
– Other Potential Issues
- Executes the batch file on the affected machine
– batch file from internet can be block
» Batch files obtained from the network, or the internet may be blocked from execution by Windows security features. In such cases, depending on the environment, right-click the file, open “Properties”, and select “Unblock” might resolve the issue
– No need administrator permission to launch
» Administrator privileges are not required, however, depending on the environment, batch file execution may be restricted, in those cases, consulting with the IT department might be required.
- Check error information in Command prompt (CMD)
– If error contain “Execution is prohibited by domain policy”, it was blocked during launching and may need administrator permission or support from IT team on customer side
» Customers are expected to identify obvious errors within the displayed log entries. If a message such as “Execution is prohibited by domain policy” is displayed, the customer should confirm with their administrator.
- Ask customer to send back information exported by “CADdoctorLog.txt”
– “CADdoctorLog.txt” will be created under “ShowCADdoctorLogFile.bat”