none
Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

    Question

  • This is just the server and not my PC correct?

     

    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 248:        Timezone.Items.FindByValue(CSContext.Current.User.Profile.Timezone.ToString()).Selected = true;
    Line 249:
    Line 250:        DateFormat.Items.FindByValue(CSContext.Current.User.Profile.DateFormat.ToString()).Selected = true;
    Line 251:
    Line 252:

    Source File: d:\data\www.slimfast.com\public_html\Themes\hawaii\User\edituser.aspx.cs    Line: 250

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       EditUser.DisplayGroupOptions() in d:\data\www.slimfast.com\public_html\Themes\hawaii\User\edituser.aspx.cs:250
       EditUser.DisplayTabscontent() in d:\data\www.slimfast.com\public_html\Themes\hawaii\User\edituser.aspx.cs:802
       EditUser.Page_Load(Object sender, EventArgs e) in d:\data\www.slimfast.com\public_html\Themes\hawaii\User\edituser.aspx.cs:69
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +50
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
    Wednesday, May 27, 2009 12:07 PM

All replies

  • It is an error in the page and yes the error page is coming from the server.

    How are you trying to work on / view the page?
    I find this file based reference interesting:
    DisplayTabscontent() in d:\data\www.slimfast.com\public_html\Themes\hawaii\User\edituser.aspx.cs:802


    FrontPage MVP
    Wednesday, May 27, 2009 12:26 PM
  • Did you create an instance of the DateFormat object on the page?

    DateFormat df = new DateFormat
    Wednesday, May 27, 2009 10:14 PM