Jump to content

Recommended Posts

Posted

Hi,

 

I am writing a custom membership provider using C# in .Net and I have

been trying to catch exceptions raised by my custom membership

provider class in my aspx page. I have already written a custom

membership class, which throws an exception. I am throwing the same

exception in the catch block of the custom class thinking that it

would be caught by the .aspx page.

 

Since I am using login control, shipped with VS 2005, for

authentication, I would like to understand how these exceptions can

be

caught with in the .aspx page. Specifically, I would like to know

which process invokes ValidateUser method of my custom class. This

custom class is an implementation of an abstract class named

"Membership" class. I don't remember the exact name of the abstract

class as the source code is not accessible to me at this point in

time.

 

To add to the info above, I have the custom membership provider in a

separate project which is ofcourse part of the same solution as my

web

app where I am trying to catch the exceptions.

 

If possible, please revert back at the earliest. If there's any

clarification reqd abt this scenario, please do let me know.

Thanks,

--Sunny

 

 

 

More...

 

View All Our Microsoft Related Feeds

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...