I am trying to deploy my ASP.NET website onto my VPS webserver (running windows server 2012) but get a 500 error for the website. I also get an error running web.cmd directly so I tried building just the empty asp.net 5 project (the hello world one) and get a similar problem.
When I try to run web.cmd directly on the VPS I get the following error:
web.cmd runs without error on my local pc (running windows 10) and I can browse to localhost:5000 and see my website correctly.
Web.cmd also runs correctly on my Windows 7 pc with the deployment files on a USB stick.
I am uploading the deployment files to my VPS using FTP (FileZilla).
Any help greatly appreciated.