We had a similar issue (upgrading to 9.6.2). Our admin panel was functional after upgrading to 9.3.2 but was not functional after upgrading higher than 9.3.2. We rolled back to our 9.3.2 backup and upgraded the Search Boost 3rd party module to a newer version before upgrading DNN again from 9.3.2 to 9.6.2 where the admin panel was then functional.
I would suggest checking any 3rd party module extensions for upgrade requirements against DNN the versions and upgrade those extensions if needed as well.