I had a form with a “Use” statement in the Globals > Options property. This worked fine in 7.0.3.
I moved to 8.5 and recompiled the code. The code recompiled successfully. However, when the user attempted to open this form, the “Generic LSE Failure” message appeared.
I found out it was the Globals > Options property by:
-
Remark out the call to the Script Library in the form itself in the Globals > Options property
-
Opened the Script Library, made a quick change and save the Script Library.
-
Went back to the Form and un-remarked out the call to the Script Library.
-
Received the “Error loading script library”
-
Moved the “Use” statement from the Globals > Options to the Form > Options
-
Saved the form and recompiled the script and everything worked fine.
Just an FYI for anyone else having this issue…
HTH,
Dan