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 146:protected override void OnPreRender(EventArgs e)
Line 147:{
Line 148:	int searchIdx = this.RuntimeSettings.Order.IndexOf("/*SEARCH*/");      
Line 149:	if (searchIdx > 0)
Line 150:	{          

Source File: c:\inetpub\BarisPortal\Usershop\Schemy\TovarListTakacs.ascx    Line: 148

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.usershop_schemy_tovarlisttakacs_ascx.OnPreRender(EventArgs e) in c:\inetpub\BarisPortal\Usershop\Schemy\TovarListTakacs.ascx:148
   System.Web.UI.Control.PreRenderRecursiveInternal() +80
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842


Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062