Reputation: 9171
I have an application that works great on localhost with forms authentication.
I deployed it to the deployment machine and it to the build machine and received and endless set of 302 redirects.
I try logging onto the deployment machine and access the page via the deployment machines ip and it works again.
So it is not working when I try and access the site from my computer to the build computer.
What could be causing this?
Upvotes: 0
Views: 2255
Reputation: 38151
I resolved this issue on a Windows XP machine with IIS 5.1 for a .NET 1.1 site by changing the ASP.NET version correctly to 1.1.4322 instead of 2.0.50727 (what it was set to).
Just wanted to mention that in case it helps someone else. I feel silly for not realising that sooner. :-)
Upvotes: 0
Reputation: 9171
And it was because the time on the server was different then the time on my client machine. Who knew such a thing could happen? Not me.
The sad part is I changed the time hours ago but I put it at AM instead of PM. Awesome!
Upvotes: 0
Reputation: 9611
I had this problem a few weeks ago. My problem was that my Default.aspx
required roles/permissions that the user I was trying to log with did not have.
Default.aspx (anonymous user) -> Login.aspx -> [logged in] -> Default.aspx (user denied access) -> automatic redirect to the main page -> Default.aspx (user denied) -> endless loop.
I fixed it by removing any permissions required for my default page and making sure the permissions in my web.config were Ok.
Upvotes: 2
Reputation: 100657
There's most likely an IIS configuration issue.
Upvotes: 0