If memory servers me correct (no promises there) I came up against this error due to the old version of the sqljdbc42.jar in the \Program Files\ibm\cognos\analytics\drivers folder.
Also if you are using SSO dont for get the sqljdbc_auth.dll in the D:\...
Also if you are using SSO dont for get the sqljdbc_auth.dll in the D:\...