Solved

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

Posted on 2011-09-13
2
790 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
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.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

739 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