ODBC-Access on Windows 2012 does not work - E_FAIL #3671
Date: 2015-02-12 16:54:50 +0100
Last updated: 2015-05-07 12:37:30 +0200
Date: 2015-02-12 16:54:50 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36
An error occurs when querying a table multiple times on the same ADO Connection object using a client side Cursor
ErrorCode: E_FAIL from Microsoft Cursor Engine
Error happens on operating system Windows 2012 Server.
MonetDB Database Server: CENTOS 7
The error doesn't occures on other ODBC drivers e.g MSSQL Server or Oracle
Steps to Reproduce:
set con = CreateObject("ADODB.Connection")
Error occurs with message "... Status E_FAIL" when executing the script/ select commands.
Select and fetch of database records should be done without problems.
Operating System: Windows Server 2012 (using msado15.dll Version 6.2.9200 16384 which comes with Installation of the OS).
MonetDB ODBC Driver Version 11.19.09.01 32Bit or 64 Bit
Date: 2015-02-12 16:58:13 +0100
Created attachment 319
Running this script results in an error on Windwos 2012.
Date: 2015-02-24 10:15:24 +0100
I don't have access to Windows 2012 (or Windows 8), so it's hard for me to reproduce. What might help is some debug output from the MonetDB ODBC driver.
Can you please create a log (see below) and attach it to this bug report.
To create a log, you need to start the application that uses the MonetDB ODBC driver with an extra environment variable. Probably the easiest way to do that is to start a cmd window (Start -> Run... -> cmd.exe) and in that window type
and then start your application from this window.
Instead of attaching, you can also send the file directly to me.
Date: 2015-02-24 16:41:23 +0100
Created attachment 323
The last "select * from Prices" is the command wich results the error
Date: 2015-02-25 15:37:27 +0100
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=48623d9c99c9
Date: 2015-02-25 20:30:45 +0100
Thanks for your engagement on this issue.
Can you provide a compiled Version of the corrected ODBC.dll or whatever I need to test the corrected version as download for my 32bit/64bit Windows - Plattforms. I'd like to test it in my environment and I'll give you a Feedback.
Date: 2015-02-25 20:37:26 +0100
you'll find nightly built installers later tonight / tomorrow morning via our 'TestWeb" (http://monetdb.cwi.nl/testweb/web/status.php) under http://monetdb.cwi.nl/testweb/web/54807:48623d9c99c9/
Date: 2015-03-02 17:58:45 +0100
I have tested the nightly build ODBC installers (.msi) from today.
The problem is not solved with your changes.
Date: 2015-03-05 15:02:21 +0100
you've written, that you don't have access to a Windows 2012/Windows 8 system.
Date: 2015-03-06 09:54:49 +0100
I now do have access to a Windows 2012 virtual machine. I was able to download one from Microsoft that I can use for 180 days.
Date: 2015-03-06 13:01:43 +0100
with Windows 8/Sever2012 there is a new tracetool available using powershell commands. See Data Access Tracing in Windows 8
I also developed a small Windows console program in Visual C++ (odbctest.exe) which do a select against the database like the VBscript does.
Date: 2015-03-06 13:05:09 +0100
Created attachment 324
for testing with a c programm (alternative to the VBscript)
Date: 2015-03-09 17:20:23 +0100
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=9eed5049e02a
Date: 2015-03-11 10:53:16 +0100
The text was updated successfully, but these errors were encountered: