Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

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/download/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  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.

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:

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×