0
votes

I hope you can help me. I have an ASP.NET 4.0 web application running under IIS 8.5 on a Windows Server 2012 R2 box. When we try to access the application it looks for a username & password in a "Windows Security" panel.

We are confused to say the least! Obviously we checked the following:

  • The web.config says is enabled
  • IIS says "Anonymous Authentication" is disabled (which is what we want)
  • IIS Says "Windows Authentication" is enabled (which is what we want)
  • We have bounced IIS and the server
  • We had a look at the applicationHost.config and it looks okay (but to be honest there is a lot there)
  • On IE 11 - the localhost website is added already as a trusted site

Has anyone encountered this before? Would appreciate any suggestions/comments/user-experience you may be able to share...

2

2 Answers

0
votes

In the web.config, do you have and make sure the anonymous authentication is enabled.

0
votes

If you have Anonymous Authentication disabled you will be asked to provide credentials, since they are not being specified in the Anonymous Authentication settings.

You state

IIS Says "Windows Authentication" is enabled (which is what we want)

and that is exactly what the system is doing, IIS is performing as it should as per your settings since you have Anonymous Authentication disabled.