Tuesday, August 31, 2010

Fixing JavaScript Errors

Different Internet browsers show that there are JavaScript Errors in different ways. In most cases, you will have either a warning sign in the status bar or a window will pop up explaining that there are problems with a script running on the page. If you only get the warning icon, you can find out what’s wrong by clicking on it. This will open the window and give the details of the errors that are encountered. There are times where the error will state that there is a JavaScript error, although most of the time it will just say there is a problem with a script running on the web page.

How to Fix JavaScript Errors

If you get a scripting error message, the first thing you should do is close the window and try to load the web page again. If you get the same error on trying to load the page again, there can be a number of causes.

Internet connections can actually effect how well and if sites will load and run. With dial up or slower broadband and cable connections, more complex web pages may not run. This is due to the time taken for the site to download and the capability of the Internet connection.

Ensure that you have JavaScript installed in your browser and also make sure that it is an up-to-date version. You can find out if your browser runs Java by checking the following:
  • Firefox – Tools > Options > Content, check the box Enable JavaScript
  • Internet Explorer – Tools > Internet Options > Programs, click the Manage add-ons button and scroll down to make sure that JavaScript is enabled.
If you are unsure, visit the Java website and follow the instructions for installing Java for the browser you are using.

Finally, if none of this helps, there may be a problem with the code, and if you did not write the web page, then there is little that you can do, except contact the webmaster for the site and let them know.

Thursday, August 26, 2010

Introduction to JavaScript Errors

At one time or another, it is likely that all Internet users have been confronted with a JavaScript error. While what happens depends on the browser being used and the type of error, what JavaScript errors tell you is that a script on the web page that is being viewed either contains an error or not running properly, but what does this mean?

What is JavaScript?

JavaScript is a type of scripting language used to code the elements of web pages and web sites. There are a number of different scripting languages in use, including HTML, which is the most basic, but JavaScript is one of the most popular languages used for coding advanced web sites. JavaScript is referred to as a client side language, which means that it runs on the client’s browser and not on the server where the web page is stored. In other words, everything that happens due to JavaScript coding happens on your computer.

What Causes JavaScript Errors?

One of the simplest answers to why JavaScript errors occur is because it is a client side language, which in turn means that there is greater scope for things to go wrong when a web page is attempting to load and run. Web pages that are coded using JavaScript are compiled on the Internet browser on the user’s computer. As web sites become more and more advanced, the additional features can make them slower to load and even cause them to stop running altogether. It is when this happens that JavaScript errors begin to appear.

Tuesday, August 24, 2010

Five Tips for Resolving ntdll.dll Errors

As stated previously, there are a number of different ntdll.dll error messages that can be caused by a variety of reasons. Here are five ways to try to resolve ntdll.dll errors when they appear:
  1. If this is the first time you have received an ntdll.dll error, the first thing you should do is shut down and restart your computer. The error message could be a one-time glitch and restarting your computer may correct the problem.
  2. Should you get the error message during or just after installing a new version of Windows, the first thing to do is check the actual disk you used to make the install. If the disk is damaged in some way, scratches for example, the install may have completed successfully, but errors may have been caused during the process. If the disk is fine, try installing again. If you are still having problems, you may have a faulty version of Windows itself, so you should try installing from a different disk.
  3. An ntdll.dll error that appears when you launch or run a particular program is a pretty good indication that there is something wrong with that program. Uninstall and re-install the program. Also, make sure you have the latest version and have installed any updates, etc.
  4. If you get the error on running Internet Explorer, it may be caused by an add-on. To test this theory, try using a competing browser like Firefox to determine if you get the same message. If you don’t, then the problem is specifically with Internet Explorer. You can either disable each add-on and test to see if you get the message or uninstall and re-install a clean version.
  5. Make sure you have installed all the latest versions of Windows service packs. Outdated service packs can conflict with programs and cause ntdll.dll errors. Microsoft has addressed issues that caused ntdll.dll errors previously, and by keeping your Windows updates up-to-date, you can benefit from these fixes.

