home recent topics recent posts search register faq   AspNetForum v.4.8.5.0

Jitbit Software :: Forum

user:
psw:
| lost password
Home » AspNetForum - ASP.NET forum software » Null Reference Exception Messages in this topic - RSS
9/29/2008 6:16:37 PM
abonslater
Posts 1
Hello, I am trying to implement single sign on using the forum software. I've passed the username and userid values to the session variables. When I login through my website, and go to the forum, I receive a null reference exception in the master page page_load event. I have the exact code as it was shipped, nothing commented out. What could be causing this issue?

---------------------------------------------------------------
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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
aspnetforum.AspNetForumMaster.Page_Load(Object sender, EventArgs e) +858
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
10/6/2008 1:43:41 PM
jitbit
jitbit
Posts 712
make sure you have assigned both Session["aspnetforumUserID"] and Session["aspnetforumUserName"] ?
pages: 1
|

Home » AspNetForum - ASP.NET forum software » Null Reference Exception