Solved

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

Posted on 2011-09-13
2
782 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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Hi Friends, These registry tweaks will help you optimizing your Windows 7 system for any VDI. This will improve the machine performanance and can be used on normal systems also. These are few registry tweaks which will add value by enhancing the …
OfficeMate Freezes on login or does not load after login credentials are input.
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now