Uniface User Forum

 View Only
  • 1.  Database Connection Failed: status = -9

    Posted 07-29-2021 09:31

    Hello,

    I have received the following error (see attached image)

    This error occurs every time I start up Uniface 10 - IDE.

    Does anyone know what the cause of this issue is or the solution for it?

    Thanks.



  • 2.  RE: Database Connection Failed: status = -9

    Posted 07-29-2021 10:15

    Hi Jurien,

    Something it is mis-configured...

    Have you modified/manipulated your ASN file into ADM directory?

    What are you trying to achieve?

    Regards,
    Gianni



  • 3.  RE: Database Connection Failed: status = -9

    ROCKETEER
    Posted 07-29-2021 10:27

    -9 is usually returned in the event of a login error.

    Your problem might be in dbms.asn,, or any .asn you have created that overrides these settings. It would typically be something like the database login path username and password, but if you're using SQLite (single user) with the community edition it wouldn't supply those, and would just point to the database file, e.g.

    $DBMS        SLE:.\dbms\usys.db

    As that is a relative path, perhaps you have changed the working folder in the shortcut?

    Regards,

    David



  • 4.  RE: Database Connection Failed: status = -9

    Posted 07-29-2021 10:38

    Hi Jurien

    Add an /pri=1023 into the shortcut to your IDE
    Like:  x.\somepath\idfeexe /pri=1023 /asn=... /ini =

    Or into the ASN-file undersettings
    [settings]
    $ioprint=1023

    Than have a look into the LOG-file.
    maybe there is the/a cause of the error

    And don't forget to remove /pri or $ioprint after testing, else your IDE could be slower the normal 🙂

    Ingo