I installed and configured SQL Server 2017 on Ubuntu 16.04, with developer license. The installation works fine, I can connect to it with Management Studio as well, and restore databases from .bak
files.
But I can't find any solution, or alternative to use Ole Automation Procedures.
The enable commands
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'Ole Automation Procedures', 1;
GO
RECONFIGURE;
GO
returns this response:
Configuration option 'show advanced options' changed from 1 to 1. Run the RECONFIGURE statement to install.
Configuration option 'Ole Automation Procedures' changed from 1 to 1. Run the RECONFIGURE statement to install.
But when I try to use sp_oacreate
EXEC @ret=sp_OACreate 'MSXML2.ServerXMLHTTP', @objectID OUT
I got 0 as @ret
value, which means its OK, but also got error message on output:
Could not load the DLL odsole70.dll, or one of the DLLs it references. Reason: 2(The system cannot find the file specified.).
Can someone suggest some workaround, or config tip please?