This error message indicates an issue in the DDE connection between Excel and TWS.
Please login to TWS Mosaic and click on the File menu followed by Global Configuration (or Edit followed by Global Configuration in Classic TWS). Select API followed by Settings and check "Enable DDE". Click Apply and OK.
For more information, please visit our API Users' Guide.