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 10:         If Res.Status = ResultStatus.Success Then
Line 11:             Dim Destination As oDestination = Res.Data
Line 12:             Dim Details = Destination.Details.FirstOrDefault
Line 13: 
Line 14:             bcrumName.InnerHtml = Details.Title

Source File: C:\inetpub\wwwroot\WebSites\WithDataBase\Ntinos Sites\Trip365.gr\Site\App_Site\Destination.aspx.vb    Line: 12

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: source]
   System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source) +4810650
   App_Site_Destination.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\WebSites\WithDataBase\Ntinos Sites\Trip365.gr\Site\App_Site\Destination.aspx.vb:12
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


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