YAFLogo

hismightiness
3 years ago
I just upgraded YAF to 2.31.66 and now when I try to go to view the configuration views, I get the following two exceptions.

DNN Platform: 9.5.0
DNN YAF.NET: 2.31.66

DotNetNuke.Framework.PageBase - An error has occurred while loading page.
Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'System.Dynamic.ExpandoObject' does not contain a definition for 'VersionDate'
at CallSite.Target(Closure , CallSite , Object )
at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
at YAF.Pages.Admin.admin.ShowUpgradeMessage()
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


DotNetNuke.Services.Exceptions.Exceptions - ~/Default.aspx?tabid=172&error=%27System.Dynamic.ExpandoObject%27+does+not+contain+a+definition+for+%27VersionDate%27&content=0
Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'System.Dynamic.ExpandoObject' does not contain a definition for 'VersionDate'
at CallSite.Target(Closure , CallSite , Object )
at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
at YAF.Pages.Admin.admin.ShowUpgradeMessage()
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Will Strohl
CEO & Founder, Upendo Ventures
UpendoVentures.com 
Sponsor

hismightiness
3 years ago
I also just found this exception in the YAF event log table. The DLL it's complaining about is not in the install package though.

System.IO.FileNotFoundException: Could not load file or assembly 'System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at System.SpanHelpers.SequenceEqual(Byte& first, Byte& second, NUInt length)
at System.MemoryExtensions.Equals(ReadOnlySpan`1 span, ReadOnlySpan`1 other, StringComparison comparisonType)
at ServiceStack.Text.Json.JsonTypeSerializer.EatValue(ReadOnlySpan`1 value, Int32& i) in C:\YAFNET\yafsrc\ServiceStack\ServiceStack.Text\Json\JsonTypeSerializer.cs:line 732
at ServiceStack.Text.Common.DeserializeDictionary`1.ParseJsonObject(ReadOnlySpan`1 value) in C:\YAFNET\yafsrc\ServiceStack\ServiceStack.Text\Common\DeserializeDictionary.cs:line 124
at ServiceStack.Text.Common.DeserializeListWithElements`2.ParseGenericList(ReadOnlySpan`1 value, Type createListType, ParseStringSpanDelegate parseFn) in C:\YAFNET\yafsrc\ServiceStack\ServiceStack.Text\Common\DeserializeListWithElements.cs:line 194
at ServiceStack.Text.Common.DeserializeList`2.<>c__DisplayClass7_0.b__0(ReadOnlySpan`1 value) in C:\YAFNET\yafsrc\ServiceStack\ServiceStack.Text\Common\DeserializeListWithElements.cs:line 284
at ServiceStack.Text.Json.JsonReader`1.Parse(ReadOnlySpan`1 value) in C:\YAFNET\yafsrc\ServiceStack\ServiceStack.Text\Json\JsonReader.Generic.cs:line 110
at ServiceStack.Text.Json.JsonReader`1.Parse(String value) in C:\YAFNET\yafsrc\ServiceStack\ServiceStack.Text\Json\JsonReader.Generic.cs:line 83
at ServiceStack.Text.JsonSerializer.DeserializeFromString[T](String value) in C:\YAFNET\yafsrc\ServiceStack\ServiceStack.Text\JsonSerializer.cs:line 45
at ServiceStack.DynamicJson.YieldMember(String name, Object& result) in C:\YAFNET\yafsrc\ServiceStack\ServiceStack.Text\Pcl.Dynamic.cs:line 146
at CallSite.Target(Closure , CallSite , Object )
at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
at YAF.Core.Services.LatestInformation.GetLatestVersion()
Will Strohl
CEO & Founder, Upendo Ventures
UpendoVentures.com 
hismightiness
3 years ago
Originally Posted by: hismightiness 

Could not load file or assembly 'System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.



This DLL version doesn't appear to exist either...

https://www.nuget.org/packages/System.Numerics.Vectors/ 
Will Strohl
CEO & Founder, Upendo Ventures
UpendoVentures.com 
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
3 years ago
Originally Posted by: hismightiness 

Originally Posted by: hismightiness 

Could not load file or assembly 'System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.



This DLL version doesn't appear to exist either...

https://www.nuget.org/packages/System.Numerics.Vectors/ 



Looks like i forgot to include in in the installer. Will be fixed with 2.31.07
hismightiness
3 years ago
Great! Thanks for the quick reply. Do you know if that will resolve the other exception I'm seeing and reported in the original post as well?
Will Strohl
CEO & Founder, Upendo Ventures
UpendoVentures.com 
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
3 years ago
Originally Posted by: hismightiness 

Great! Thanks for the quick reply. Do you know if that will resolve the other exception I'm seeing and reported in the original post as well?



Yes, it will both are the same issue. New release on Sunday
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button