Really need help with this and tried lots of things and run out of ideas.
I have a site hosted on an internal development server, accessible for staff internally.
the server setup is windows 2008 R2, iis 7.5 sql 2008 express. Im authenticating using active directory.
in Chrome the site loads, and automatically logs me in recognising my name.
When viewing the site in IE7 the response is: "401 - Unauthorized: Access is denied due to invalid credentials. You do not have permission to view this directory or page using the credentials that you supplied."
I have tried the following:
<anonymousIdentification enabled="false" />
<authentication mode="Windows" />
<identity impersonate="false" />
cscript adsutil.vbs set w3svc/NTAuthenticationProviders "NTLM"
im convinced its not a browser setting as im authenticated against AD when i access the intranet in IE7.
what is wrong? how can i fix it?
Many thanks
On the taskbar, click Start, and then click Control Panel. In Control Panel, click Programs and Features, and then click Turn Windows Features on or off. Expand Internet Information Services, then World Wide Web Services, then Security. Select Windows Authentication, and then click OK.
Start Visual Studio and select Create a new project. In the Create a new project dialog, select ASP.NET Core Web App (or Web API) > Next. In the Configure your new project dialog, enter Project name > Next. In the Additional Information dialog, select Authentication Type as Windows.
From the technet article, http://technet.microsoft.com/en-us/library/cc754628(v=ws.10).aspx :
The default setting for Windows authentication is Negotiate. This setting means that the client can select the appropriate security support provider. To force NTLM authentication, you must change the value of the element under the element in the ApplicationHost.config file.
IE is using Kerberos and not falling back on NTLM like Chrome and Firefox. You must force NTLM authentication in IIS7.5 by following these steps:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With