This error simply occurs intermittently. Just run it a couple times until it works, its not a complete failure to run error, only a temporary one. I don't know the mechanics behind the issue, I just know you have to try to run the game a couple times for it to "hook".
Sometimes it runs first time, sometimes it take a couple tries. At leas that's been my experience.