This error exists in version 6.1 as well: Failure is reported at line 2477 in resource .cpp
The work around mentioned by Archimedes works for this version too. However, I am not using any of the data acquisition VI's. It seems to have occurred after I added a polymorphic VI to the project - (executable size about 3.3MB)