• SAGE 50 SDK - Company Open Works on Server but not on Workstation

    I have written an application to post general journals to SAGE 50 using data from a point of sale application. The program works fine on the server where the company files are located but when we moved the application to a workstation where the accounting…
  • Error when using UNC Network path to connect via latest .NET SDK (2021.1)

    Hello: I have been experimenting with the latest version of the .NET SDK (2021.1). My configuration uses UNC network paths and not mapped drives. When I try to run any of the sample applications, I get the following error: Object must be a root directory…
  • The company could not be opened because the file COMPANY.DAT is missing or damaged.

    I have a third party application that integrates with Sage 50. After a client has copied their sandbox company to a new file for their production company, I am no longer able to open the Sage 50 company and receive the following error: I have seen…
  • Error installing console app

    FormerMember
    FormerMember
    I have created a windows service in a console application using TopShelf library. If i run the app directly it works but i when I try to install it I get an error of Unhandled Exception: System.ArgumentException: Specified directory could not be found…
  • There was a problem opening company.: (inner exception: FileNotFound)

    var companyId = GetCompany(); try { // Request authorization from Sage 50 for our third-party application. AuthorizationResult authorizationResult = Session.RequestAccess(companyId); This line Session.RequestAccess throws a PeachtreeException: FileNotFound…
  • how to add Prepayment to Customer in Peachtree with help of API

    hi, from last few days i am searching on how to add prepayment to customers in Peachtree, I need to replicate below mentioned functionality of Sage 50 in my app using API - Receive Money ~> Receive Money from Customer - select customer - check…
  • Specified directory could not be found Parameter name: s:\company

    So I am trying to use the Sage 50 API in a web application. The Web App will generate invoices and send them to Sage 50. Now the data is stored on another server at \\serverName\peachtree. I have this mapped to my S drive on the server and have that user…
  • How to overwrite the sales tax using sdk

    We want to be able to write the Sales tax of a document back to sage using a third party application. From the .net dll, we have understood that the sales tax can only be calculated but not written to. But we want to know if there is any way we can edit…
  • SDK Performance is tooooo slow

    Hi, I have sage 50 accounting, the data are on a local server (within same network). We have no issue with the performance when using Sage 50 but when using the SDK it's really [:@]tooooooooooooo[:@] slow Listing companies takes 45 seconds! Finding…
  • CriptographicException and System.InvalidOperationException

    I can hit all the sample databases and my private database locally; however, when deployed I get this exception: System.Security.Cryptography.CryptographicException","StackTrace": " at Sage.Peachtree.API.PeachtreeSession.VerifyOrRequestAccess(CompanyIdentifier…
  • What options do I have to utilize API for grabbing real time data?

    Wondering if anyone has experience with an integrator or service that could help me pull real time data out of Sage 50? For example, a high-level goal would be to display an open orders report compiling new sales orders as they are entered and pulling…