Generating error - Error Create Variables for Connections
When generating, what is the cause of the error: Error Create Variables for Connections?
An invalid Registry entry for the setting of the substitute character strategy of the AS-OS Engineering can lead to an error when generating with ProAgent. In this case the message "Error Creating Variables for Connections" is entered in the ProAgent diagnostics file PaGen.log. You can set the Registry entry back to a valid value if you call the AS-OS Engineering from STEP7 and start to transfer AS-OS connection data. For this, in STEP7 you call the menu Tools -> AS-OS Connection Data -> Transfer. Experienced users can also change the Registry entry manually.
You can check the Registry entry in the following path:
If "CharacterSet" has the value 1, the character "’\" and the blank are substituted by "$". This substitute character strategy should be used for new projects.
If "CharacterSet" has the value 0, the character "’\+-*/" and the blank are substituted by "$".
This Registry setting is user-specific. If the user changes, they must be made again.
In general, no warranty can be given for direct changes in the registry database, because this is entirely the responsibility of the user. In any case it is recommended to make a backup of the registry before proceeding as described below. Furthermore, these settings are computer-specific. This means that when copying the project to another computer, the settings have to be made again.