What Is a Runtime Error?
A Runtime Error is a general term for any error that takes place while a program is executing (starting up). An easy way to remember this is that all runtime errors occur at the time that you run a program. Errors that occur while a program is in use, on the other hand, after it’s already been running (post-runtime, as it were) are called syntax errors or compile-time errors – and will be mentioned no further in this article.
Runtime errors can occur when you’re trying to run familiar programs you’ve run plenty of times with no trouble at all: programs like Internet Explorer, Microsoft Outlook Express, and more. The good thing about runtime errors is that they’re relatively easy to identify and fix.
What Causes Runtime Errors?
As you will soon see, runtime errors can be caused by any number of reasons. Most of them, however, break down into the following four basic categories:
1. Conflict with another program running – oftentimes this occurs when a TSR (Terminate and Stay Resident Program) is running in the background. This is any program that stays running in memory but doesn’t do anything until a trigger, like a keystroke, occurs (for example: add-ons, plug-ins, even a screensaver).
2. Software issues – a problem with the actual program (such as a bug) which then must be addressed with the developer directly.
3. Memory issues – system resources are always limited, and having too many programs open at once or simply not enough resources in your system to support certain programs will cause them not to run.
4. A computer Virus – in which case a good anti-virus program should take care of the problem, a good Firewall helping to maintain PC security once reestablished.
But it really could be anything. Then again, it could be hardware failure or even operator error. The only way to really know is to identify the type of runtime error you’re dealing with.
Types of Runtime Errors
When you receive a runtime error, you will ordinarily see it printed with a number following it. That number is a code for a certain type of runtime error. For example:
• Runtime Error 7: Out of Memory – means that the computer does not have enough memory resources to meet the program’s system requirements;
• Runtime Error 11: Division by Zero – means that there is a fundamental problem with a math equation in the program;
• Runtime Error 48: Error in Loading DLL – means there is a problem with one of more shared DLL files, probably caused by a faulty or incomplete installation or un-installation;
• Runtime Error 53: File Not Found – means exactly what it looks like, a file the program requires in order to run cannot be found.
You can find ample resources on the web listing details about each runtime error and the quickest and easiest ways to fix it by searching for it under: “runtime error NUMERICALCODE”.