Solved

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

Posted on 2009-07-16
3
294 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 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

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.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

821 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