Exception in acepublish.arx opening AutoCAD Electrical 2022

May 5, 2022 Joanna Gryszka


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.


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’:


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 and after the update

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

Joanna Gryszka

Manufacturing Technical Support Specialist<br><br>Joanna has over eight years of experience working with Autodesk products. She started supporting core AutoCAD and network installations of all Autodesk products. She now has five years of experience with Inventor. <br> She graduated from Mechanical Engineering and has been providing solutions to clients and dedicating her knowledge to the Solution Center since then.

More Content by Joanna Gryszka
Previous Article
Detailing with Revit 101
Detailing with Revit 101

Detailing in Revit is a process to add detail elements to model geometry and create construction details.

Next Article
Revit could not load IntflFC.dll error
Revit could not load IntflFC.dll error

Revit could not load IntflFC.dll error. When launching Revit, you get the error “Revit could not load C:\Pr...

Need tech support? Let us help!

Learn More