[ASP.NET]讓Web專案在IIS7中可運行 Forms Authentication (表單驗證) 及 Windows 驗證

讓Web專案在IIS7中可運行 Forms Authentication (表單驗證) 及 Windows 驗證。
最近在我的IIS 8.5上測試,發現一樣是這樣設定,但IIS卻會有「不能同時使用查問式驗證及登入重新導向式驗證。(Challenge-base and login redirect-based authentication cannot be used simultaneously.)」的警訊。
而直接用IE開啟 LoginWin.aspx 時,居然不理會 Windows 驗證 ,直接就被導到登入頁面去。

...繼續閱讀 »