[Mono-bugs] [Bug 581679] System.InvalidCastException: Cannot cast from source type to destination type.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Aug 12 18:34:23 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=581679
http://bugzilla.novell.com/show_bug.cgi?id=581679#c6
David Broome <dbroome at uvic.ca> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |dbroome at uvic.ca
Resolution|FIXED |
OS/Version|openSUSE 11.2 |RHEL 5
Severity|Normal |Critical
--- Comment #6 from David Broome <dbroome at uvic.ca> 2010-08-12 22:34:20 UTC ---
I have tested this in Mono 2.6.7 and it is still occurring. it occurs when a
second input field in added to a form (via the forms "+" button and happens at
save. I will attach the code for the page.
The application error is:
Cannot cast from source type to destination type.
Description: HTTP 500. Error processing request.
Stack Trace:
System.InvalidCastException: Cannot cast from source type to destination type.
at System.Web.UI.StateBag.LoadViewState (System.Object savedState) [0x00000]
in <filename unknown>:0
at System.Web.UI.Control.LoadViewState (System.Object savedState) [0x00000]
in <filename unknown>:0
at System.Web.UI.Control.LoadViewStateRecursive (System.Object savedState)
[0x00000] in <filename unknown>:0
at System.Web.UI.Control.AddedControl (System.Web.UI.Control control, Int32
index) [0x00000] in <filename unknown>:0
at System.Web.UI.ControlCollection.Add (System.Web.UI.Control child)
[0x00000] in <filename unknown>:0
at Orciid.UserControls.ImageRecordEditor.CreateField (Orciid.Core.Field
field, Int32 instancecount, Orciid.Core.FieldData data, System.Int32&
linecount) [0x00000] in <filename unknown>:0
at Orciid.UserControls.ImageRecordEditor.CreateControlHierarchy (Boolean
useDataSource) [0x00000] in <filename unknown>:0
at Orciid.UserControls.ImageRecordEditor.CreateChildControls () [0x00000] in
<filename unknown>:0
at System.Web.UI.Control.EnsureChildControls () [0x00000] in <filename
unknown>:0
at System.Web.UI.Control.FindControl (System.String id, Int32 pathOffset)
[0x00000] in <filename unknown>:0
at System.Web.UI.Control.FindControl (System.String id, Int32 pathOffset)
[0x00000] in <filename unknown>:0
at System.Web.UI.Control.FindControl (System.String id) [0x00000] in
<filename unknown>:0
at System.Web.UI.Page.FindControl (System.String id, Boolean decode)
[0x00000] in <filename unknown>:0
at System.Web.UI.Page.ProcessPostData
(System.Collections.Specialized.NameValueCollection data, Boolean second)
[0x00000] in <filename unknown>:0
at System.Web.UI.Page.ProcessPostData () [0x00000] in <filename unknown>:0
at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename
unknown>:0
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000] in <filename unknown>:0
Version information: Mono Runtime Version: 2.6.7 (tarball Thu Aug 12 13:53:04
PDT 2010); ASP.NET Version: 1.1.4322.2032
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list