Professional Web Applications Themes

trace enabled, get app. error, doesn't enabled, on runs without error - ASP.NET General

H All, Does anybody can help to solve this problem? When I set in the web.config file <trace enabled="true"/>, I get the following error in one of main web pages: [NullReferenceException: Object reference not set to an instance of an object.] System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) System.Web.UI.Page.ProcessRequestMain() If I set the <trace enabled="false"/>, the application executes normally. I'm using dotnet framework 1.0 on Windows XP prof. Thanks in advance Gabor...

  1. #1

    Default trace enabled, get app. error, doesn't enabled, on runs without error

    H All,

    Does anybody can help to solve this problem?

    When I set in the web.config file <trace enabled="true"/>, I get the
    following error in one of main web pages:

    [NullReferenceException: Object reference not set to an instance of an
    object.]
    System.Web.UI.Control.BuildProfileTree(String parentId, Boolean
    calcViewState)
    System.Web.UI.Page.ProcessRequestMain()

    If I set the <trace enabled="false"/>, the application executes normally.

    I'm using dotnet framework 1.0 on Windows XP prof.

    Thanks in advance

    Gabor



    Gabor Guest

  2. #2

    Default Re: trace enabled, get app. error, doesn't enabled, on runs without error

    Gabor,

    It sounds as if you're missing a "New" statement on that object.

    Sincerely,

    --
    S. Justin Gengo, MCP
    Web Developer

    Free code library at:
    www.aboutfortunate.com

    "Out of chaos comes order."
    Nietzche


    "Gabor" <hu> wrote in message
    news:phx.gbl... 


    S. Guest

  3. #3

    Default Re: trace enabled, get app. error, doesn't enabled, on runs without error

    Thank You for the quick answer, but WICH object?

    From the error message, I can't find where is the suspicious object, and
    more interestingly, the app. executes well, if trace disabled.

    When I debug the application, the default.aspx file form_load event executes
    normally, and the project built without error.

    ??

    Thanks in advance

    Gabor

    "S. Justin Gengo" <com> wrote in message
    news:%phx.gbl... [/ref]
    normally. 
    >
    >[/ref]


    Gabor Guest

  4. #4

    Default Re: trace enabled, get app. error, doesn't enabled, on runs without error

    Hi Gabor,

    I notice that you have provided more detailed information for this issue on
    another post in the microsoft.public.dotnet.framework.aspnet group. I think
    that we should work on this issue on that thread.

    Trace enabling in web config cause app. error

    If you have any concerns, please feel free to let me know.

    Best regards,

    Jacob Yang
    Microsoft Online Partner Support
    <MCSD>
    Get Secure! C www.microsoft.com/security
    This posting is provided "as is" with no warranties and confers no rights.

    Jacob Guest

Similar Threads

  1. Performance Monitor doesn't stay enabled
    By RichardT in forum Coldfusion Server Administration
    Replies: 1
    Last Post: October 10th, 10:49 AM
  2. Replies: 0
    Last Post: April 6th, 10:14 AM
  3. javascript disabled radiobutton doesn't get enabled in asp.net
    By Simon Brown in forum ASP.NET General
    Replies: 1
    Last Post: August 8th, 08:30 AM
  4. Enabled
    By barbapapa in forum Microsoft Access
    Replies: 2
    Last Post: July 12th, 05:41 AM
  5. Replies: 2
    Last Post: July 2nd, 04:32 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139