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

Tech-Archive recommends: Speed Up your PC by fixing your registry



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[i](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[i](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.


.



Relevant Pages

  • Re: Application crash
    ... exceptions, assertion failures, the simple disappearance of the application, runtime error ... given the option to enter the debugger. ... This is a debug break. ...
    (microsoft.public.win32.programmer.gdi)
  • D3 project converted to D7 behaves strangely
    ... I had an Delphi 3 project with one form, ... The strange thing is that when i get a runtime error, ... The project is compiled with every debug option i can imagine. ... Checked options in Project->Options: ...
    (comp.lang.pascal.delphi.misc)
  • Error: recommending debug
    ... new windows page, with out instructions for the next ... with "Runtime Error has occured. ... Do you wish to Debug?" ... >Do you want to debug using the selected debugger? ...
    (microsoft.public.windowsxp.general)
  • Re: Debug RuntimeError 1004 in Chart
    ... select - Compile Project ... > Debug, it highlighted, in yellow, the offending line of code. ... > The runtime error reappeared but highlighting a different line of code. ...
    (microsoft.public.excel.programming)
  • Runtime Error Has Occurred
    ... When I receive a runtime error: Line:11, Error: "null" is null or not an ... object, once I got to debug it using the only option of Script to debug, I ... Everytime I'm online and ...
    (microsoft.public.windowsxp.configuration_manage)