AI OnAI Off
I'm thinking this answer is too late for you, Jacob, but for anyone else who's finding this in Chrome, try clearing your cookies.
See here: http://karuppuswamy.com/wordpress/2010/06/17/how-to-solve-this-webpage-has-a-redirect-loop-error-in-google-chrome/
I want to have a login-page that uses my masterpage, but when I try to it goes crazy and writes out this URL:
http://localhost/login/login.aspx?ReturnUrl=/login/login.aspx?ReturnUrl%3d/login/login.aspx?ReturnUrl%253d/login/login.aspx?ReturnUrl%25253d/login/login.aspx?ReturnUrl%2525253d/login/login.aspx?ReturnUrl%252525253d/login/login.aspx?ReturnUrl%25252525253d/login/login.aspx?ReturnUrl%2525252525253d/login/login.aspx?ReturnUrl%252525252525253d/login/login.aspx?ReturnUrl%25252525252525253d/login/login.aspx?ReturnUrl%2525252525252525253d/login/login.aspx?ReturnUrl%252525252525252525253d/login/login.aspx?ReturnUrl%25252525252525252525253d/login/login.aspx?ReturnUrl%2525252525252525252525253d/login/login.aspx?ReturnUrl%252525252525252525252525253d/login/login.aspx?ReturnUrl%25252525252525252525252525253d/login/login.aspx?ReturnUrl%2525252525252525252525252525253d/login/login.aspx?ReturnUrl%252525252525252525252525252525253d/login/login.aspx?ReturnUrl%25252525252525252525252525252525253d/login/login.aspx?ReturnUrl%2525252525252525252525252525252525253d/login/login.aspx?ReturnUrl%252525252525252525252525252525252525253d/default.aspx?id%25252525252525252525252525252525252525253d3
I'm guessing (after some google-ing) that the behaviour is caused by AccessDenied exceptions..?
Should I just give up trying to use the masterpage or could I make it work?