Looking for something?

You will find your answers here!

    Sorry, we didn't find any relevant articles for you.

    Send us your queries using the form below and we will get back to you with a solution.

    Error: There was an error connecting to Sage 50

    Products

    Sage 50 and Sage Exchange Desktop


    Description

    There was an error connecting to Sage 50.

    Pervasive.Data.SqlClient.Lna.w: [LNA][Pervasive][ODBC Engine Interface][Data Record Manager]Non-db file or corrupted db.


    Resolution

    This error occurs when the Sage 50 common file "c:\Program Files(x86)\Common Files\Peach\peachtree240.ini" file is pointing to a valid directory but the directory does not contain a valid company file. This file will need to be edited to have the "DATAPATH=" the correct company folder for Sage 50.
    You can find the company folder in Sage 50 under System Company Maintenance > Directory

    You should leave off the last part of the Directory that references the exact company file. In this example, it would be "click top".


    If you have questions or require additional information, please submit a ticket and we will be in touch with you shortly.



    Was this article helpful?

    Still can't find
    what you are looking for?

    Our award-winning customer care team is here for you.

    Contact Support

    Knowledge Base Software by