Server Error in '/' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 106:                ' e non esiste un cookie
Line 107:                ' l'unica cosa che si può fare è utilizzare la lingua del browser
Line 108:                Dim language_browser As String = Request.UserLanguages(0)
Line 109:                Select Case Left(language_browser, 2)
Line 110:                    Case "uk"

Source File: D:\InetPub\vhosts\barcarea-1806.package\mynetapps.com\wwwroot\MasterPages\Site.master.vb    Line: 108

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Site.Page_Load(Object sender, EventArgs e) in D:\InetPub\vhosts\barcarea-1806.package\mynetapps.com\wwwroot\MasterPages\Site.master.vb:108
   System.Web.UI.Control.OnLoad(EventArgs e) +79
   System.Web.UI.Control.LoadRecursive() +130
   System.Web.UI.Control.LoadRecursive() +200
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2853


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