Issue: How can I correct the compiler error I am receiving on all clients running my remote application?
A: Typically, when you receive a compile error on all clients running your remote application, it indicates that modifications were made to the code in one or more of the application's source files on the server; however, the modified source files were not compiled on the server, thereby propagating code errors to all the clients running the application.
In order to remedy the situation, follow the steps below:
1. Stop the remote application on the server.
2. Select the application in the VAM's Available Applications list on the server.
3. Click the Properties button. The application's Application Properties dialog opens.
4. Select the "Force Clients to Resynchronize: Files" checkbox.
5. Click the OK button. All clients receive a dialog indicating that they must be restarted. Do not restart the clients yet.
6. Navigate to the application source files whose code was modified on the server. These files will be marked read-only, and must be marked read and write in order that you can correct any coding errors. The sub-steps below provide instructions on removing the read-only flag.
a. Use the Ctrl (Control) key to select all the modified source files. All selected files are highlighted in blue.
b. Right-click the modified source files. The Windows shortcut menu opens.
c. Select the Properties option. The properties common to the selected files are displayed.
d. Click the General tab.
e. Clear the "Read-only" checkbox for the selected files.
f. Click the Apply button to apply the change.
g. Click the OK button.
7. Return to the VAM.
8. Select the application in the VAM's Available Applications list.
9. Click the Compile button. The errors in the code are identified by VTS.
10. Correct the errors.
11. Repeat steps 9 and 10 above until all compile errors have been eradicated.
12. Restart the application on the server.
13. Stop and restart the application on all clients. The error-free files are propagated from the server to all clients running the application.