Server Error in '/' 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 85:             IpInfo.insertAccess(-1, "****** ERR Product.cs " + ex.Message + " - " + ex.StackTrace);
Line 86:             IpInfo.insertAccess(-1, "****** ERR link: " + HttpContext.Current.Request.Url.AbsoluteUri);
Line 87:             throw ex;
Line 88:         }
Line 89:     }

Source File: w:\domains\www.sontek.sk\public\www_root\Pages\Produkt.aspx.cs    Line: 87

Stack Trace:


[InvalidOperationException: Sequence contains no elements]
   redesign_Produkt.Page_Load(Object sender, EventArgs e) in w:\domains\www.sontek.sk\public\www_root\Pages\Produkt.aspx.cs:87
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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