We have a couple dexterity customizations and began testing them through the web client in GP 2015. One works fine, but with the other installed, we receive the following error while the app is starting.
Severity: Critical
Summary: A server side exception of type "DexRuntimeException" has occurred.
Details:
DexRuntimeException: 'rm_get_xml_for_resource' returned failure. Error message: 'Form 'STO_Command' not found'.
at Microsoft.Dexterity.Runtime.Interop.Win32.NativeMethods.GetResourceDefinition(Int16 dictionaryId, Boolean modified, DexResourceType resourceType, String resourceName, Boolean complete)
...
Form STO_Command is present in our custom dictionary, and it works fine when using the standard client. The error is thrown when we run open form while the application is starting. Below is the trigger and triggered code for this:
Procedure STO_Base_Open_Command_Form
{
open form STO_Command;
}
Procedure Startup
{
result = Trigger_RegisterProcedure(script OpenCommandForms, TRIGGER_AFTER_ORIGINAL, script STO_Base_Open_Command_Form);
}
Now the strange is that we have essentially the exact same code in our other customization (form name is different of course) and yet it works fine. I can't see any meaningful difference between the command forms in each product and don't know why it doesn't seem to recognize the STO_Command form.
Any help is greatly appreciated.