Solved

Sage50 and Visual Studio 2010

Posted on 2014-12-04
5
399 Views
Last Modified: 2014-12-11
Hi,

I've recently upgraded from simply accounting 2010 to sage50. I have an application built in visual studio that connected to my simply accounting database using .NET Framework Data Provider for ODBC.

With the new version of simply Accounting (sage50), the database has been updated. I can no longer connect to it using the .NET Framework Data Provider for ODBC, Visual Studio tests the connection successfully but then hangs when I try to retrieve data from some tables...

I'm wondering if anyone can help me out?

Thank you
0
Comment
Question by:FCapo
[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
  • 3
  • 2
5 Comments
 
LVL 40
ID: 40481981
I haven't worked with .NET and Sage50, but they use a MySQL database. You might try with the MySQL components for .NET.
0
 

Author Comment

by:FCapo
ID: 40486954
I've tried with it,

but I normally used ODBC to connect to it but now it crashes Visual Studio everytime I try to read the database
0
 
LVL 40

Assisted Solution

by:Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger) earned 500 total points
ID: 40487128
They seemed to have redesigned a lot of thing in Sage50 compared to the previous versions.

They might have buffed up the security so that you might not have access to tables that were available anymore.

They might have also changed the structure of the database, so that code that did work before does not work anymore.

That is one of the reasons I suggested that you try with the MySQL components. I have never used MySQL, but when you download their .NET components, many database developers provide Tools that integrates in Visual Studio to enable you do visualize the database structure, and even sometimes to edit or create tables and stored procédures directly in Visual Studio.
0
 

Author Comment

by:FCapo
ID: 40487200
I'm getting this error which crashes visual studio 2010 when I try to retrieve records from a table in the server explorer:

Faulting application name: devenv.exe, version: 10.0.30319.1, time stamp: 0x4ba1fab3
Faulting module name: myodbc5a.dll, version: 5.2.4.0, time stamp: 0x510186c8
Exception code: 0xc0000005
Fault offset: 0x000102aa
Faulting process id: 0x1dc0
Faulting application start time: 0x01d0130d07a194cf
Faulting application path: C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
Faulting module path: C:\Program Files\MySQL\Connector ODBC 5.2\ANSI\myodbc5a.dll
Report Id: 73bb31cf-7f00-11e4-a04e-842b2b928812
0
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 500 total points
ID: 40487297
On my system, from what I see in the Control Panel, Sage 50 (Pro 2013 Update 4) seems to use MySQL Connector/ODBC 3.51. You seem to use version 5.2. It might not be compatble.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

688 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