Setup: How to fix error 5110

Error message

The specified path for the SQL Server data and log files does not exist or have write permission - access denied.

Solution

To fix this issue, create the path folders on the local SQL Server and provide the proper permissions.