Author: AnnaMaria | Posted on: 6/29/2009 2:27:10 AM | Views : 270

Hallo,
I am using <asp:Login> for the authentication. There is a VB class

Public Class Authentication Inherits MembershipProvider ... Public Overrides Function ValidateUser... The validation works fine. But now I would like to give an error message if e.g. the connection to the database could not be established.
1. What is the best way to show an error message on my login page?
2. I've tried Response.Write within functino ValidateUser(), but I get an error message: "Name Response is not declared." What's wrong?
Thanks for any help!
Anna


...

Go to the complete details ...