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

Article translations Article translations
Article ID: 910813 - View products that this article applies to.
Expand all | Collapse all

On This Page

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

Cause

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

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:
http://www.microsoft.com/downloads/details.aspx?FamilyId=2DA43D38-DB71-4C1B-BC6A-9B6652CD92A3&displaylang=en
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
    Collapse this imageExpand this image
    the Start button
    , 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, CDDrive represents 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, Drive represents 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, CDDrive represents 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.

More information

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

Properties

Article ID: 910813 - Last Review: October 2, 2012 - Revision: 12.0
Applies to
  • Microsoft Flight Simulator X Deluxe
  • Microsoft Flight Simulator X Standard
  • Microsoft Flight Simulator X Acceleration Expansion Pack
  • Microsoft Flight Simulator X Service Pack 1
  • Microsoft Age of Empires III
  • Microsoft Age of Empires III : The WarChiefs
  • Microsoft Age of Empires III: The Asian Dynasties
  • Microsoft Dungeon Siege II
  • Fable: The Lost Chapters PC
  • Microsoft Gears of War (PC)
  • Microsoft Halo 2 for Windows Vista
  • Microsoft Shadowrun (PC)
  • Microsoft Viva Pinata (PC)
  • Microsoft Zoo Tycoon 2
  • Microsoft Zoo Tycoon 2: African Adventure
  • Microsoft Zoo Tycoon 2: Dino Danger
  • Microsoft Zoo Tycoon 2: Endangered Species
  • Microsoft Zoo Tycoon 2: Marine Mania
  • Microsoft Zoo Tycoon 2: Ultimate Collection
  • Microsoft Fable III for PC
Keywords: 
dftsdahomeportal kberrmsg kbsetup kbtshoot KB910813

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com