I have a windows Authentication for My MVC5 projec. It is working locally but when I publish it to the server, I get this error:
It is an error to use a section registered as allowDefinition='MachineToApplication'
beyond application level.
This error can be caused by a virtual directory not being configured
as an application in IIS.
I have this line in my web.config
<authentication mode="Windows"/>
but in MVC there is another config file under the "view" as well. I also added to that too but same error. Any thought?