http://bugzilla.novell.com/show_bug.cgi?id=568593
http://bugzilla.novell.com/show_bug.cgi?id=568593#c0 Summary: CreateUserWizard raises InvalidCastExceptio Classification: Mono Product: Mono: Class Libraries Version: 2.6.x Platform: x86-64 OS/Version: Ubuntu Status: NEW Severity: Normal Priority: P5 - None Component: Sys.Web AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Description of Problem: When creating a user using the CreateUserWizard which is in an LoginView with a custom RoleGroup an InvalidCastException is raised. Steps to reproduce the problem: 1. Create a CreateUserWizardControl inside a view for a custom RoleGroup in a LoginView. 2. Create in the anonymouseview a Loginbox. 3.Login as a person who is in the custom rolegroup. 4.Insert account information. 5.Click next. You see the exception. Actual Results: You see an error page. Expected Results: See the next page of the CreateUserWizard-Control. How often does this happen? Every time. Additional Information: System.InvalidCastException: Cannot cast from source type to destination type. at System.Web.UI.WebControls.MultiView.LoadControlState (System.Object state) [0x00006] in /mono-2-6/mcs/class/System.Web/System.Web.UI.WebControls/MultiView.cs:205 at System.Web.UI.Page.RegisterRequiresControlState (System.Web.UI.Control control) [0x0009c] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Page.cs:2693 at System.Web.UI.WebControls.MultiView.OnInit (System.EventArgs e) [0x00000] in /mono-2-6/mcs/class/System.Web/System.Web.UI.WebControls/MultiView.cs:178 at System.Web.UI.Control.InitRecursive (System.Web.UI.Control namingContainer) [0x000b1] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Control.cs:1591 at System.Web.UI.Control.InitRecursive (System.Web.UI.Control namingContainer) [0x00043] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Control.cs:1578 at System.Web.UI.Control.InitRecursive (System.Web.UI.Control namingContainer) [0x00043] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Control.cs:1578 at System.Web.UI.Control.InitRecursive (System.Web.UI.Control namingContainer) [0x00043] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Control.cs:1578 at System.Web.UI.Control.AddedControl (System.Web.UI.Control control, Int32 index) [0x00055] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Control.cs:648 at System.Web.UI.ControlCollection.Add (System.Web.UI.Control child) [0x0007a] in /mono-2-6/mcs/class/System.Web/System.Web.UI/ControlCollection.cs:113 at System.Web.UI.WebControls.Wizard.CreateControlHierarchy () [0x00243] in /mono-2-6/mcs/class/System.Web/System.Web.UI.WebControls/Wizard.cs:913 at System.Web.UI.WebControls.CreateUserWizard.CreateControlHierarchy () [0x00000] in /mono-2-6/mcs/class/System.Web/System.Web.UI.WebControls/CreateUserWizard.cs:1227 at System.Web.UI.WebControls.Wizard.CreateChildControls () [0x00000] in /mono-2-6/mcs/class/System.Web/System.Web.UI.WebControls/Wizard.cs:850 at System.Web.UI.WebControls.CreateUserWizard.CreateChildControls () [0x00042] in /mono-2-6/mcs/class/System.Web/System.Web.UI.WebControls/CreateUserWizard.cs:1222 at System.Web.UI.Control.EnsureChildControls () [0x00041] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Control.cs:757 at System.Web.UI.WebControls.Wizard.OnInit (System.EventArgs e) [0x00026] in /mono-2-6/mcs/class/System.Web/System.Web.UI.WebControls/Wizard.cs:836 at System.Web.UI.Control.InitRecursive (System.Web.UI.Control namingContainer) [0x000b1] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Control.cs:1591 at System.Web.UI.Control.InitRecursive (System.Web.UI.Control namingContainer) [0x00043] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Control.cs:1578 at System.Web.UI.Control.AddedControl (System.Web.UI.Control control, Int32 index) [0x00055] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Control.cs:648 at System.Web.UI.ControlCollection.Add (System.Web.UI.Control child) [0x0007a] in /mono-2-6/mcs/class/System.Web/System.Web.UI/ControlCollection.cs:113 at System.Web.UI.WebControls.LoginView.CreateChildControls () [0x00100] in /mono-2-6/mcs/class/System.Web/System.Web.UI.WebControls/LoginView.cs:175 at System.Web.UI.Control.EnsureChildControls () [0x00041] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Control.cs:757 at System.Web.UI.Control.FindControl (System.String id, Int32 pathOffset) [0x00000] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Control.cs:863 at System.Web.UI.Control.FindControl (System.String id, Int32 pathOffset) [0x00079] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Control.cs:885 at System.Web.UI.Control.FindControl (System.String id, Int32 pathOffset) [0x00079] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Control.cs:885 at System.Web.UI.Control.FindControl (System.String id, Int32 pathOffset) [0x00079] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Control.cs:885 at System.Web.UI.Control.FindControl (System.String id) [0x00000] in /home/tim_admin/mono/mono-2-6/mcs/class/System.Web/System.Web.UI/Control.cs:852 at System.Web.UI.Page.FindControl (System.String id) [0x00013] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Page.cs:902 at System.Web.UI.Page.FindControl (System.String id, Boolean decode) [0x00000] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Page.cs:911 at System.Web.UI.Page.ProcessPostData (System.Collections.Specialized.NameValueCollection data, Boolean second) [0x000a6] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Page.cs:1288 at System.Web.UI.Page.ProcessPostData () [0x0002b] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Page.cs:1586 at System.Web.UI.Page.InternalProcessRequest () [0x001bf] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Page.cs:1548 at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x0005b] in /mono-2-6/mcs/class/System.Web/System.Web.UI/Page.cs:1367 Version information: Mono Runtime Version: 2.6.1 (/branches/mono-2-6/mono r148916 Mon Dec 28 11:02:52 UTC 2009); ASP.NET Version: 2.0.50727.1433 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
