Solved

.NET 2 Winforms app with ODBC connection to Sybase ASA 9 doesn't work with Win 7

Posted on 2011-09-13
2
786 Views
Last Modified: 2012-05-12
I have an old Winforms app (VB.NET 2003, .NET Framework 2.0) that talks to Sybase Adaptive Server Anywhere 9 via ODBC.   Has been working just fine for years with Win XP.  Client tried to install it on a new Win 7 machine and it  won't connect.  We've tried both 32 and 64 bit Win 7.  We've tested the ODBC DSN using ACCESS linked tables and it's  just fine, so the problem is my app.

It fails trying to connected to Sybase.   Unfortunately I cannot easily recomplie the app or test it in a development environment since it used some 3rd party stuff that I no  longer have - and I don't have Visual Studio 2003 running anywhere.    So I'm wondering if there is something version dependent about the .NET 2.0 ODBC provider?   All the workstations (XP) on which the app  still works do show .NET Framework 2 installed alongside newer versions.

I tried installing .NET 2 on the Win 7 32 bit machine and it refuses to install - saying that it is already there as part of the OS.  

I'm stumped.  Can anyone help?
0
Comment
Question by:BobSacks
2 Comments
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 500 total points
ID: 36533680
According to the online documentation, the 2.0 version of the ODBCConnection object is not supported on Windows 7.

Give a look at the list of supported platforms at the bottom of the page. Windows 7 appears as a supported platform only from framework 3.5.

Sorry to be the bringer of bad news.
0
 

Author Comment

by:BobSacks
ID: 36535492
James -

Thanks for the info.   Not such bad news.  At least I understand the problem now.   I got it to work on Win 7 32 (that turned out to be just a misnamed DSN), so I have an alternative for the client.   If they want to engage me to update the old app to 64 bit, then that's their call.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question