Unable to use Client Application Services with custom MembershipProvider.

Posted by Shimmy on Stack Overflow See other posts from Stack Overflow or by Shimmy
Published on 2009-08-13T05:33:20Z Indexed on 2010/05/22 22:50 UTC
Read the original article Hit count: 375

Hi,

I have a Windows-Forms Application that I configured to use with an ASP.NET Service that is an Authentication service using a custom MembershipProvider.

When I call Membership.CreateUser in the Windows Application a NotSupportedException is thrown telling: "Specified method is not supported.".

I tried creating a web page in the website and test the MembershipProvider, everything works just fine when woeking from within the website.

Any ideas or link for how to use custom (not SqlMembershipProvider) MembershipProvider will be really appreciated!

Edit: The method ValidateUser does work. The overriden CreateUser doesn't work I tried Override Sub CreateUser(.......) As MembershipUser Return New User() End Sub But I still get the same excetption as before.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about winforms