'The controller for path '/favicon.ico' was not found...' error
Finally resolved the issue. We had to make two changes:
We're using OWIN-MixedAuth, and part of the issue was on the IIS Express settings (under "Development Server" section):
- Highlight the project in Visual Studio
- Open the 'Properties' panel on the right (or press F4)
- Set 'Windows Authentication' to 'Enabled'
- Set 'Anonymous Authentication' to 'Enabled'
Another part of the issue: a corrupted applicationhost.config file used by IIS Express:
- Ensure you're showing hidden files in Windows Explorer.
- Go to the root of your project via Windows Explorer.
- Open the hidden
.vs
folder. - Go to config > applicationhost.config, make a backup, and open it in Notepad (Notepad++ is better).
- Compare it to a working applicationhost.config file from one of our machines. We found lots of old sites that were listed in the config file which were not being used anymore.
- Once cleaned up, launched the app and it worked.