You've published your website and it can't talk to your database because it's not you any more, it's now running as the AppPoolIdentity. You could set it to run as you but that's far too much … more
This is based on someone else's code but I've lost the link. If you recognise your work leave a comment. It's here because I converted it to Typescript for convenient inclusion in Aurelia projects.
Dynamically selected view assets are problematic with WebPack because there static dependency detection fails to recognise them as required and does not include them in the build.
To persuade … more