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 193:                ' e non esiste un cookie
Line 194:                ' l'unica cosa che si può fare è utilizzare la lingua del browser
Line 195:                Dim language_browser As String = Request.UserLanguages(0)
Line 196:                Select Case Left(language_browser, 2)
Line 197:                    Case "uk"

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

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_mobile.master.vb:195
   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