A number of things:
Try reinstalling DirectX v9.0b from
here Also make sure you have the latest drivers for your video card
as well as the motherboard's chipset.
If the above fails, make sure your RAM is not faulty by burning and running a free memory diagnostic tool. Stop 0x8E errors are usually due to a bad RAM module.
HTH