Sometimes the error occurs if the Windows System Locale does not match the installed language packs.
If you have access to another machine with the same software version, copy s7yomlr.dll from: C:\Program Files\Siemens\Step 7\S7BIN\ to the same path on the affected machine. Register it using: cannot find language resource file s7yomlr.dll