The error message "Failed to Initialize Database" appears in the NES Setup wizard after you click Install.
The following figure shows this error message.
This error message appears when IIS was installed without ASP.NET 4.x.
Install ASP.NET 4.8. The Nymi Connected Worker Platform NES Deployment Guide describes how to install ASP .NET.