Author: Daniel Iseli
Running an Uniface application (any version) remotely on Terminal Server(Remote Desktop) or Citrix server that is running Windows Server 2008 R2, the application may close unexpectedly (crash). The problem can occur when opening (e.g.) a file selection box (using the filebox Proc statement) or a form that is displaying a HTML widget (only applicable for Uniface 9.6 and 9.7).
This issue occurs because of a problem in the Windows Terminal Server module Tsappcmd.dll. More details about this problem can be found (e.g.) here:
(see Microsoft Knowledge Base article 2498855)
Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Uniface or Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.To work around this issue, use one of the following methods.
Disable DEP for the application in question. To do this, follow these steps:
Disable IAT. To do this, follow these steps:
UPDATE: The above described issue should not occur anymore with the HTML widget when using version 9.7.02 (and higher). Please note that the DEP policy will be enabled automatically when the HTML widget is initialized. And this will override the workaround described in method 1. Additional information can be found here.