NewsBot
1
Hi,
This is another post regarding the problem I am facing with handling exceptions raised by Custom Membership Provider.
I have written a class "CustomMemberProvider" which throws an exception through its ValidateUser() method. I would like to rethrow this excepiton from the catch block of the ValidateUser method in order to handle it within the .aspx page and display user an appropriate*message.
When I try to throw an exception in the catch block of ValidateUser() method, it halts the execution there and does go back to the .aspx page as expected.
I have another post (http://channel9.msdn.com/ShowPost.aspx?PostID=393940) for the same problem. I had to repost it as I wasn't getting any responses. Therefore, I thought of rephrasing it and posting it one more time.
Please help.
Regards,
Sunny
More...
View All Our Microsoft Related Feeds
This is another post regarding the problem I am facing with handling exceptions raised by Custom Membership Provider.
I have written a class "CustomMemberProvider" which throws an exception through its ValidateUser() method. I would like to rethrow this excepiton from the catch block of the ValidateUser method in order to handle it within the .aspx page and display user an appropriate*message.
When I try to throw an exception in the catch block of ValidateUser() method, it halts the execution there and does go back to the .aspx page as expected.
I have another post (http://channel9.msdn.com/ShowPost.aspx?PostID=393940) for the same problem. I had to repost it as I wasn't getting any responses. Therefore, I thought of rephrasing it and posting it one more time.
Please help.
Regards,
Sunny
More...
View All Our Microsoft Related Feeds