You are currently offline, waiting for your internet to reconnect

ACC97: Error Message: MFC42.dll File Is in Use

This article was previously published under Q296248
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
SYMPTOMS
When you attempt to install Snapshot viewer 9.0, you receive the following error message:
MFC42.dll file is in use
CAUSE
This behavior occurs when a program attempts to modify the Mfc42.dll file . It can occur with any program written in Visual C++ that uses the Microsoft Foundation Class Library 4.2.
RESOLUTION
To work around this issue, install Snapshot viewer 8.0 (Snpvw80.exe). You have to first quit all programs that may be using MFC42.dll. To do so, use one of the following methods listed.

Method 1

NOTE: This method applies only to computers running Microsoft Windows NT or Microsoft Windows 2000.
  1. Press CTRL+ALT+DELETE, and then click Task Manager.
  2. Click the Processes tab.
  3. For every item on the list, select the item and then click End Task. This will terminate all programs that use MFC42.dll.NOTE: System-critical processes will not be terminated.

  4. Close the Task Manager, and then install the Snapshot viewer.

Method 2

  1. Restart your computer in MS-DOS mode.
  2. Open the directory where MFC42.dll is located, and then rename the file MFC42.old.
  3. Restart the computer and install the Snapshot viewer.NOTE: This method prevents you from using any program that requires MFC42.dll until the file is replaced when you install the Snapshot viewer.
MORE INFORMATION
Mfc42.dll (Microsoft Foundation Class Library 4.2) is a run-time file that is used by all programs written in Visual C++ currently running on your computer. While a program that uses this file is active, no other program can overwrite this file.
Properties

Article ID: 296248 - Last Review: 01/31/2007 19:29:38 - Revision: 3.2

  • Microsoft Access 97 Standard Edition
  • kbprb KB296248
Feedback