Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how do you stop   "Run Time Error has occurred" popup from appearing?

Posted on 2009-07-16
3
Medium Priority
?
300 Views
Last Modified: 2012-05-07
expert: When I go to select an item from a pull down list in web page I keep getting popup with a Yes and No button and message that reads: "Run Time Error has occurred"  Line xxx Error: Object doesn't support this property or method.  If I clicked "Yes" button I am then directed to a window that ask me to select a debugger . The debugger then points me to a javascript code "onChange="javascript: getABC(document.getElementById ........). and another popup message appears" Microsoft JSScript runtime error: Object doesn't support this property or method.  No one other appears to be getting this error but me? What could be causing this error in my browser?
0
Comment
Question by:tcmmaxt
3 Comments
 
LVL 8

Accepted Solution

by:
vsudip earned 800 total points
ID: 24870770
here u go..
In IE
Tools>Internet Options>Advanced
and, under the 'browsing' tab, check the status of 'Disable script debugging' and 'Display a notification about every script error'?
0
 
LVL 29

Assisted Solution

by:Göran Andersson
Göran Andersson earned 800 total points
ID: 24870925
The default setting for most browsers is not to display Javascript errors in a popup.

In Internet Explorer they are displayed as an error message in the status bar. In Firefox you need to open the Error Console to see the error messages.

You can disable the popup in your browser:

Tools > Internet Options > Advanced > uncheck "Display a notification about every script error."

(Or open Internet Options from the control panel. Some version of IE has a checkbox for this directly in the error popup.)

It's hard to say exactly what's causing the error, as you don't show the entire code line. Either the script is using something that the settings in your browser disallow, or there is just an error in the code and everyone gets the error, but they don't notice as the don't have the error popup enabled.
0
 
LVL 82

Assisted Solution

by:hielo
hielo earned 400 total points
ID: 24871008
>>No one other appears to be getting this error but me?
If everyone is looking at the same page, then every one is getting the same error you are. The only difference is that it is hidden/silent for everyone else.

>>What could be causing this error in my browser?
You need to post the line of code that is causing the error. As the developer, it is to your advantage to have that popup since it is annoying, but at the same time it "alerts" YOU that there is something wrong with the page.

>>Object doesn't support this property or method.
Sounds like a typo for a function/method - ex:
document.getElementByID("...") //javascript is case sensitive, ID should be Id


OR possibly you are trying to dereference an object that does not exist - ex:
document.getElementById("Username")// but maybe there in no element with id="Username"
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question