I was also facing the same problem and I have searched over the net to find missing d3dx9_27.dll file. I have downloaded d3dx9_27.dll file from the link provided below:
You can download any missing or corrupted dll files for free from the above web site. And also, if you are not sure why you are getting .dll error messages, you can run a scan by clicking at "Run a Free DLL Scan" link.
Please like the above solution if it fixes your issue.