Wrox Programmer Forums
|
BOOK: Silverlight 4 Problem - Design - Solution
This is the forum to discuss the Wrox book Silverlight 4 Problem - Design - Solution by Nick Lecrenski; ISBN: 9780470534045
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Silverlight 4 Problem - Design - Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 6th, 2011, 08:17 AM
Registered User
 
Join Date: May 2011
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Provider error when signup a new user

When I singup a new user I a provider error. Here is the complete stack of the error -

at FitnessTrackerPlus.Web.Services.UserInformationSer vice.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer) in C:\Users\\All Code_New\All Code_New\Chapter 3\Chapter 3\FitnessTrackerPlus\FitnessTrackerPlus.Web\Servic es\UserInformationService.cs:line 21
at CreateUser(DomainService , Object[] )
at System.ServiceModel.DomainServices.Server.Reflecti onDomainServiceDescriptionProvider.ReflectionDomai nOperationEntry.Invoke(DomainService domainService, Object[] parameters)
at System.ServiceModel.DomainServices.Server.DomainSe rvice.Invoke(InvokeDescription invokeDescription, IEnumerable`1& validationErrors)


The above error is thrown at the following code lines -

Code:
        [Invoke]
        public void CreateUser(string username, string password, string email, string passwordQuestion, string passwordAnswer)
        {
            MembershipCreateStatus status;
            UserInformation createdUser = provider.CreateUser(username, password, email, passwordQuestion, passwordAnswer, true, null, out status) as UserInformation;

            if (status != MembershipCreateStatus.Success)
                throw new DomainException(status.ToString());
        }
Please note that there is a 'BASIC' record in the table 'account_types'.

Thanks for your help in advance.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Provider error by CreateUser dbardelt BOOK: Silverlight 4 Problem - Design - Solution 4 June 6th, 2011 08:21 AM
Chap 15 creating login and signup pages Onypips BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 March 24th, 2011 12:16 PM
Remote Connection Error: Named Pipes Provider error hbansal ASP.NET 2.0 Basics 5 April 12th, 2009 09:51 AM
Failed to get link in e-mail on signup Ajoy BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 15 August 26th, 2007 02:22 PM
Provider Error Getting Me Upset arimakidd Classic ASP Databases 1 September 7th, 2005 10:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.