I have worked on this error message for a while until i realized that it was caused by the system not having .NET 2.0 sp2 installed.
I kept getting this error message when tried running a custom exe file from a shared drive or a mapped drive.
I would however appreciate if Microsoft would have given me an error message that makes more sense though.