I have made an MVC website in Visual Studio 2015 and it works in my localhost. But when I published my website and put into my host, it doesn\'t work. It gives me this error not
I went round and round with this today with no resolution. Exasperated, I finally just deleted my working copy from my drive, and rechecked it out from SVN.
Fixed.
Not a particularly clever answer, but it fixed it for me, no idea what the actual problem was.