Solved

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

Posted on 2009-07-16
3
296 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 8

Accepted Solution

by:
vsudip earned 200 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 200 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 100 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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
REST call Failing 1 39
Woo-commerce gallery not working properly 12 40
Error just appeared 3 23
custom drop down menu with dependant results 9 14
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

734 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