dbTalk Databases Forums  

Connecting with ODBC from .NET App on Windows Server 2008 64Bit

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss Connecting with ODBC from .NET App on Windows Server 2008 64Bit in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Markus Accola
 
Posts: n/a

Default Connecting with ODBC from .NET App on Windows Server 2008 64Bit - 09-17-2009 , 10:57 AM






I have a .NET 2.0 Application configured for anyCPU. I
connect to SQL Anywhere 9.0.2.3850 via System.Data.OleDb
specifying an ODBC Datasource in the connection string.
The odbc datasource is sybase 32-bit. The application runs
on a windows Server 2008 64-bit.
Starting the application gives a OleDbException. How I have
to configure my app/odbc to run on the 64-bit server? Is
that possible or do I need 64-bit odbc driver?

Reply With Quote
  #2  
Old   
Nick Elson [Sybase iAnywhere]
 
Posts: n/a

Default Re: Connecting with ODBC from .NET App on Windows Server 2008 64Bit - 09-18-2009 , 11:44 AM






You might want to check out this thread
http://groups.google.com/group/sybas...qlAnywhere.dll


<Markus Accola> wrote

Quote:
I have a .NET 2.0 Application configured for anyCPU. I
connect to SQL Anywhere 9.0.2.3850 via System.Data.OleDb
specifying an ODBC Datasource in the connection string.
The odbc datasource is sybase 32-bit. The application runs
on a windows Server 2008 64-bit.
Starting the application gives a OleDbException. How I have
to configure my app/odbc to run on the 64-bit server? Is
that possible or do I need 64-bit odbc driver?

Reply With Quote
  #3  
Old   
Markus Accola
 
Posts: n/a

Default Re: Connecting with ODBC from .NET App on Windows Server 2008 64Bit - 09-21-2009 , 01:32 AM



Quote:
You might want to check out this thread

http://groups.google.com/group/sybas...qlAnywhere.dll

Hello Nick,
thanks for answering. ADO.NET ist not supported for 64bit. I
have read this, but I suppose I'am don't using ADO.NET,
since I dont using the iAnywhere DLL and I don't have any
references to iAnywhere.Data.SqlAnywhere. I'am using OLEDB
involving a ODBC Datasource in the connection string.
Maybe I can build my app targeting x86 or use odbc namespace
instead of oledb? I have set the 23bit flag using
corflags.exe. As far as I know this is equal targeting x86
CPU model in visula studio?
Do you have any other ideas?
Thanks. Markus Accola

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.