Last post Jul 21, 2014 08:42 AM by Jonathan22
Jul 17, 2014 06:12 AM|Jonathan22|LINK
Dear Microsoft ASP.NET,
I've created multiple webform projects use ASP.NET's default login mechanisms, which are linked to the SQL Server tables (these are by default: dbo.AspNetRoles/dbo.AspNetUserClaims/dbo.AspNetUserLogins/dbo.AspNetUserRoles/dbo.AspNetUers)
I created account from the webform project and distributed roles through SQL Server.
The problem (nightmare) now is that once in a while users cannot login to the server at all, and are being blocked out at the login view or redirected to the home page. There isn't any error or breakdown, but can be solved very temporarily by restarting
the website through IIS.
I've tried to research but rarely anyone mentioned the problem, I think there's something wrong with the way I deal with the ASP.NET security system?
Much Appreciated for all help.
Jul 17, 2014 08:53 AM|mgebhard|LINK
Don't be too quick to blame the ASP.NET login control. It might take you down the rabbit hole.
There can many reasons an IIS application locks up. In my experience, it's my code that locks up the an app pool. Start looking at logs and application errors. Has anything changed recently?
Jul 18, 2014 05:01 AM|Jonathan22|LINK
Thanks for the reply, I think that's more likely the case that I'm creating the mechanism incorrectly. The latest one happened after I published the project. I've tried to look at Event Viewer, but what was your procedure to debug this?
Jul 21, 2014 08:42 AM|Jonathan22|LINK
I've been researching this issue on the internet but finding no luck? Can anyone point me to the right direction? Thanks.