Wednesday, August 18, 2010

What are ntdll.dll Errors?

ntdll.dll is a Microsoft file that can be found in all versions of its operating systems, from Windows NT and XP all the way through Windows 7. The operating system installed on the computer will determine where the ntdll.dll file is found.

There are a number of different causes of ntdll.dll errors and various error messages can be displayed. In most cases, ntdll.dll errors are due to an unknown error on the hard drive. This error can cause errors with Internet Explorer and Windows Explorer, and can even make the computer crash.

ntdll.dll Error Messages

ntdll.dll error messages may be displayed when a program is starting up, running or shutting down. Also, they can appear during Windows start up or shut down. In some cases, the error message may even appear during an installation of Windows. One of several common error messages appear when an ntdll.dll error has occurred, including:
  • STOP: C0000221 unknown hard error \SystemRoot\System32\ntdll.dll
  • STOP: 0xC0000221 unknown hard error C:\Winnt\System32\Ntdll.dll
  • STOP: C0000221 unknown hard error Path\File_name
  • Crash caused in ntdll.dll!
  • Unhandled exception at [ANY ADDRESS] (NTDLL.DLL)
This is not a list of all of the ntdll.dll error messages that can be received, just an example of some of them.

Causes of ntdll.dll Errors

While there are a wide range of causes of ntdll.dll errors, in most cases, the error is down to the ntdll.dll file itself. Many times errors occur because the actual file has been corrupted in some way. Other common causes of ntdll.dll errors are hardware drivers that have been damaged or corrupted and issues occurring between Windows and other programs. In some rare instances, an ntdll.dll error is a result of malfunctioning hardware.

Friday, August 13, 2010

Repairing Corrupt Exe Files

In the previous post, we looked at how to replace .exe files, or the files needed to run all programs and applications installed on a computer. The other way to correct .exe errors when they occur is to repair the file that is causing the problem.

Repairing an Exe File

If the file that is causing the errors cannot be replaced, then repair is the other option available. There are two different ways that .exe files can be repaired, and one is definitely a lot more difficult and should only be attempted by advanced computer users. Basically, when it comes to repairing files, you can either find the step-by-step instructions on the Internet or the second way is to use pre-made software and tools to make the corrections.

There are many help pages and forums that can be found with a quick search of the Internet. These sites will provide the detailed steps that are required to locate and then address any errors that may be found in the .exe file. Of course, this means that the person making the repairs must have some basic knowledge of programming code and also, be meticulous in following the steps. As stated, this is not easy, but it is doable by many computer users, even those who are not trained programmers.

The other option is to run a registry scan. This will go through the entire drive of the computer and highlight any potential errors or flaws that are causing problems for the computer. It will also find files that are not required and could be removed safely, which could cause problems with other programs as well. Once errors have been found, there are software programs available that will fix any errors found by a registry scan, including .exe files. The scanning part of these programs is often free, but it usually costs to have the error correction part of the program.

Tuesday, August 10, 2010

Fixing Exe Errors by Replacing the Files

Computer files that end in .exe are executable files, which means the file will cause the computer to carry out certain functions based on encoded instructions. In other words, these types of files are what are needed to run the programs, or applications, found on any computer. Of course, because these files are used all the time, it is inevitable that eventually errors will crop up.

If an .exe file stops working properly, you basically have two choices for correcting the issue. You can either:
  1. Replace the file, or
  2. Repair the file.
Replacing an Exe File

Before you can replace the .exe file that is causing the problem, you need to identify which program it belongs to. In some cases, this will be relatively obvious, especially if you get the error when you are trying to run a specific program. In the times when it isn’t so clear, the best bet is to do a search on the Internet for the filename. It is highly likely that you will find out information on the file, including what program it runs.

You may be able to just replace the .exe file with a clean version (either the original or one that has been downloaded), but in most cases, it is likely that you will actually have to uninstall and reinstall the entire program to which the .exe file is related.