473,657 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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$EventHandle rList$getHandle r(id) {
/// <summary locid="M:J#Sys. EventHandlerLis t.getHandler" />
/// <param name="id" type="String"></param>
/// <returns type="Function" ></returns>
var e = Function._valid ateParams(argum ents, [
{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 1812
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$EventHandle rList$getHandle r(id) {
* * * * /// <summary locid="M:J#Sys. EventHandlerLis t.getHandler"/>
* * * * /// <param name="id" type="String"></param>
* * * * /// <returns type="Function" ></returns>
* * * * var e = Function._valid ateParams(argum ents, [
* * * * * * {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
4002
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 public string AcceptArray(object parameters)
8
4827
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 javascript: <script language="javascript"> var sessionServer = "<%#jsTestServer%>"; alert(sessionServer); </script>
13
1884
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
4273
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()). However, I need to print to the server's printer. I need to print the fully rendered .aspx page from the codebehind .aspx.cs page to the server's printer. I've tried using SHDocVw.InternetExplorer and SHDocVw.WebBrowser but I just can't seem...
5
10066
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 page). Is there an easy way to do this or do I need to stream the html into my application and parse unwanted header/footer info before rendering it within the application page (as a literal control, i imagine) Has anyone done this or seen any...
2
12353
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 users need not enter values in all the controls. they can leave the textbox blank, and select values from one drop down, or any other combinations. I am trying to pass values with the help of session variables. But I have multiple if else...
15
3709
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 section is not working and being recognized since it keeps giving me: "Microsoft JScript runtime (0x800A01B0) File name or class name not found during Automation operation" and am suspecting that this jscript.dll file is a necessary file...
2
1993
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 not render at all. The code does step through, and the control is added - I believe it might be being added to late in the page lifecycle to get rendered. I can't seem to find any way to tell .NET to render that control, however. ...
3
8642
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 inside the folder "menu_script". The following is the code in this file. var menuOffsetTop=menuOffsetLeft=submenuOffsetTop=submenuOffsetLeft=submenuOffsetRight=0; var Doc=this.document;var standards=Doc.createElement&&Doc.createTextNode?1:0;...
0
8411
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8838
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8739
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7351
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6176
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5638
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.