Hello!
In one page I see this:
Code:
If Me.User.Identity.IsAuthenticated AndAlso _
(Me.User.IsInRole("Administrators") Or _
Me.User.IsInRole("Editors")) Then
dvwArticle.ChangeMode(DetailsViewMode.Edit)
Else
Throw New SecurityException( _
"You are not allowed to edit existent articles!")
End If
But, all we have the "custom errors="On" I suppose...
So, the user will never read "You are not allowed to edit existent articles!" !!
He will only read that one error occurred :( And he will think that the page have a lot of error's!
It's possible to show, in the error.aspx the exception message = "You are not allowed to edit existent articles!"
Thanks!
Max