ASPX page jscript rt error: null is null or not an object

Discussion in 'ASP .Net' started by Cirene, Jun 9, 2008.

  1. Cirene

    Cirene Guest

    I created an AJAX ASP.NET website. When I run the site in IE, with
    debugging on, I get:
    A runtime error has occurred. Do you wish to Debug?
    Line: 43
    Error: 'null' is null or not an object
    Yes No

    So I click 'Yes' to debug and choose Microsoft Script Editor. It brings me
    to a ScriptResource.axd file. I didn't create this file. Here is the line
    it has trouble with...
    evt(source, args);

    In this function:
    function Sys$EventHandlerList$getHandler(id) {
    /// <summary locid="M:J#Sys.EventHandlerList.getHandler" />
    /// <param name="id" type="String"></param>
    /// <returns type="Function"></returns>
    var e = Function._validateParams(arguments, [
    {name: "id", type: String}
    ]);
    if (e) throw e;
    var evt = this._getEvent(id);
    if (!evt || (evt.length === 0)) return null;
    evt = Array.clone(evt);
    return function(source, args) {
    for (var i = 0, l = evt.length; i < l; i++) {
    evt(source, args);
    }
    };
    }

    Any idea of where I go from here? I didn't even write this code and I
    certainly don't know what it means or what it does.

    Thanks.
     
    Cirene, Jun 9, 2008
    #1
    1. Advertising

  2. On Jun 9, 9:48 pm, "Cirene" <> wrote:
    > I created an AJAX ASP.NET website.  When I run the site in IE, with
    > debugging on, I get:
    > A runtime error has occurred. Do you wish to Debug?
    > Line: 43
    > Error: 'null' is null or not an object
    > Yes      No
    >
    > So I click 'Yes' to debug and choose Microsoft Script Editor.  It brings me
    > to a ScriptResource.axd file.  I didn't create this file.  Here is the line
    > it has trouble with...
    > evt(source, args);
    >
    > In this function:
    >     function Sys$EventHandlerList$getHandler(id) {
    >         /// <summary locid="M:J#Sys.EventHandlerList.getHandler" />
    >         /// <param name="id" type="String"></param>
    >         /// <returns type="Function"></returns>
    >         var e = Function._validateParams(arguments, [
    >             {name: "id", type: String}
    >         ]);
    >         if (e) throw e;
    >         var evt = this._getEvent(id);
    >         if (!evt || (evt.length === 0)) return null;
    >         evt = Array.clone(evt);
    >         return function(source, args) {
    >             for (var i = 0, l = evt.length; i < l; i++) {
    >                 evt(source, args);
    >             }
    >         };
    >     }
    >
    > Any idea of where I go from here?  I didn't even write this code and I
    > certainly don't know what it means or what it does.
    >
    > Thanks.


    it sounds like you might need to check the web.config. Look at the
    following thread (scroll down to httpHandlers config)

    http://forums.asp.net/t/1069032.aspx?PageIndex=1

    Hope this helps
     
    Alexey Smirnov, Jun 9, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jon Maz
    Replies:
    4
    Views:
    1,278
    Jon Maz
    Sep 9, 2004
  2. Maxwell2006
    Replies:
    5
    Views:
    2,405
    Steven Cheng[MSFT]
    Mar 7, 2006
  3. Dan Roberts @ Kent State

    JScript runtime error '800a138f' 'undefined' is null or not an obj

    Dan Roberts @ Kent State, Jun 30, 2005, in forum: ASP General
    Replies:
    6
    Views:
    220
    Mark Schupp
    Jul 6, 2005
  4. John Bentley
    Replies:
    14
    Views:
    360
    Jim Ley
    Feb 5, 2004
  5. VK
    Replies:
    4
    Views:
    357
    Thomas 'PointedEars' Lahn
    Jan 12, 2006
Loading...

Share This Page