I deployed a .Net application on Windows Server 2012
. The application works fine when no authentication is enabled(with anonymous authentication). When I enable Basic authentication, the site redirects to some Accounts/login*** page(having set proper Default Document
).
The issue is similar to the one in the link http://forums.iis.net/t/1228477.aspx?Basic+Authentication+in+IIS8. I tried the following settings in web.config file but no luck.
<authentication mode="Windows"/>
<authorization>
<allow users="*"/>
</authorization>
<appSettings>
<add key="autoFormsAuthentication" value="false" />
<add key="enableSimpleMembership" value="false"/>
</appSettings>
Anybody came across this and know how to fix it?. Any help is appreciated!.