Issue:
Launching AutoCAD Electrical 2022, an Unhandled Exception error in C:\Program Files\Autodesk\AutoCAD 2022\Acade\acepublish.arx pops up.
Here are two sample Unhandled Exception errors that open on launch.
Clicking Ok in the dialog box allows AutoCAD Electrical to open and run.
Causes:
The AutoCAD 2022.1 Update causes an error in the acepublish.arx file. See this Autodesk article explaining the error.
You’ll notice an ‘Unknown command’ error at the command line:
- Invoking the AEPUBLISH command.
- Or trying to Publish a project to PDF or DWF/DWFX by right-clicking on the project and choosing the ‘Publish to PDF/DWF/DWFx’:
Solution:
Install the latest AutoCAD Electrical 2022 update from your Autodesk Account or the Autodesk Desktop App.
- Currently the latest update is AutoCAD Electrical 2022.0.1
- Before installing the AutoCAD Electrical 2022.0.1 update AcePublish.arx will be at version 19.0.57.0 and after the update 19.0.72.0:
If other AutoCAD Electrical commands show an ‘Unknown command’ error at the command line, try resetting the program to default or verify if any Windows/Office updates were recently installed and remove them:
If the error persists uninstall AutoCAD Electrical 2022 from Windows Control Panel and reinstall from a full download in Autodesk Account or Autodesk AVA.
About the Author
More Content by Joanna Gryszka