Server Error in '/' Application.

Type 'App.PageContent' is not supported for deserialization of an array.

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.InvalidOperationException: Type 'App.PageContent' is not supported for deserialization of an array.

Source Error:


Line 28:         If rsp.success Then
Line 29:             tagId = rsp.keyId
Line 30:             Dim content As PageContent = jss.Deserialize(Of PageContent)(rsp.data)
Line 31: 
Line 32:             Dim meta As New StringBuilder

Source File: C:\home\site\wwwroot\articles\tag\Default.aspx.vb    Line: 30

Stack Trace:


[InvalidOperationException: Type 'App.PageContent' is not supported for deserialization of an array.]
   System.Web.Script.Serialization.ObjectConverter.ConvertListToObject(IList list, Type type, JavaScriptSerializer serializer, Boolean throwOnError, IList& convertedList) +799323
   System.Web.Script.Serialization.ObjectConverter.ConvertObjectToTypeInternal(Object o, Type type, JavaScriptSerializer serializer, Boolean throwOnError, Object& convertedObject) +155
   System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) +93
   System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(String input) +59
   articles_tag_Default.loadArticles(String url) in C:\home\site\wwwroot\articles\tag\Default.aspx.vb:30
   articles_tag_Default.pageLoad(Object sender, EventArgs e) in C:\home\site\wwwroot\articles\tag\Default.aspx.vb:15
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0