简体   繁体   中英

ASP.NET intranet site asking for credentials - Windows Authentication

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.

将站点添加到IE中的可信站点。

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM