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 20:         End If
Line 21:         Session("activeMenuCat") = "c" & CStr(cat1T(0)("cat1id1"))
Line 22:         Session("activeMenuSubCat") = CStr(cat2T(0)("cat2id1"))
Line 23:         Page.Title = p.metaTittle
Line 24:         Page.MetaDescription = p.metaDesc

Source File: C:\Inetpub\vhosts\trikifun.gr\httpdocs\product.aspx    Line: 22

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.product_aspx.Page_Init(Object sender, EventArgs e) in C:\Inetpub\vhosts\trikifun.gr\httpdocs\product.aspx:22
   System.Web.UI.Control.OnInit(EventArgs e) +105
   System.Web.UI.Page.OnInit(EventArgs e) +15
   System.Web.UI.Control.InitRecursive(Control namingContainer) +165
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1597


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