Cisco ASA 5505 ASDM stuck at 17%

I was recently troubleshooing an issue whereby a Cisco ASA 5505 ASDM was having problems loading and getting stuck at 17% with the message “Discovering Device Version”

The original 5500 series ASAs are now end of support, but there are plenty of them still in the field.

This one had been upgraded to the latest software version (asa917-32-k8.bin) and the latest version of ASDM (asdm-7151-150.bin).

There were all sorts of theories on the Internet about how to fix it, including downgrading Java or only using the 32bit version, creating a dap.xml file, erasing the config and copying it back via TFTP, even disabling OSPF if enabled.

The only one that worked for me was to downgrade the ASDM image to asdm-7101.bin and after that everything worked fine.