UIWorkspace.ComposeDocument returns error -28363

There are some very old posts in R6 forum about this incorrect error (should not be minus).

It looks like it has come back to haunt us in R8 and R8.5 ( there’s an IBM page that talks about it - see link at the bottom. )

The document I am trying to create with ComposeDocument has settings for TargetFrame and Frameset. The only workaround I can take is to remove these references, but I don’t want to do this because this document can be created and viewed from many places that don’t product this error (and I hate making two versions of the same design of a document).

Is there any solution to this?

http://www-01.ibm.com/support/docview.wss?rs=899&context=SWD00&context=SWC00&context=SSKTVH&context=SSKTK9&context=SSKTKX&context=SSKTL5&context=SSKTM2&context=SSKTMJ&context=SSKTPA&context=SS5LUA&context=SSMT72&context=SSKTR9&context=SSKU24&context=SSKTTW&context=SSKTWB&context=SSKTWP&context=SSKTX4&context=SSKTYF&context=SSYSVG&context=SSKTZ5&context=SSKTZF&context=SS6PC5&context=SS6JT7&context=SSLJ3H&context=SSZHFR&context=SS6JUL&context=SSFLMV&context=SSYJJC&dc=DB510&dc=DB520&dc=D800&dc=D900&dc=DA900&dc=DA800&dc=DB530&dc=DA600&dc=DB550&dc=D100&dc=D600&dc=D700&dc=DA500&dc=D200&dc=DA430&dc=DA440&dc=DA410&dc=DA450&dc=DA420&dc=DA460&dc=DB300&dc=DA470&dc=DA110&dc=DA480&dc=DB100&dc=DA4A10&dc=DA4A20&dc=DA700&dc=DA4A30&dc=DA120&q1=user+defined+error+composedocument&uid=swg21091227&loc=en_US&cs=UTF-8&lang=en)