Skip to content

3.3.0 update breaks execute SQL implementation #427

Open
@xenon8

Description

@xenon8

lib/puppet_x/sqlserver/sql_connection.rb was updated in the last release to update to a newer version of the SQL Driver.

I don't have a massive problem with this, as the Native SQL driver used was out of date and no longer supported, however, the release notes for this release made no mention of the requirement change. Unfortunately the referenced driver is also out of date and the latest version 19, does not work with this change.

The change has also been hardcoded, so there is no way of overriding the default.

Please can you:

  1. Update the documentation to state that the MSOLEDBSQL driver is now required to use this module. You can use this chocolatey package for installation. but it must version 18.x or earlier.

More details on this driver can be found here however, it references version 19 by default.

  1. Mention that the current release does not support v19 of MSOLEDBSQL in the release notes and readme.

  2. Raise a item to allow overriding of the driver, that way we can use version 19 of the driver or later version if Microsoft bring out a new one; defaulting to this one.

Error below for reference:

OLE error code:800A0E7A in ADODB.Connection
      Provider cannot be found. It may not be properly installed.
    HRESULT error code:0x80020009
      Exception occurred. (corrective)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions