I get to figure 18-6 and then get the following error on submitting the users info:
"An error was encountered. Please return to the previous page and try again.
The following message may help in diagnosing the problem: Exception has been thrown by the target of an invocation. at System.RuntimeMethodHandle._InvokeMethodFast(..."
I've cut out the rest of the error message (the full message from the event log is below)
I've tried this on 3 different systems here, 2 winxp and one server 2003
From the event log (editing out personal info)
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 6/30/2006 12:47:41 PM
Event time (UTC): 6/30/2006 4:47:41 PM
Event ID: d1da485b2905476bb8be0198018c866d
Event sequence: 230
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: c8e2c347-1-127961595097183403
Trust level: Full
Application Virtual Path: /asp.netwebadminfiles
Application Path: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\asp. netwebadminfiles\
Machine name: XP
Process information:
Process ID: 3608
Process name: WebDev.WebServer.EXE
Account name: DOMAIN\user
Exception information:
Exception type: TargetInvocationException
Exception message: Exception has been thrown by the target of an invocation.
Request information:
Request URL:
http://localhost:1385/asp.netwebadmi...rd/wizard.aspx
Request path: /asp.netwebadminfiles/security/wizard/wizard.aspx
User host address: 127.0.0.1
User: DOMAIN\user
Is authenticated: True
Authentication Type: NTLM
Thread account name: DOMAIN\user
Thread information:
Thread ID: 8
Thread account name: DOMAIN\user
Is impersonating: False
Stack trace: at System.RuntimeMethodHandle._InvokeMethodFast(Objec t target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Web.Administration.WebAdminMembershipProvid er.CallWebAdminMembershipProviderHelperMethodOutPa rams(String methodName, Object[] parameters, Type[] paramTypes)
at System.Web.Administration.WebAdminMembershipProvid er.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus& status)
at System.Web.UI.WebControls.CreateUserWizard.Attempt CreateUser()
at System.Web.UI.WebControls.CreateUserWizard.OnNextB uttonClick(WizardNavigationEventArgs e)
at System.Web.UI.WebControls.Wizard.OnBubbleEvent(Obj ect source, EventArgs e)
at System.Web.UI.WebControls.CreateUserWizard.OnBubbl eEvent(Object source, EventArgs e)
at System.Web.UI.WebControls.Wizard.WizardChildTable. OnBubbleEvent(Object source, EventArgs args)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at System.Web.UI.WebControls.Button.OnCommand(Command EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)