I can´t store database connections. Even if i enter the database credentials wappler looses this data and i have to re enter it.
In the server actions tab i cant access the database credentials any more. If i click on “Add database connection” a new database connection apperas - but i can only enter a name - no credentails. Exsiting actjon scripts work (and i can add new database inserts etc.), but new scripts don´t.
…
Steps to reproduce
Add new action script
Click in Add database Connection
empty Action step appers - i can enter a name - but no credentials.
resulting error in action script: “Connection String is Required”
i have done that. First step: Defined the connection under globals. “Test connection” shows “OK”. When I open this dialog again (after some time), it automatically switches from “SQL Server native” to “SQL Server” and the Credential fields (Server address and Database) are empty. Switching back to “SQL Server native” brings back the credentials….?
I don;t understand what you issue is - when you open your database connection options to edit them ,they just reset and show a different database type selected? Is that the problem?
i connect to ms sql server 2016 - if i set up a new action script, everything works. Existing scripts don´t. It just looks, as if my older project is not compatible to some update (project is 8 months old). A lot of things don´t work anymore. Another example: Form validation crashes as well:
So if you create a new global connection and use it in new server actions, then it works.
If you create a new global connection and select it in some of the existing ones it doesn’t?
Also - are you using different db connection details per different targets?
Try deleting the whole dmxConnectLibrary locally, save ANY of your server actions, the folder will be recreated. Upload the newly created folder to your server.
Using the global database option you don't need to use the database connection step in your server actions.
Please check the:
However old server actions using your previously defined database connections should work perfectly fine. Probably you changed something that broke them.