Share via

"d3dx9_42.dll is missing from your computer" - can't run game because

Anonymous
2012-07-31T16:00:51+00:00

I cannot launch Sid Meier's Civilization V. When I try to do so, I receive this message: "The program can't start because d3dx9_42.dll is missing from your computer. Try reinstalling the program to fix this problem." I bought the disc version of the game. I reinstalled it two times, but the same thing continued to happen. Do you know how I can fix this issue?

I asked tech support from 2K games this same question. They responded, "Please send us your DXDiag and MSinfo files". I did. They responded, "d3dx9_42.dll is an error where you need to reinstall DirectX. Please use the following link: http://www.microsoft.com/download/en/details.aspx?DisplayLang=en&id=35" I followed the link and tryed, but failed.  I recieved this message: "An internal error occurred. Please refer to DXError.log and DirectX.log in your windows folder to determine problem." They responded, "We recommend you completely uninstall direct x, then redownload/install it from thefollowinglink: http://www.microsoft.com/download/en/details.aspx?id=35 

If you receive another error message while uninstalling/reinstalling direct x, please contact Microsoft support for further assistance." I looked on the internet to see how to uninstall direct x but there was no way unless you wanted to mess with the operating system. I wanted to contact Microsoft support, but it costs money.

Does anyone know a way to fix this problem without reinstalling direct x? Or is there a simple way to uninstall direct x without messing up your computer?

Windows for home | Previous Windows versions | Gaming

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
  1. Anonymous
    2012-08-01T06:35:23+00:00

    Hi Indignant,

    ·         Which version of DirectX is installed on the system?

    To check that follow the steps mentioned below.

    a.       Click on Start and type dxdiag in the Start search box and press Enter.

    b.      This will give you the information about the DirectX installed on the system.

    **Method 1:**Download the DirectX form the link given below and save it to the desktop and install it in Safe mode with Networking and check whether you are able to install it or not.

    Advanced startup options (including safe mode)

    http://windows.microsoft.com/en-US/windows7/Advanced-startup-options-including-safe-mode


    DirectX End-User Runtimes (June 2010)

    http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=3b170b25-abab-4bc3-ae91-50ceb6d8fa8d


    **Method 2:**Update the drivers for the graphics card form the manufacturer’s website and check whether you are able to play the game.

    Update a driver for hardware that isn't working properly

    http://windows.microsoft.com/en-us/windows7/Update-a-driver-for-hardware-that-isnt-working-properly


    Let us know if this helps.

    200+ people found this answer helpful.
    0 comments No comments

13 additional answers

