This may be a configuration issue for me. I think I have everthing set up correctly, but I keep getting errors when I try to return an item that has been sold... here is the error. I do not have a clue where to start.
Code:
<H2>[i]Type 'BVSoftware.Bvc5.Core.Utilities.DirtyTrackableCollection`1[[BVSoftware.Bvc5.Core.Orders.LineItemInput, BVSoftware.Bvc5.Core, Version=5.3.2.20, Culture=neutral, PublicKeyToken=null]]' in Assembly 'BVSoftware.Bvc5.Core, Version=5.3.2.20, Culture=neutral, PublicKeyToken=null' is not marked as serializable.[/i] </H2>[color=#ffffcc>
[tr ][td ]<CODE>An]</B>[b][/b]location of the exception can be identified using the exception stack trace below.
[/td][/tr]</TABLE>
[1]<B>Version Information:[/1] Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832 <!--
[SerializationException]: Type 'BVSoftware.Bvc5.Core.Utilities.DirtyTrackableCollection`1[[BVSoftware.Bvc5.Core.Orders.LineItemInput, BVSoftware.Bvc5.Core, Version=5.3.2.20, Culture=neutral, PublicKeyToken=null]]' in Assembly 'BVSoftware.Bvc5.Core, Version=5.3.2.20, Culture=neutral, PublicKeyToken=null' is not marked as serializable.
at System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type)
at System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context)
at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo()
at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter)
at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter)
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph)
at System.Web.UI.ObjectStateFormatter.SerializeValue(SerializerBinaryWriter writer, Object value)
[ArgumentException]: Error serializing value 'BVSoftware.Bvc5.Core.Orders.Order' of type 'BVSoftware.Bvc5.Core.Orders.Order.'
at System.Web.UI.ObjectStateFormatter.SerializeValue(SerializerBinaryWriter writer, Object value)
at System.Web.UI.ObjectStateFormatter.Serialize(Stream outputStream, Object stateGraph)
at System.Web.UI.ObjectStateFormatter.Serialize(Object stateGraph)
at System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Serialize(Object state)
at System.Web.UI.Util.SerializeWithAssert(IStateFormatter formatter, Object stateGraph)
at System.Web.UI.HiddenFieldPageStatePersister.Save()
at System.Web.UI.Page.SavePageStateToPersistenceMedium(Object state)
at System.Web.UI.Page.SaveAllState()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
[HttpUnhandledException]: Exception of type 'System.Web.HttpUnhandledException' was thrown.
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.rma_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
-->
[/code]