473,385 Members | 1,355 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

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.
Jun 27 '08 #1
1 1803
On Jun 9, 9:48*pm, "Cirene" <cir...@nowhere.comwrote:
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 bringsme
to a ScriptResource.axd file. *I didn't create this file. *Here is theline
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.
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
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jon Maz | last post by:
Hi, I am trying to pass an array from an asp page (JScript) to a dotnet web service using the SOAP Toolkit 3.0. This is still at the Hello World stage, as you can see: WEB SERVICE METHOD ...
8
by: Jade | last post by:
I saw some web page saying I could do it this way in javascript: var iNumber = <%#publicvarname publicpropertyname %> but it doesn't seem to work. I have this piece of code here in...
13
by: Larry | last post by:
Hi I have asp.net programs. I used a very simple data transfer method by using URLs ˇ°First.aspxˇ± contents a line to send data to the ˇ°second.aspxˇ± page, for
1
by: Robin Dindayal | last post by:
Does anyone know how I can print a fully rendered .aspx to the server's printer? I know that, if I wanted to print to the client's printer it would be easy (ie. use javascript's window.print()). ...
5
by: Earl Teigrob | last post by:
I am creating an application where I would like to give web designers the ablity to create a static html page and dyanamically load it into my application(exactly like loading a user control into a...
2
by: macyp | last post by:
I have to pass values from one aspx page to another. The controls I have in the first page are: a textbox, 3 drop down lists, and 2 check boxes, and a submit button. It is a search page, and the...
15
by: zz12 | last post by:
Hello, would anyone be able to confirm that 'jscript.dll' is a necessary file for an .asp page on IIS 5.0 to use the <script language="JavaScipt" runat="SERVER"code? It looks like the code in this...
2
crabpot8
by: crabpot8 | last post by:
I am working on a message system that will let out programmers easily output a message to any user. It works fine, unless the message is requested inside of a page_load on an aspx page. Then, it does...
3
by: suganya | last post by:
Hi Some professionals already has developed the project using menu. In my company, they have given me task to clear the error in that. It is a script file named as "menubarAPI4.js" which is kept...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.