On 23 September 2015 at 02:18, Baranov, Paul BIS <paul.bara...@fs.utc.com> wrote: >> Have you tried to tweak the soci_test.dsn and choose different driver? >> Have you tried to test your soci_test.dsn with alternative clients, perhaps >> simple Python+pyodbc? > > Below is the log from the command you suggested: soci_odbc_test_mssql > FILEDSN=C:/Users/Paul/Documents/soci_test.dsn > I just tried the .dsn file with another client (the one I'm working on) that > does very heavy db communication and it seems to connect to db and work just > fine (I replaced default db name from history to main though). > I tried ODBC driver "SQL Server" which has version 6.03.9600.16384 but the > output seems to be identical to the original "ODBC Driver 11 for SQL Server" > (version 2014.120.2000.08). > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > soci_odbc_test_mssql.EXE is a Catch v1.2.1 host application. > Run with -? for options > > ------------------------------------------------------------------------------- > MS SQL long string > ------------------------------------------------------------------------------- > C:\Prg\soci-master\tests\odbc\test-odbc-mssql.cpp(23) > ............................................................................... > > C:\Prg\soci-master\tests\odbc\test-odbc-mssql.cpp(23): FAILED: > due to unexpected exception with message: > Error binding input parameter #1: [Microsoft][ODBC Driver 11 for SQL > Server]Invalid precision value (SQL state HY104) while executing "insert > into > soci_test(long_text) values(:str)" with :str="Line #0 > ... > =============================================================================== > test cases: 45 | 44 passed | 1 failed > assertions: 1530 | 1529 passed | 1 failed
There seem to be one test failing, which is not bad. Good thing, AFAIS, is that the ODBC test runner connects to your database and successfully execute some of the other statements. Am I correct assuming, the driver prompt is gone now? Best regards, -- Mateusz Loskot, http://mateusz.loskot.net ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ soci-users mailing list soci-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/soci-users