I created my first website in ASP.Net and I am trying to get it up and running on our intranet here at work. I have got almost everything completed now, and I have come to a roadblock.
I need to use Windows Authentication – requirement from my team – so I went through the process of setting up the site. I have everything configured and attempted to access the site (non-localhost) and got a dialog box asking for my login credentials. I cannot figure out for the life of me why that is. I have made sure that IE8 is set to pass credentials, I have ensured that Windows Auth is set up in both my web.config file and on the server. as soon as i enter my windows login information, i get into the site without issue.
When i initially set up the page, I selected pass-through authentication and tested the connection. During that test, i got an error back saying that access to the path of the website could not be verified. This is my only guess, but unable to figure out a fix for it.
I thank you in advance for your help and am happy to answer any questions as soon as I see them posted. Again, I am just trying to get around having that dialog box pop up.
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
Add the site to your trusted sites in IE.
Method 2
You need to make sure that “Integrated Windows Authentication” is setup on the site (and in IIS), other wise it won’t take their login credentials and pass through.
http://technet.microsoft.com/en-us/library/cc754628(WS.10).aspx
http://codesnip.net/iis7-integrated-windows-authentication-win-2008
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0