Adding a custom database connection via the Database Manager screen.
Microsoft SQL Server
Test is OK
Getting this error message:
An error has occurred connecting to the database!
Cannot read properties of null (reading 'toLowerCase')
Steps to reproduce
Database Manager
Database Connections
Add
Type = custom
Database = Microsoft SQL Server
Entered Host Port (1433) user, password, database, encrypt enabled.
Test OK
Save
what server model do you use = NodeJS
how is your database created = External Azure database. IP whitelisted
How is your database connection defined in the database manager = Custom Database
How is the database connection define in server connect globals = not sure how to respond. Under Globals > Database Connections > "Vantaca". Database Connection screen looks the same as in the Database Manager screen. Custom Database > SQL Server.
My apologies, I assumed that the database connection was OK and that the error message Cannot read properties of null (reading 'toLowerCase') was caused by the database query.
Could you try to fully refresh your database schema first in the database manager? By click on the " tables" node, then right click and from the context menu choose " refresh Full Schema"