i have exactly the same problem. Except the first error message is slightly different. i have attached the error message that i recieve as it might give more insight into why you are getting this message. after the first error message i also get the same second one as you do.
I have tried a save as with slow compile, deleting ES-MAPS and @ files and recompiling, still same problem