SQL Server阻止访问
sys.sp_OACreate组件"Ole Automation Procedures"的过程,因为此组件已作为此服务器的安全配置的一部分关闭.系统管理员可以使用sp_configure启用"Ole Automation Procedures".有关启用"Ole Automation Procedures"的详细信息,请参阅SQL Server联机丛书中的"Surface Area Configuration".
我试图启用Ole Automation Procedures:
sp_configure 'show advanced options', 1
GO
RECONFIGURE;
GO
sp_configure 'Ole Automation Procedures', 1
GO
RECONFIGURE;
GO
sp_configure 'show advanced options', 1
GO
RECONFIGURE;
Run Code Online (Sandbox Code Playgroud)
当我执行查询时,我成功获得输出.但是在尝试通过Windows窗体时,我收到了这个错误.请帮我