Tuesday, 30 June 2020

Error: "SQL Server blocked access to procedure 'sys.sp_OACreate' of component 'Ole Automation Procedures'

https://support.na.sage.com/selfservice/viewContent.do?externalId=80899&sliceId=1

Error: "SQL Server blocked access to procedure 'sys.sp_OACreate' of component 'Ole Automation Procedures'

Products

Sage 500 ERP


Country

North America


Description

Error: "SQL Server blocked access to procedure 'sys.sp_OACreate' of component 'Ole Automation Procedures' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of Ole Automation Procedures' by using sp_configure. For more information about enabling 'Ole Automation Procedures', search for 'Ole Automation Procedures' in SQL Server Books Online.
Error: "SQL Server blocked access to procedure 'sys.sp_OAMethod' of component 'Ole Automation Procedures' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of Ole Automation Procedures' by using sp_configure. For more information about enabling 'Ole Automation Procedures', search for 'Ole Automation Procedures' in SQL Server Books Online.
Error: "SQL Server blocked access to procedure 'sys.sp_OADestroy' of component 'Ole Automation Procedures' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of Ole Automation Procedures' by using sp_configure. For more information about enabling 'Ole Automation Procedures', search for 'Ole Automation Procedures' in SQL Server Books Online.
Error message(s) when attempting to login to Sage 500


Disclaimer

Backup Warning

Use caution when working with the below product functionality. Always create a backup of your data before proceeding with advanced solutions. If necessary, seek the assistance of a qualified Sage business partner, network administrator, or Sage customer support analyst.
Operating System Warning
This solution requires advanced knowledge of your computer's operating system. Contact your system administrator for assistance. Modifying your Windows Registry incorrectly can severely affect system operations. Sage is not responsible for operation issues caused by incorrectly modifying your Windows Registry. Always create a backup of your data before proceeding with advanced solutions.

Resolution

  • Log into SQL Server using an 'sa' or equivalent account
  • Execute the following in a new query window
sp_configure 'show advanced options', 1
GO
RECONFIGURE;
  • Then execute the following
sp_configure 'Ole Automation Procedures', 1
GO
RECONFIGURE;
  • Close and reopen the Sage 500 application and proceed to login.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.