Server Error in '/' Application.

Value cannot be null.
Parameter name: source

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.ArgumentNullException: Value cannot be null.
Parameter name: source

Source Error:


Line 95:         If bMetatags = True Then
Line 96:             og_Description.Attributes.Add("property", "og:description")
Line 97:             og_Description.Content = model.PageItems.Where(Function(x) x.sItem = "description").FirstOrDefault.sContent
Line 98:             Mij.Header.Controls.Add(og_Description)
Line 99: 

Source File: D:\internet\tvosje\App_Code\clsPageItems.vb    Line: 97

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: source]
   System.Linq.Enumerable.Where(IEnumerable`1 source, Func`2 predicate) +6295794
   clsPageItems.sPI2(Page Mij, String sCode, Masterdata model, Boolean bPage, Boolean bMaster, Boolean bMetatags) in D:\internet\tvosje\App_Code\clsPageItems.vb:97
   Bevestiging.Page_Load(Object sender, EventArgs e) in D:\internet\tvosje\Bevestiging.aspx.vb:29
   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.4465.0