4 weeks ago
Hello,
Does anyone knows the proper way to test Advantage ODBC from windows powershell???
I tried below:
$connection = New-Object System.Data.Odbc.OdbcConnection("DSN=TestConnection") $connection.Open()
But Im getting this error:
Exception calling "Open" with "0" argument(s): "ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and
Application"
At line:2 char:1
+ $connection.Open()
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : OdbcException
Any advice will be great.
Thanks!
User | Count |
---|---|
82 | |
9 | |
9 | |
7 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.