SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 44379: "Run-time error '-2146233086 (80131502)': Automation error" or "Out of memory" when hierarchy.ShowMemberSelectionDialog submitted

DetailsCodeHotfixAboutRate It

You might encounter errors if you submit the SAS® Financial Management Add-In API for Microsoft Excel's 'ShowMemberSelectionDialog' call. Specifically, this call might result in errors similar to the following if the D74002 hot fix has been applied to your system:

Microsoft Visual Basic for Applications Run-time error '-2146233086 (80131502)': Automation error
or
Microsoft Visual Basic for Applications Out of memory
The AMO log might also show:
FMHierarchy: Members Property error. Invalid item: Null. Returning Null.
  • For a user who has been assigned the role <Financial Management: Process Administrator>, the API call runs without error.
  • For a non-Administrator user who is granted Read permissions to two or more members in the hierarchy, the API call also runs without error.
  • For a non-Administrator user who is granted Read permissions to just one member in the hierarchy, submitting the 'ShowMemberSelectionDialog' API call might result in the above errors.

For an example and description of the Visual Basic for Applications (VBA) code that might result in this issue, please refer to the 'Full Code' tab, above.

For more information about the D74002 hot fix, please refer to the SAS Financial Management Add-in for Microsoft Excel 5.2 Hot Fix Downloads page.

For information about enabling the AMO log, please refer to SAS Note 19846.

For more information about the SAS Financial Management Add-In API for Microsoft Excel, please refer to the SAS Solutions Services Customization Guide.

For more information about assigning user roles, please refer to the SAS Solutions Services System Administration Guide.

For more information about granting or denying permissions in a SAS Financial Management hierarchy, please refer to the SAS Financial Management User's Guide.

Please note that this documentation is intended for use only by existing SAS Financial Management customers.

Please contact SAS Technical Support if you need User name or Password information to access any of this documentation.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Financial ManagementWindows Vista for x645.15.2_M19.2 TS2M09.3 TS1M0
Windows Vista5.15.2_M19.2 TS2M09.3 TS1M0
Microsoft Windows XP Professional5.15.2_M19.2 TS2M09.3 TS1M0
Microsoft Windows Server 2008 for x645.15.2_M19.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 for x645.15.2_M19.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Standard Edition5.15.2_M19.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition5.15.2_M19.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition5.15.2_M19.2 TS2M09.3 TS1M0
Microsoft® Windows® for x645.15.2_M19.2 TS2M09.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.