1. Beatrix Willius
  2. Valentina Server
  3. Montag, Februar 17 2020, 04:38 PM
  4.  Abonnieren via E-Mail
As mentioned I'm doing a server management module for my app. Today I got twice an error about a tiny little database having an invalid database name. See screenshot. Why does the code work most of the time but not at others?

Am I doing something wrong?

Xojo 2019r3, High Sierra, Valentina 9.8
Anhänge
Kommentar
There are no comments made yet.
Ivan Smahin Akzeptierte Antwort
I guess it is result of some interrupting debug session or some manual manipulation with master db.
Please check master.sysdatabase table. I guess - there are no records containing "usergroups" in fld_name.
It means the db "usergroups" is not registered under vServer.
Kommentar
There are no comments made yet.
Beatrix Willius Akzeptierte Antwort
If I don't have an evil twin then there is nobody else besides me testing. I also didn't do any manual manipulations of the master database.
Kommentar
There are no comments made yet.
Ivan Smahin Akzeptierte Antwort
So the db was never registered to the server. You should call "Server.RegisterDatabase" or do it via SQL before "db.Open" call.
Kommentar
There are no comments made yet.
  • Seite :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories