Server Error in '/hotelvaleverde' Application.

Sequence contains no elements

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: Sequence contains no elements

Source Error:


Line 617:    </div>
Line 618:
Line 619:    <a id="lnkPopExtras" class="fancySupplements" href='<%$Code: "~/light/extraservices.aspx?HotelID=" & SelectHotelID%>' data-fancybox-type="iframe" runat="server"></a>
Line 620:    <a id="lnkPopOnRequest" class="fancyOnRequest" href='~/light/onrequest.aspx' data-fancybox-type="iframe" runat="server"></a>
Line 621:

Source File: C:\WebServer\eGDS\SecurePT\hotelvaleverde\light\Default.aspx    Line: 619

Stack Trace:


[InvalidOperationException: Sequence contains no elements]
   System.Linq.Enumerable.First(IEnumerable`1 source) +290
   WebFrontEndCorporate._Default3.get_SelectHotelID() +210
   ASP.light_default_aspx.__BuildControllnkPopExtras() in C:\WebServer\eGDS\SecurePT\hotelvaleverde\light\Default.aspx:619
   ASP.light_default_aspx.__BuildControlContent1(Control __ctrl) in C:\WebServer\eGDS\SecurePT\hotelvaleverde\light\Default.aspx:20
   System.Web.UI.MasterPage.InstantiateInContentPlaceHolder(Control contentPlaceHolder, ITemplate template) +103
   ASP.masterpages_light_master.__BuildControlContentPlaceHolder1() in C:\WebServer\eGDS\SecurePT\hotelvaleverde\MasterPages\Light.Master:162
   ASP.masterpages_light_master.__BuildControlform1() in C:\WebServer\eGDS\SecurePT\hotelvaleverde\MasterPages\Light.Master:152
   ASP.masterpages_light_master.__BuildControlMasterBody() in C:\WebServer\eGDS\SecurePT\hotelvaleverde\MasterPages\Light.Master:83
   ASP.masterpages_light_master.__BuildControlTree(masterpages_light_master __ctrl) in C:\WebServer\eGDS\SecurePT\hotelvaleverde\MasterPages\Light.Master:1
   ASP.masterpages_light_master.FrameworkInitialize() +113
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +1179
   System.Web.UI.Page.get_Master() +65
   System.Web.UI.Page.ApplyMasterPage() +18
   System.Web.UI.Page.PerformPreInit() +62
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1110


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