Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Session State
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01256192
Message ID:
01257577
Views:
18
Fred,

>The documentation mentions that you should turn off Session State to improve performance. On pages that are not using security, I have tried that with the following error:
>
>[NullReferenceException: Object reference not set to an instance of an object.]
> OakLeaf.MM.Main.Web.UI.mmBaseWebPage.OnLoad(EventArgs e) +257
> System.Web.UI.Control.LoadRecursive() +47
> System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
>
>Am I missing something?

Are you using localization on your web application? I recommend setting a breakpoing in mmBaseWebPage and seeing where it's hitting the exception.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform