Welcome to the Alteryx Knowledge Base
Created/Edited -
Alteryx Designer fails to start or displays macro loading errors because one or more installed macros or macro configuration files cannot be loaded correctly.
The following errors may appear:
There was an error loading a macro: An internal error occurred.
There was an error loading a macro: Object reference not set to an instance of an object
When starting Alteryx Designer, one of the following errors appears:
There was an error loading a macro: An internal error occurred.
or
There was an error loading a macro: Object reference not set to an instance of an object
Alteryx Designer
• All supported versions
- • Permission to modify folders under:
- C:\ProgramData\Alteryx\DataProducts\AddOnData
- Permission to restart Alteryx Designer
This issue can occur when Designer cannot correctly load one or more installed macros or macro configuration files during startup.
Common causes of this issue include the following:
• Corrupted macro configuration files
• Corrupted installed macros
• Invalid references to installed macros
• Incomplete macro installations
• Leftover macro configuration files following an upgrade or uninstall
Try the following troubleshooting steps:
- Close Alteryx Designer.
- Navigate to:
- C:\ProgramData\Alteryx\DataProducts\AddOnData
- Rename the Macros folder.
- Example: Macros_old
- Restart Alteryx Designer.
- If Designer starts successfully, incrementally restore files to the renamed folder and restart Designer after each change.
- Identify the macro or configuration file that causes the error to return.
- Remove, replace, or reinstall the problematic macro.
Note: Renaming the Macros folder may temporarily remove access to installed macros and related functionality until the files are restored.
The Macros folder contains installed macro references and configuration files used during Designer startup.
If one or more macro files or configuration references become corrupted, Designer may fail to initialize macros correctly and display macro loading errors during startup.