473,665 Members | 2,827 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ODBC connection with Sybase

Hi all,
I am using VC++ DOT NET. The database is Sybase. I
have established connectivity through ODBC 12.5 Sybase ASE
Driver( its not through DSN).

There is problem while reteriving values of
datatype 'int' or 'small int'. I think its the
compatibility issue. Is there any other ODBC driver
available which microsoft supports.

Thanks

Ajay

Jul 21 '05 #1
1 1642

Hello Ajay/All,

I'm trying to use connect to Sybase using ODBC . I have installed
MDAC 2.8 and also ODBC.NET, when i compile the program, i get the
following ERROR:

"C:\Inetpub\www root\ODBCnet_sy b_stp_demo\lice nses.licx: Could not
transform licenses file 'licenses.licx' into a binary resource. The
format of the file 'lc.exe' is invalid."
Kindly help.

Regards
Gagan
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
4930
by: Graham | last post by:
I need a SQL Server or ODBC package for Python. Can anyone help please? Have search the Python packages under Database and there is no reference to either SQL Server or ODBC. Thanks Graham
6
7266
by: Paul Robinson | last post by:
I am developing a website in ASP that connects to a Sybase database. However, when I try to open a connection to the database the page will not load. The script does not timeout, nor the connection. Further, the Sybase server shows no connection. Because the page is hanging I am unable, with my limited knowledge, to query the error collection. After many tries I will get an error page ...HTTP 403.9 Access forbidden: Too many users are...
2
2969
by: Martijn Rutte | last post by:
Hi, On one side, I have a Sybase 12.5 32 bits Server running on AIX 5.1 (maintenance level 3). On the other, I've got W2000 5.00.2195 (SP2) with SQL Server Standard Edition, Product Version 8.00.534 (SP2), having installed MDAC 2.6. I connect to the Sybase 12.5 database using Merant ASE ODBC driver for Sybase 12.5, and using the Microsoft OLE DB Provider for SQL Server that comes with this SQLServer version.
4
5644
by: Andreas Lauffer | last post by:
Can anyone tell me advantages / disadvantages of DataDirect Server Wire ODBC-driver? Any experiences? What about redistribution? Andreas Lauffer, easySoft. GmbH, Germany
0
2627
by: Kevin | last post by:
I am running INSERT INTO queries using ODBC connections to grab data from 3 different Sybase servers. 2 of these servers are remote and use an ISDN on demand connection to connect. My queries work fine but my connections are not terminating. I "Close" the ADODB.Connection and set it to "Nothing". Only terminating Access will release the connection. This is a problem because the connection being open keeps the ISDN modem tied up and when...
4
1853
by: R | last post by:
Hi When an Access query is run against an ODBC table, is it possible in any way to tell what is passed to the server? I have a remote Sybase database linked into Access and the bandwidth is terrible, so I need the processing to be done purely on the server. Some simple queries run quickly, so the processing is being done on the server. Some complex queries with IIf statements etc. are definately not being converted to Sybase compatible...
4
9740
by: Chris Fox via .NET 247 | last post by:
I'm trying to access a Sybase database using Visual .net C# using the code below. I've added the Sybase data provider to the references (DDTek.Sybase) and added them to the program usage. Howver it fails to connect and gives an Unhandled exception of type "DDTek.Sybase.SybaseException' occured in ddtek.sybase.dll I can connect using the sybase SQL advantage with no problems. Cheers
1
344
by: Ajay | last post by:
Hi all, I am using VC++ DOT NET. The database is Sybase. I have established connectivity through ODBC 12.5 Sybase ASE Driver( its not through DSN). There is problem while reteriving values of datatype 'int' or 'small int'. I think its the compatibility issue. Is there any other ODBC driver available which microsoft supports.
2
1969
by: monnomiznogoud | last post by:
Ok, my problem is the following: I have very complicated Access 97 databases that link through ODBC to Sybase databases. Now in some of the forms controls I had queries that used as "where clause" parameters form field values; For example: select foo from bar where a_colmun = !!
0
8863
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8636
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7376
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5660
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4186
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4356
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2765
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2004
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1761
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.