Permissions issues can be difficult to figure out, and it is even harder for me since I don't know your network architecture. The error message is making it clear, though, that user 'NT AUTHORITY\NETWORK SERVICE' is not able to log on to SQL Server.
In addition to adding the account to SQL Server, have you given it permission to the gallery database?
Roger Martin
Creator and Lead Developer of Gallery Server Pro