Sort by: Most helpful
  1. Anonymous
    2012-08-02T05:35:24+00:00

    What it is wanting to do is extract the files before installing them (graphics drivers do the same, but  don't ask, they just put  install files in a folder on your C:\ drive which can be deleted after the drivers have finished installing).

    The package you downloaded has separate files for all the DX versions , but you only need to deal with  the  DXSetup.exe  .

    If you hit the Browse tab it will default to the extraction to the Temp folder, but

    you can make a folder anywhere ( ie - desktop ), put the downloaded file there

    and extract within that folder. This makes it easier to find the  DXSetup.exe  .

    You can delete these files after you install Direct X,  but keep the  package you downloaded wherever you store stuff if you don't want to have to download it again in future.

    After extracting the files find the DXSetup.exe  and run that.

    The files will then be installed to Windows System 32 and SysWOW64

    (all Direct X files go in these folders).

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2012-08-01T08:39:39+00:00

    You cannot uninstall Direct X .

    It looks like the 2K people gave you the same link on both occasions.

    The Direct X  Web Installer does not overwrite existing files, but -

    You can delete files (should they be corrupt )  when you have specific file names   ie. -  d3dx9_42.dll . Then when you run the Direct X Web Installer it will replace the file you just deleted with a new one.

    You will find there are two of each file if you have 64bit Windows. One in System 32 and one in SysWOW64.

    However,  the End User Runtimes Redistributable  installer linked by   Imran will

    overwrite the old files. Follow his instruction to install from Safe Mode if you have a problem installing from normal Windows launch.

    While Win7 comes with all versions of Direct X ( 9, 10 & 11 ) and there are many files, but  the people at Monopoly$oft seem to have left out a lot of the d3dx9  files for some inexplicable reason.

    Running the Web Installer after installing Windows should fix this issue.

    The following is a list of the Direct X .dll's you will have when the files are up to date.

    Go to the Windows / System 32 folder, (and SysWOW64 if you have 64bit). 

    They are in alphabetical order and will start with d3dx9 - 24 > 43 . Then d3dx10 - 33 > 43 & finally d3dx11 - 42 > 43.

    There should also be - d3d9, d3d10 and d3d11 these come before the D3Dcompilers - 33>43.There are also three new XInput1 - 1>3.

    There are more DX files, but these are most of the gaming graphics related Direct X  .dll's

    .

    2 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2016-05-19T01:58:26+00:00

    I just did the same thing and it worked immediately. My compatibility settings on Launch are set at Windows 8 even though I am running Windows 10.  Go to the link http://www.microsoft.com/download/en/details.aspx?DisplayLang=en&id=35 as suggested. It reinstalls DirectX and corrects the missing d3dx9_42.dll missing.

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2012-08-01T07:00:07+00:00

    @ indignant

    =============================================================

    There are several ways that d3dx9_42.dll errors can show up on your computer. Several of the more common specific d3dx9_42.dll error messages are listed below:

    • "D3dx9_42.dll not found. Reinstalling might help fix this."
    • "D3dx9_42.DLL Not Found"
    • "File d3dx9_42.dll not found"
    • "The file d3dx9_42.dll is missing"

    D3dx9_42.dll errors appear when a game or other software program is started.

    Cause of D3dx9_42.dll Errors

    D3dx9_42.dll issues are caused in one way or another by an issue with Microsoft DirectX.

    The d3dx9_42.dll file is one of many files contained in the DirectX software collection. Since DirectX is utilized by most Windows based games and advanced graphics programs, d3dx9_42.dll errors usually show up only when using these programs.

    Troubleshooting Steps


    Important Note: Do not download the d3dx9_42.dll DLL file individually from any "DLL download site." There are a number of excellent reasons that downloading DLLs from these sites are never a good idea.

    Note: If you've already downloaded d3dx9_42.dll from one of those DLL download sites, remove it from wherever you put it and continue with these steps.

    1. Restart your computer if you haven't yet done so.

    The d3dx9_42.dll error might be a fluke and a simple restart could clear it up completely. 2. Install the latest version of Microsoft DirectX. Chances are, upgrading to the latest version of DirectX will fix the d3dx9_42.dll not found error.

    Note: Microsoft often releases updates to DirectX without updating the version numberor letter so be sure to install the latest release even if your version is technically the same.

    Note: The same DirectX installation program works with all versions of Windows including Windows 7, Windows Vista, Windows XP, and more. It will replace any missing DirectX 11, DirectX 10, or DirectX 9 file. 3. Assuming the latest DirectX version from Microsoft doesn't fix the d3dx9_42.dll error you're receiving, look for a DirectX installation program on your game or application DVD or CD. Usually, if a game or other program utilizes DirectX, the software developers will include a copy of DirectX on the installation disc.

    Sometimes, though not often, the DirectX version included on the disc is a better fit for the program than the latest version available online. 4. Uninstall the game or software program and then reinstall it again. Something might have happened to the files in the program that work with d3dx9_42.dll and a reinstall could do the trick. 5. Restore the d3dx9_42.dll file from the latest DirectX software package. If the above troubleshooting steps haven't worked to solve your d3dx9_42.dll error, try extracting the d3dx9_42.dll individually from the DirectX downloadable package. 6. Update the drivers for your video card. While it's not the most common solution, in some situations updating the drivers for the video card in your computer could correct this DirectX issue.

    Applies To

    The d3dx9_42.dll error message could apply to any program that utilizes Microsoft DirectX, most commonly video games.

    Any of Microsoft's operating systems since Windows 98 may be effected by d3dx9_42.dll and other DirectX issues. This includes Windows 7, Windows Vista, Windows XP, and Windows 2000.

    Still Having D3dx9_42.dll Issues?

    Let a community of PC support enthusiasts help out! Post the details of your problem in the Microsoft Answers Forum. Be sure to let us know the exact d3dx9_42.dll error that you're receiving and what steps, if any, you've already taken to fix it.

    =============================================================

    Download "d3dx9_42.dll" missing file: http://www.dll-files.com/dllindex/dll-files.shtml?d3dx9_42

    Hope you this helps.

    BillyRazOr

    1 person found this answer helpful.
    0 comments No comments