On Tuesday, December 27, 2011 16:52:04 Simon Walter wrote:
> Hi everyone,
> 
> I've got odbc working with unixODBC 2.2.14. I’ve tested it with isql and can
> connect to a MS SQL Server running on Windows Server 2003.
> 
> However, I can't get the test soci_odbc_test_mssql (test-odbc-mssql.cpp) to
> connect. It seems to accept an argument or use 'test-mssql.dsn' to create
> the connection. I've made a dsn as follows - tested and working with isql:
> 
> [ODBC]
> Description=Test Connection
> Driver=TDS
> Trace=No
> Database=Test
> Server=192.168.1.34
> Port=1433
> 
> Has anyone successfully connected to a MSSQL server successfully with SOCI
> on linux?

I forgot to include the error message:

SOCI Common Tests:

ODBC Error Code: IM002
Native Error Code: 0
SOCI Message: Error Connecting to database
ODBC Message: [unixODBC][Driver Manager]Data source name not found, and no 
default driver specified
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to