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 changed:
to
i.e, changed targetFramework value to 4.5 (the one supported on server) from 4.7. and worked.
targetFramework