IBM Support

Why does the Security Script Wizard logs contain"0x80070005" exceptions even though the script ran successfully?

Question & Answer


Question

After running Security Script Wizard from Filenet Enterprise Manager (FEM), objects and class definitions were successfully updated. However, why does the Security Script Wizard logs contain"0x80070005" exceptions?

Answer

This occurs if the FEM user running the script contains a "." in the username (e.g. "p8.admin").

Error stack generated in Security Script Wizard logs:
Error saving class definition after adding permission: Error 0x80070005 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at FileNet.Api.Compatibility.CompatibilityException..ctor(Int32 DmaRC)
at FileNet.Api.Compatibility.ListOfObjectImpl._Add(Object Item, Object Before, Object After)
at FileNet.Api.Compatibility.ListOfObjectImpl.Add(Object Item, Object& Before, Object& After)
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

If there is a username containing a "." then the error can be ignored.

[{"Product":{"code":"SSNW2F","label":"FileNet P8 Platform"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Content Engine","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"5.2.1;5.2","Edition":"All Editions","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21963154