Since we installed .NET 2.0 patches, we've been receiving the error listed below. This error happens after an application pool recycle. It takes 2 or 3 recycles sometimes to get our site to recover. Othertimes it is just random. Our site runs on a web-farm and the content is on a NAS server. I thought this might have something to do with it, however I copied the content to a stand-alone machine and experienced the same error. Anyone else experiencing this issue? PS: I'm running version 2.4.5.0. Any help or assistance in resolving this is appreciated.
Thanks,
Steve Schofield
steve@orcsweb.comServer 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.Exception: Object reference not set to an instance of an object.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
[Exception: Object reference not set to an instance of an object.]
bk.Invoke(Int32 n1, Int32 n2, Object arg1, Object arg2, Object arg3) +128
df..ctor(Control A_0, Type A_1) +61
AspxLab.WebControls.BaseMenu..ctor(Boolean slideMenu) +117
AspxLab.WebControls.BaseMenu..ctor() +7
ASP.masterpage_master.__BuildControlBaseMenu1() +44
ASP.masterpage_master.__BuildControlform1() +447
ASP.masterpage_master.__BuildControlTree(masterpage_master __ctrl) +141
ASP.masterpage_master.FrameworkInitialize() +45
System.Web.UI.UserControl.InitializeAsUserControlInternal() +31
System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +2025712
System.Web.UI.Page.get_Master() +48
System.Web.UI.Page.ApplyMasterPage() +18
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +543
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832