Resolving HyDraw CAD Issues Due to Corrupted User.config Files

Resolving HyDraw CAD Issues Due to Corrupted User.config Files

Overview:

HyDraw CAD is built on AutoCAD OEM, which stores various pane and palette settings, such as position, docking state, size, and loading behavior, in the user.config file. This file is located within the DefaultDomain_Path_* folder at:
 C:\Users\UserName\AppData\Local\Autodesk,_Inc\DefaultDomain_Path_*

If this file becomes corrupted, it can cause multiple issues in HyDraw CAD, affecting its startup process, library explorer, and command functionality. The exact reason for the corruption is unknown, but renaming the affected configuration folder allows HyDraw CAD to regenerate a fresh user.config file, resolving the issue.

Symptoms:
Below are some common symptoms that may indicate a corrupted user.config file in HyDraw CAD:
  1. Opening HyDraw CAD results in an exception error, followed by an FPT error, especially when trying to open the HyDraw Library Explorer.
     

  2. HyDraw Library Explorer fails to load.

  3. Clicking the "Insert Symbol" command triggers the same errors as mentioned in point 1, as it attempts to open the HyDraw Library Explorer.

  4. The settings in HyDraw Options appear empty.

  5. Depending on the version of HyDraw CAD, some users may experience specific errors; below image shows one in HyDraw CAD 2021.



Solution:
To resolve this issue, follow these steps:
  1. Navigate to the following directory on the affected machine:
    C:\Users\UserName\AppData\Local\Autodesk,_Inc\
  2. Locate the folder that starts with "DefaultDomain_Path_*".
    If multiple folders are present, open each folder and check the contents to identify the one associated with the correct product and version.
  3. Rename this folder (e.g., add "_backup" at the end of the folder name).
  4. Restart HyDraw CAD. The program will automatically create a new user.config file at the same location.
  5. Verify if the issue is resolved by opening HyDraw Library Explorer and executing commands.