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 158:
Line 159:            ' Imposto i campi hidden
Line 160:            Me.Hidden_Brand.Value = Marchio.Brand_Code
Line 161:
Line 162:            ' Imposto i link

Source File: C:\Domains\Dacom\www\Catalog\Search_Item.aspx.vb    Line: 160

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Catalog_Search_Item.Load_Search() in C:\Domains\Dacom\www\Catalog\Search_Item.aspx.vb:160
   Catalog_Search_Item.Page_Load(Object sender, EventArgs e) in C:\Domains\Dacom\www\Catalog\Search_Item.aspx.vb:45
   System.Web.UI.Control.OnLoad(EventArgs e) +105
   System.Web.UI.Control.LoadRecursive() +67
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3784


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