in
Welcome to Dndorks Sign in | Join | Help
Comic Blogs Forums PBF Utilities Photos Downloads

Error message

Last post 05-28-2009, 2:36 PM by raccoon. 2 replies.
Sort Posts: Previous Next
  •  05-18-2009, 6:36 PM 809725

    Error message

     While trying to create a shadowrunner

    Server Error in '/' Application.

    Type 'ComicCode.Objects.Vault.VaultCharacter' in Assembly 'ComicCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Runtime.Serialization.SerializationException: Type 'ComicCode.Objects.Vault.VaultCharacter' in Assembly 'ComicCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [SerializationException: Type 'ComicCode.Objects.Vault.VaultCharacter' in Assembly 'ComicCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.]
       System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type) +7731563
       System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context) +258
       System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo() +111
       System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter) +161
       System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter) +51
       System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) +410
       System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck) +134
       System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph) +13
       System.Web.UI.ObjectStateFormatter.SerializeValue(SerializerBinaryWriter writer, Object value) +842
    
    [ArgumentException: Error serializing value 'ComicCode.Objects.Vault.VaultCharacter' of type 'ComicCode.Objects.Vault.VaultCharacter.']
       System.Web.UI.ObjectStateFormatter.SerializeValue(SerializerBinaryWriter writer, Object value) +3319
       System.Web.UI.ObjectStateFormatter.Serialize(Stream outputStream, Object stateGraph) +110
       System.Web.UI.ObjectStateFormatter.Serialize(Object stateGraph) +57
       System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Serialize(Object state) +4
       System.Web.UI.Util.SerializeWithAssert(IStateFormatter formatter, Object stateGraph) +37
       System.Web.UI.HiddenFieldPageStatePersister.Save() +79
       System.Web.UI.Page.SavePageStateToPersistenceMedium(Object state) +105
       System.Web.UI.Page.SaveAllState() +236
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1099
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

    AllenT: The cake is a lie.
    Playing:
    Loki,
    Ghost
    Status:
    Looking to GM: Avatar20, Ghostwalk 3.5, Don't rest your head, litte horrors.
    Looking to play:
    The above+any shadowrun/Good D&D
  •  05-21-2009, 7:01 PM 809800 in reply to 809725

    Re: Error message

    Similar if not identical problem on shadowrun character page, worked fine for a while, suddnely every button links to this
     

    Server Error in '/' Application.

    There is no row at position 0.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.IndexOutOfRangeException: There is no row at position 0.

    Source Error:

    Line 317:        Next
    Line 318:        For i = 0 To Me.Gear.Items.Count - 1
    Line 319:            DSSR.Gear(i).BeginEdit()
    Line 320: txtbox = Me.Gear.Items(i).FindControl("txtname") Line 321:

    Source File: C:\data\websites\WCN\dndorks.com\characters\manageform\Charactersheet3.ascx.vb    Line: 319

    Stack Trace:

    [IndexOutOfRangeException: There is no row at position 0.]
       System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +1549734
       System.Data.RBTree`1.get_Item(Int32 index) +19
       System.Data.DataRowCollection.get_Item(Int32 index) +11
       webcomiccode.GearDataTable.get_Item(Int32 index) in F:\Recent Projects\dndorks\webcomiccode\Datasets\DSShadowRunCharacterSheet.Designer.vb:4742
       characters_manageform_Charactersheet3.GetCharacter() in C:\data\websites\WCN\dndorks.com\characters\manageform\Charactersheet3.ascx.vb:319
       characters_manageform_Charactersheet3.get_Character() in C:\data\websites\WCN\dndorks.com\characters\manageform\Charactersheet3.ascx.vb:12
       characters_managecharacter.SaveChanges() in C:\data\websites\WCN\dndorks.com\characters\managecharacter.aspx.vb:119
       characters_managecharacter.buttonsave1_Click(Object sender, EventArgs e) in C:\data\websites\WCN\dndorks.com\characters\managecharacter.aspx.vb:153
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
  •  05-28-2009, 2:36 PM 809978 in reply to 809800

    Re: Error message

    Another error, deep in the artical archive for those of us who are extreamly board and feel like subjecting ourselfs to ryan's special form of wit (or as close as he can get)

     the KOTOR artical (May have roots somewere else in the system)

    Server Error in '/' Application.

    Conversion from type 'DBNull' to type 'Integer' is not valid.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.InvalidCastException: Conversion from type 'DBNull' to type 'Integer' is not valid.

    Source Error:

    Line 41: 
    Line 42:         Me.littitle.Text = objarticle.Title
    Line 43:         Me.litauthor.Text = "<a href='/cs/user/Profile.aspx?UserID=" & objarticle.AuthorID & "'>" & objarticle.Author & "</a>"
    Line 44:         Me.litpostdate.Text = FormatDateTime(objarticle.DisplayDate, DateFormat.ShortDate)
    Line 45:         Me.litsplashtext.Text = objpage.Intro

    Source File: C:\data\websites\WCN\dndorks.com\viewarticle.aspx.vb    Line: 43

    Stack Trace:

    [InvalidCastException: Conversion from type 'DBNull' to type 'Integer' is not valid.]
       Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(Object Value) +953
       webcomiccode.ArticleRow.get_AuthorID() in F:\Recent Projects\dndorks\webcomiccode\Datasets\DSGeneric.Designer.vb:3260
    
    [StrongTypingException: The value for column 'AuthorID' in table 'Article' is DBNull.]
       webcomiccode.ArticleRow.get_AuthorID() in F:\Recent Projects\dndorks\webcomiccode\Datasets\DSGeneric.Designer.vb:3262
       viewarticle.Preparepage() in C:\data\websites\WCN\dndorks.com\viewarticle.aspx.vb:43
       viewarticle.Page_Load(Object sender, EventArgs e) in C:\data\websites\WCN\dndorks.com\viewarticle.aspx.vb:24
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +50
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

View as RSS news feed in XML
Powered by Community Server (Personal Edition), by Telligent Systems