Is this a server error or a WordPress error? Sounds like the later to me and if so it isn’t a real admin user, like something has been corrupted. Is there another user who can reset yours? Can you create another admin user and use that the reset the permissions on the first?