How to enable Ole Automation Procedures in SQL Server?

Please execute below code on the server where you need to enable Ole Automation:


sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'Ole Automation Procedures', 1;
GO
RECONFIGURE;
GO

Comments

Anonymous said…
thank you
Matt Slocum said…
The "R" at the beginning of the second RECONFIGURE is missing. Otherwise it's an awesome script. Thank you!
Matt Slocum said…
This comment has been removed by a blog administrator.
UC said…
Thanks for your kind comment Matt. I corrected the typo now.