Forms authentication and Usrname Password modal dialog...
I have the asp.net with authentication set to forms.
After deploying new version on serwer it started to display a UsernName Password dialog box (like in windows authenticayion) on the login.aspx page.
When user click "cancel" the login.aspx page displays normally and user could log in and continue his work normally.
I don`t know how to get rid of that dialog box?
Anonymous login on IIS is enabled, and the anynumous IIS user has access to that file - login.aspx
Re: Forms authentication and Usrname Password modal dialog...
This states IIS problem.In IIS6 even if anonymous is enabled you have to remove the windows authentication.Go to properties-windows security- click edit on Authentication and access control, make sure than only Enable anonymous access is checked and nothing else.
On IIS7.5 setting are under IIS-Authentication.If you have IIS7.5 let us know your exact setting because Microsoft decided to make things simpler but actually made them worst(my opinion).
P.S. "I have the asp.net with authentication set to forms."