Skip to main content

Database Connection Failed: status = -9

  • July 29, 2021
  • 3 replies
  • 0 views

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.

3 replies

Gianni Sandigliano
Forum|alt.badge.img

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.

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


David Akerman
Forum|alt.badge.img

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.

-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


Ingo Stiller
Forum|alt.badge.img+3
  • Participating Frequently
  • July 29, 2021

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.

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