So, after doing what Flappie said(thanks for your help Flappie) I think the problem lies in my Config/options file. When I run with the default options created after renaming my DCS saved games folder it has no problem. But when I replaced the options file the error came back. I have attached the options file to see if anyone can see a problem with it. I would like to know what the problem is so I do not replicate it.
Thanks
options.lua