Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Game Error: "The file d3dx9_xx.DLL was not found"


View products that this article applies to.

Symptoms

When you try to start one of the Microsoft games that are listed in the “Applies to” section, you receive one of the following error messages:
Error message 1
The file d3dx9_25.dll was not found
Error message 2
The file d3dx9_27.dll was not found

↑ Back to the top


Cause

This issue may occur if the Microsoft DirectX file that is mentioned in the error message is corrupted or is not copied correctly.

↑ Back to the top


Resolution

Download and then install the latest version of DirectX

To resolve this problem, download and then install the latest version of DirectX End-User Runtimes Web Installer. To do this, visit the following Microsoft Web site: Note You may receive the following error message during installation:
The software you are installing has not passed Windows Logo testing to verify its compatibility with this version of Windows. (Tell me why this testing is important.)
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
822798 You cannot install some updates or programs
 

Manually copy the file

To resolve this issue, copy the D3dx9_25.dll file or the D3dx9_27.dll file from the disc 1 CD/DVD of the game CD/DVD pack to the corresponding game folder. To do this, follow the appropriate steps for your version of Windows:

Windows 7 or Windows Vista

  1. Insert the disc 1 CD/DVD for your game into the CD/DVD drive of the computer.
  2. Click Start  windows icon , and then click Documents.
  3. Locate and then click Computer.
  4. Locate and then click the CD/DVD drive.
  5. Locate and then click the following folder:
    CDDrive:\ DirectX9
    Note In this path, CDDriverepresents the drive letter of the CD drive.
  6. Double-click Apr2005_d3dx9_25_x86.cab, right-click d3dx9_25.dll, and then click Copy.
    Note Use the Apr2005_d3dx9_25_x64.cab file for the x64-based version of the Windows operating system.
  7. Locate the following folder for your game:
    Drive:\Program Files\Microsoft Games\Game Title
    Note In this path, Driverepresents the drive letter on which the game is installed, and Game Title represents the game that you want to repair.
  8. Right-click the game folder that corresponds to the game that is installed on the computer, and then click Paste.

    Note If you have installed more than one game on the computer, repeat steps 7and 8 for the other games.

Windows XP

  1. Insert the disc 1 CD/DVD for your game into the CD/DVD drive of the computer.
  2. Click Start, point to Programs, point to Accessories, and then click Windows Explorer.
  3. Locate and then click the following folder:
    CDDrive:\ DirectX9
    Note In this path, CDDriverepresents the drive letter of the CD drive.
  4. Double-click Apr2005_d3dx9_25_x86.cab, right-click d3dx9_25.dll, and then click Copy.
    Note Use the Apr2005_d3dx9_25_x64.cab file for the x64-based version of the Microsoft Windows operating system.
  5. Locate the following folder for your game:
    Drive:\Program Files\Microsoft Games\Game Title
    Note In this path, Drive represents the drive letter of the drive on which the game is installed, and Game Title represents the game that you want to repair.
  6. Right-click the game folder that corresponds to the game that is installed on the computer, and then click Paste.

    Note If you have installed more than one game on the computer, repeat steps 5 and 6 for the other games.

↑ Back to the top


Next steps

If you need more help, visit the Microsoft Customer Support Services Web site to find other solutions. This Web site provides the following services:

↑ Back to the top


Keywords: dftsdahomeportal, kbgameshomeportal, kbgamesportal, kberrmsg, kbsetup, kbtshoot, kb

↑ Back to the top

Article Info
Article ID : 910813
Revision : 6
Created on : 8/19/2020
Published on : 8/20/2020
Exists online : False
Views : 192