Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Debugging Custom MembershipProvider?

Reply
Thread Tools

Debugging Custom MembershipProvider?

 
 
Mark Olbert
Guest
Posts: n/a
 
      01-10-2006
So far, I am more than a little underwhelmed by the Membership API in ASPNET2, and the ASP.NET Configuration wizard in VS2005. The
latter is slow as a pig whenever it does anything. Oh well, at least it's given me a chance to brush up on my Spider Solitaire game.

In any event, I am trying to implement a custom MembershipProvider for a website. Why? Because the default one that gets created by
the supplied wizard is way over the top, in terms of the complexity of information it manages, for the website I'm building.

The problem is I haven't been able to figure out how to debug my custom MembershipProvider. I've configured the site so that the
ASP.NET Configuration wizard uses the custom provider, but whenever I try to create a new user it blows up. It does give me an error
message when that happens. However, since that message is badly formatted, and refers solely to ASP.NET Configuration wizard files,
it's not much help.

So...how do I debug a MembershipProvider?

- Mark
 
Reply With Quote
 
 
 
 
Shawn Wildermuth
Guest
Posts: n/a
 
      01-10-2006
Hello Mark,

You once you run the configuration website, try and attach to the aspnet_wp
process with VS 2005 with your membership provider. THis has worked for me.

Shawn Wildermuth
C# MVP, Author and Speaker
http://adoguy.com

> So far, I am more than a little underwhelmed by the Membership API in
> ASPNET2, and the ASP.NET Configuration wizard in VS2005. The
>
> latter is slow as a pig whenever it does anything. Oh well, at least
> it's given me a chance to brush up on my Spider Solitaire game.
>
> In any event, I am trying to implement a custom MembershipProvider for
> a website. Why? Because the default one that gets created by
>
> the supplied wizard is way over the top, in terms of the complexity of
> information it manages, for the website I'm building.
>
> The problem is I haven't been able to figure out how to debug my
> custom MembershipProvider. I've configured the site so that the
>
> ASP.NET Configuration wizard uses the custom provider, but whenever I
> try to create a new user it blows up. It does give me an error
>
> message when that happens. However, since that message is badly
> formatted, and refers solely to ASP.NET Configuration wizard files,
>
> it's not much help.
>
> So...how do I debug a MembershipProvider?
>
> - Mark
>



 
Reply With Quote
 
 
 
 
Scott Allen
Guest
Posts: n/a
 
      01-10-2006
On Mon, 09 Jan 2006 19:01:37 -0800, Mark Olbert
<(E-Mail Removed)> wrote:

>
>The problem is I haven't been able to figure out how to debug my custom MembershipProvider. I've configured the site so that the
>ASP.NET Configuration wizard uses the custom provider, but whenever I try to create a new user it blows up. It does give me an error
>message when that happens. However, since that message is badly formatted, and refers solely to ASP.NET Configuration wizard files,
>it's not much help.
>


If you are running the ASP.NET website config tool, then you'll want
to use Debug -> Attach to Process and find WebDev.WebServer.exe in the
process list. Set some breakpoints in your code, or use the Debug ->
Exceptions dialog box to have the debugger break when a managed
exception is thrown.

--
Scott
http://www.OdeToCode.com/blogs/scott/
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I skip debugging Ajax when debugging my code? AAaron123 ASP .Net 3 07-28-2009 04:07 PM
Debugging C vs debugging C++ jacob navia C Programming 11 10-27-2006 07:19 PM
How to effectively use custom error page for debugging Tom Conlon ASP .Net 1 07-27-2005 04:22 AM
No Debugging of C# Server-Side Script, but Code-Behind Debugging Works Johann Blake ASP .Net 1 01-05-2004 03:01 PM
Debugging Shared Assemblies (ex. Custom Controls) RadekP ASP .Net 0 06-25-2003 05:44 PM



Advertisments