Issue
When attempting to save & deploy a function block program using Modernized Programming, the following errors are seen:
EBO 2022 - Deploy program error: The program was not deployed! (Error Code - 1073740940)
EBO 2024 - Deploy program error - Invalid data "Empty binary file' Invalid data
Product Line
EcoStruxure Building Operation
Environment
- EcoStruxure Building Operation WorkStation EBO 2022
- EcoStruxure Building Operation WorkStation EBO 2024
- Function Block Programs (Builder for Function Block)
Cause
Related to known issue Modernized Programming Builder program error during deploy
This is when the TEMP / TMP User variable folder paths contain a space; this can be edited in the Environmental Variables.
Resolution
Edit the TEMP and/or TMP paths so that they do not contain any spaces.
To edit the Environmental Variables, follow these steps:
- 1. Click on the Start Menu button located at the bottom-left corner of your screen.
- In the search bar, type "environment variables" and press Enter.
- Click on the "Edit the system environment variables" option from the search results. This action will open the System Properties window, which contains various tabs and settings for your computer.
- In the System Properties window, click the "Environment Variables" button located at the bottom right. Clicking this button will open another window specifically for managing environment variables.
- In the Environment Variables window, under the "User variables" section, "Edit" the path that contains any "spaces". These paths can be located anywhere on this PC.
User variables apply only to your account, while system variables affect all users on the computer. Choose accordingly, and then add or edit variables as needed. - Once you have completed these steps, your new or edited environment variables will take effect.
- Restart WorkStation, and the program should now deploy successfully.