Previous | Table of Contents | Next |
Part of the job of power users and system administrators is troubleshooting failed systems and application errors. When a system doesnt work properly and you ask the user what he or she did to cause the problem, you often get the reply, I didnt do anything. It just stopped working. Of course, you and I know better, because a working system just doesnt stop working for no reason. Often, the cause of the problem is a version conflict with a dynamic link library. This usually occurs when a user installs a program with an outdated file. Or, perhaps, the user installed a system component from the original setup media on a computer with a service pack installed and then didnt update the system by reinstalling the service pack. In either case, it is up to you to figure out where the problem is and how to fix it.
The first thing you need to do is isolate the problem. Generally, if it is a system-related problem, you can find help in the system event log. Just bring up the Event Viewer, and examine the system log for service startup or failure messages. For an application, a message usually appears when you try and execute the application. These messages usually tell you where the problem resides, but not always. Sometimes it requires a bit of sleuthing on your part. This is where determining the version number of an executable or dynamic link library comes in handy. To find out a version number, just execute the following steps.
Figure 11.2 Examining the general properties of an application.
Figure 11.3 Determining the version of an application.
Once you have located the problem you have two choiceseither copy versions of the file from the known good system to replace the outdated version or reinstall the application. I normally just copy the relevant files, unless there are too many files to examine and copy (in which case, I just reinstall and get it over with). The only time a reinstall might not work is when the file version is greater than the replacement file. Usually, this is caused by installing beta software on a computer. Should this occur, you will need to delete or rename the offending file(s) before you can reinstall the application.
In this chapter, we examined the Windows NT directory structure. Hopefully, this information answers your questions about where various application and system files are located and aids you in your day-to-day activities. We also examined how to determine a files basic property and version information to help resolve any version conflicts. While version conflicts do not occur every day, it is helpful to know how to resolve them when they arise.
Previous | Table of Contents | Next |