views:

196

answers:

2

My asp.net app is using Forms Authentication. Running the project from the Visual Studio .NET 2008 has absolutely no problem, but it doesn't work on IIS, after clicking the Login button, the authentication code run with no error, but the Login page kept getting reloaded and reloaded.

any ideas?

tks in advance, james

A: 

It sounds like the login page is set as the default page in iis or something?

awe
hi awe, my defaulturl is a page inside my admin area, like I said works fine under visual studio development...I think is a infra´ issue and not code related.
mrx
ah, sorry, now I understood whats you mean...but everything is fine on IIS , I´ve checked...I think is something cookie related.
mrx
eventually what happened?
Meysam Javadi
A: 

Hi, We have a similar problem. We have a web application running under default appdomain. It was working fine until a week before...Suddenly it has encountered a problem. Below message is taken from event logs.

Event code: 4005 Event message: Forms authentication failed for the request. Reason: The ticket supplied has expired.

Application uses FormsAuthentication and gets the roles from aspnetdb.. After the error, when user logins to the page, it does not redirects to the default.aspx. Again login.aspx comes up. On the other hand application works fine on development server(localhost), but not on www(IIS 6.0).

Does any one has an idea?

Thanks,

İlknur

İlknur