title: How to find asp:Login LoginError error type
body: <p>When the <code>LoginError</code> event fires for the <code>asp:Login</code> control, how can I find why the error happened?</p>
  
  <p>Is there something like an <code>e.ErrorType</code> property that tells me why the login was unsuccessful? Or do I have to check everything manually like in this tutorials:</p>
  
  <p><a href="http://www.asp.net/security/tutorials/validating-user-credentials-against-the-membership-user-store-cs" rel="noreferrer">http://www.asp.net/security/tutorials/validating-user-credentials-against-the-membership-user-store-cs</a> or <a href="http://www.aspnettutorials.com/tutorials/controls/howto-errors-login-asp4-csharp.aspx" rel="noreferrer">http://www.aspnettutorials.com/tutorials/controls/howto-errors-login-asp4-csharp.aspx</a></p>