Graphics Error Click To Retry Creating D3d Device

Trying to start Diablo 3 gave this error:

“graphics error click to retry creating d3d device”

Now, there have been several options and solutions depending on what causes the error.

Have a look here for the varies solutions: http://us.battle.net/d3/en/forum/topic/5968136916

In this case changing resolution, DisplayModeWindowMode or other options in D3Prefs.txt didn’t work. What worked was: Right click on Diablo III icon > Properties > Advanced > Compatibility > Change Compatibility mode to Windows XP (Service Pack 3)