Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 18, 2012 07:27 PM by glaudsonsilva
Jan 20, 2011 05:24 PM|LINK
I'm having a tough time implementing mixed-mode authentication (windows & forms based) for my application using IIS 7. Doing it in IIS6 is easy, but the process doesn't translate to 7/7.5 - and my research has led to me to conflicting answers, none of which
have yet worked. I could really use some help here.
I have redirect page called WindowsLogin.aspx, and a forms-based one called Login.aspx. I'm having difficulty enabling Windows authentication for just WindowsLogin.aspx. I read some instructions that say to make the following addition to web.config:
Jan 20, 2011 06:48 PM|LINK
Solved it - you have to allow authentication changes in IIS for the application for the web.config commands to work. Here are the commands you need to run on the webserver:
C:\Windows\System32\inetsrv\appcmd.exe unlock config "Default Web Site\Your App" /section:anonymousAuthentication -commit:apphost
C:\Windows\System32\inetsrv\appcmd.exe unlock config "Default Web Site\Your App" /section:windowsAuthentication -commit:apphost
Apr 13, 2012 01:52 AM|LINK
thanks for the post. great help.
May 18, 2012 07:27 PM|LINK
I'm with the same problem. I have tried a lot of suggestions, but I can't do Mixed authentication with IIS7.
Can you help me? What do you did for resolve this problem?