Solved

Sage50 and Visual Studio 2010

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

760 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

19 Experts available now in Live!

Get 1:1 Help Now