I am in the process of creating a website using ASP.NET MVC. I went to publish it to the web, and for some reason the LogIn view comes up rather than Home view. I have not implemented (not sure if I intend to) any sort of logging in at all since this is a rather simple web site.
I am 99% certain I am overlooking something extremely simple and obvious but like most problems, I cannot see said issues.
If more information is required, please let me know and I will be glad to provide.
Thanks!
Does your web.config file on production have authentication enabled? By default, you have this in any new MVC project web.config file:
Changing authentication to mode=”None” or removing the element will disable authentication.