[Python] How to create multiple connections with Advantage database server at same time?

Discussão em 'Python' iniciado por Stack, Abril 11, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to integrate alongside an existing application that uses ADS as its database.

    When I connect my integration app using the code below it connects fine until I try and run the original application at the same time. It seems to only allow one connection, my application seems to hold the connection and block all others. Yet I can have multiple instances of the original application running concurrently with no issue. Which leads me to believe that its the way in which i am trying to correct from my c# app. The error im getting when the original app is open and i then try to connect with my integration app is "The Advantage Data Dictionary cannot be opened. axServerConnect" .


    Error 7077: The Advantage Data Dictionary cannot be opened. axServerConnect
    ​

    Anyone any suggestions? How to create a multiple connection at same time?

    Python code:

    conn = adsdb.connect(DataSource=str(dbpath[0]), ServerType='local',
    UserID = config.ADS_USERNAME, password=config.ADS_PASS)

    Continue reading...

Compartilhe esta Página