Hi folks,
My application print this bug above but I have no idea what is this error, someone can to help me please? below all the error:
Server Error in '/Teste_Nop' Application.
Type 'NopSolutions.NopCommerce.BusinessLogic.Products.Specs.ProductSpecificationAttribute' in Assembly 'Nop.BusinessLogic, Version=1.9.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 'NopSolutions.NopCommerce.BusinessLogic.Products.Specs.ProductSpecificationAttribute' in Assembly 'Nop.BusinessLogic, Version=1.9.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 'NopSolutions.NopCommerce.BusinessLogic.Products.Specs.ProductSpecificationAttribute' in Assembly 'Nop.BusinessLogic, Version=1.9.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.]
System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type) +12472271
System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context) +361
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo() +413
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, SerializationBinder binder) +308
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, SerializationBinder binder) +257
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteArray(WriteObjectInfo objectInfo, NameInfo memberNameInfo, WriteObjectInfo memberObjectInfo) +269
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo) +534
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) +1016
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck) +319
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph) +17
System.Web.UI.ObjectStateFormatter.SerializeValue(SerializerBinaryWriter writer, Object value) +3406
[ArgumentException: Error serializing value 'System.Data.Entity.DynamicProxies. ProductVariant_ AB384AE0FE42671B733AB455697B99B7552AF567EA602EFE1BD79C76D0DDDCFB' of type 'System.Data.Entity.DynamicProxies.ProductVariant _AB384AE0FE42671B733AB455697B99B7552AF567EA602EFE1BD79C76D0DDDCFB.']
System.Web.UI.ObjectStateFormatter.SerializeValue(SerializerBinaryWriter writer, Object value) +3949
System.Web.UI.ObjectStateFormatter.Serialize(Object stateGraph) +68
System.Web.UI.Util.SerializeWithAssert(IStateFormatter formatter, Object stateGraph) +60
System.Web.UI.HiddenFieldPageStatePersister.Save() +151
System.Web.UI.Page.SaveAllState() +1179
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4756
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225