Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Session State
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01256192
Message ID:
01257577
Vues:
20
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform