[Sage Odbc Driver Free Download

0 views
Skip to first unread message

Eliora Shopbell

unread,
Jun 10, 2024, 10:37:50 PM6/10/24
to cretunpildump

We have used the 64bit ODBC driver for Sage 50 in the last few versions without problems for pushing data into a Filemaker Pro database. However, with v29 it fails and seem to enter a constantly asking for credentials loop. This does not happen in other apps so I'm not sure where the issue is and I have got around it by using a Python script which draws all the data we want into a SQLite database which FMP can read, but it seems odd. Has something changed in the ODBC for v29?

Connect using PHP odbc_connect() from Apache server running on Windows. As the Sage version changes we just install the new version driver and add a s system DSN with the and off we go.Has been fine up until v28, just add the ODBC driver to Windows as the new version arrives. v29 does not work
Error:

Sage Odbc Driver Free Download


Download Filehttps://t.co/cdASGWshxe



Connect using PHP odbc_connect() from Apache server running on Windows. As the Sage version changes we just install the new version driver and add a s System DSN with the Data Path as a network drive letter e.g. Q: (PHP maps the drive e.g. net use \\server\sage\company)
Has been fine up until the new v29

Get error:

I started writing up this question, but I found what I think is the solution in attempting to document the steps to my original failure. Can someone please let me know if I have this correct? Skip to the bottom if you want to see my solution, because in between here and there are all the steps I was testing--with increasing degrees of success--as the solution (I hope) dawned on me by degrees.

We just moved from MAS90 4 on one server (with workstation clients) to MAS90 4.5 on another server, with all clients now running the new MAS90 via RDP on the terminal server where it is installed. A couple of them now need to access the new MAS90 via ODBC (MS Query in Excel and/or MS Access). We do not want workstation access to MAS90 applications--just the ODBC driver. This is because we do not want phantom copies of old MAS90 workstation installations hanging around after future MAS90 upgrades.

Do you wan the Sage ERP MAS90 registry entries to be deleted? This will cause ODBC connections (such as, Crystal Reports or Visual Postmaster) for all Sage MAS 90 or 200 installations on this computer to fail.

This seems to infer that answering "No" will leave the MAS90 ODBC DSNs. I answered "No" and proceeded to complete the un-installation. I then successfully tested the MAS90 DSN and, sure enough, it worked--until I rebooted. Although the MAS90 driver appears on the list of drivers, any attempt to configure the existing MAS90 DSN or add a new one after the reboot is met with this message:

On the theory that pvxodbc.dll was missing from System32, I reinstalled MAS90, captured a copy of the DLL, un-installed MAS90, and went to re-copy the DLL--but there was already a copy in System32. I could have saved some time by just looking to see if it stayed there in the first place, but either way, it was to no avail, as I received the same message as above:

The module "C:\Windows]System32\pvxodbc.dll" failed to load. Make sur ethe binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files. The specified module could not be found.

That sounded awfully familar--very much like all the prior failure messages, but I noticed the reference to possible dependent DLL files, so I reinstalled MAS90 and was rewarded to find, with a bit of guesswork based on file name and date, the accompanying pvxio.dll file. I then un-installed MAS90. This DLL behaved slightly differently from the other one in that, while it remained in place in System32 until reboot, it disappeared upon reboot.

This predictably broke my DSN again, but adding it back to the registry again fixed the DSN. Then there was just one more step, based on a hunch--the deletion of the license information under this registry key (with the live informaiton replaced with dummy data, since the live data is our actual serial number):

Once again, testing revealed that the DSN required this information at runtime (popped up a dialog box asking for license information). Adding it back to the registry gave me what I think is a fully-functional DSN without a prior workstation installation on the computer. It all comes down to this now:

Now, this was 32-bit Windows 7, and I know there would be some adjustments for 64-bit Windows 7 and even perhaps for XP, but those can wait. Of course, I also had to enter the DSN configuration information (paths, etc) from a known good configuration to make a usable DSN.

I successfully added these two DLL files and the registry entries to the one computer still having a MAS90 client (to our old version, on another server, for reference purposes), first ensuring there were no naming conflicts over overlaps in registry/file names, and I was then successfully able to add a new DSN which can successfully connect to the new MAS90.

Did I miss anything, or was there (as likely as not) a simple ODBC installation routine hiding somewhere in the MAS90 folders on the server--or, worse yet, another post in this forum that explains all of this?


I do have one question, however. One of the pressing reasons for me to figure this out, but which I did not include in my post, was that the company CFO needs to retain access to the old server via his existing v4.0 workstation because it contains several old companies which they did not want to migrate to v4.5 on the new (terminal) server at this point (maybe later). It will not be in conflict with v4.5 on the terminal server, but how would I go about installing 4.5 on his workstation, as you suggest, so he can get just the ODBC driver (which is all he needs of v4.5 on his workstation)? Would that not conflict with the existing 4.0?

It comes down to this: he needs both his existing 4.0 workstation as well as the 4.5 ODBC driver on his workstation. Maybe it is a faulty assumption on my part that there would be a conflict if I were to install 4.5 on the same workstation.

Being not a MAS90 specialist, but a systems administrator responsible for the broader picture of ensuring the overall health and orderliness of both servers and workstations, I have often found two things when users remove a program folder manually without a proper uninstallation of the application:

Besides this, I find the message regarding ODBC connections failing IF the registry entries are removed somewhat misleading, since these fail even if one selects "No" at that prompt. That just made me too curious to leave this alone, so will note that about 90% of my original post was the process of getting there.

In the end, the solution was simple: copy two DLLs to System32 and double-click a .reg file to insert a few relevant registry entries. I am just a bit surprised there is no "install just the ODBC driver" option inside the workstation setup process, given how easy it would be to do it, or at least some other post here having the process I discovered through trial-and-error. All is good now, though (I think).

Your issue is that you want to run multiple installs from one desk top. That's really simple. I have 4.05, 4.10, 4.20, 4.30, 4.40 and 4.50 installed on my computer at home and run each as I need them with no issue. If he can get to the old install they just do the work station install for v.450 and give it a different name so you have two icons on your desktop and your fine.

Thank you. As I indicated, I am not a MAS90 specialist, so I am not used to programs that will allow multiple versions. Most applications I support either upgrade prior versions or conflict with them when installed.

Hello, I just wanted to add my experience with this. I did get it to work via the explanation above, although my steps were a little different because I'm on a 64 bit machine. For some reason, even though the ODBC drivers themselves are 32-bit, they sit in the SysWOW64 folder, not the System32 folder. So, here are the steps I followed to get this to work.

If you get an error like this:
The setup routines for the MAS 90 4.0 ODBC Driver ODBC driver could not be loaded due to system error code 126: The specified module could not be found. (C:\Windows\SysWOW64\PVXODBC.DLL).

...then you need to make sure you have a file called msvcr100.dll in your SysWOW64 folder. If you don't, copy it from another machine. I believe this is installed as part of C++ redistributable installs.

A little late to the party but I just wanted to suggest instead of trying to use the Sage 100 Workstation install, just install the ODBC driver from ProvideX. You can find downloads for it here =dl_optional

If you have problems getting it to recognize a license, you might actually have to do the workstation install, uninstall leaving the registry keys, and then do the ODBC install. I have had very good luck with it though.

Also wanted to point out that on a 64-bit machine, all the 32-bit files are actually in the SYSWOW64 folder, while the files in system32 are the 64-bit. Doesn't make a lot of sense, but that's what they did.

Thanks John. I actually just found this in the install guide. I've configured the driver as needed, however upon testing the odbc connection from the client (remote) workstation, I'm getting 'ISAM communication error. Any idea how I might resolve this?

Thanks for the responses all. In speaking with the client's internal IT guy, I was told that nothing was being blocked (port-wise), but he said he explicitly allowed access to that report and all was well. Thanks again.

I've been trying to install Sage 100 2013 ODBC as a service on Windows 2012. I followed the directions on Chapter 8 go Install guide and executed the pvxiosvr.exe -i thru Run. A generic windows popup prompts to confirm I want to execute the exe. After confirming i get no confirmation that the service has installed. When checking services the "Sage 100 ERP Client Server ODBC Driver Service" is nowhere to be found. Any idea what I'm doing wrong?

BTW I have been running pvxiosvr.exe as an application on the desktop for the past week. Everything works great except in the past 2 days it has been crashing and I have had to re-execute the exe to get users backup . I believe it was been crashing randomly when a user is printing. Thus the push to try running as a service.

795a8134c1
Reply all
Reply to author
Forward
0 new messages