I'm following this guide to fix eshop error
1. Backup emuNand with the emuNand tool.
2. Backup emuNand's files which are inside the Nintendo 3DS folder of your sd card.
3. Format emunand from system settings (normally)
4. On the newly formatted emuNand, set everything up again ( date, name...