Solved

Sage50 and Visual Studio 2010

Posted on 2014-12-04
5
382 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
  • 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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 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