Hi everyone,

I'm building a web/mobile app and I've run into a really frustrating problem. I can't open my database from a preview in my browser, but I can from the app builder and web preview screens? i'm trying to open it on the init of my app and do some manipulation to make sure it's set up properly before the app loads, but I can't even get past the opening part. It works fine with Southwind so I know I've done something wrong in the database itself. For reference the code in my app is:

app init delegate
Code:
var initstatus = Lianja.evaluate("appinit()");
Lianja.showNotification(initstatus,true);
appinit.prg
Code:
try
    open database mydatabase
catch
    return "unable to open database"
endtry
return "success"
This shows the message "unable to open database", but when I replace mydatabase with southwind it shows "success". Does anyone know what I could have messed up inside my database to cause this?

Oh and yes it's deployed. It's sitting in lianja\cloudserver\tenants\public\data, right next to where I deployed southwind.

Sorry if this is in the wrong forum, it's kind of an overlap between a few different topics.

Thanks for any insight you could give,
Ryan