Hexagon Geospatial
MENU

M.App Enterprise

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Contributor
Posts: 64
Registered: ‎11-30-2015
Accepted Solution

Mobile App: Internal Server Error

I have followed the Tutorial 'How to setup a Mobile App' from cschwarz (link).

It works fine until running the mobile App itself. In the last step: Select your App / Wipe local data? off -> orange Button, an internal server error occurs that I have attached below.

 

What causes this error?

 

Thanks and regards,

Hella

 

Staff
Posts: 66
Registered: ‎10-25-2016

Re: Mobile App: Internal Server Error

Hi Hella,

 

do you see any error in Studio log (Security -> Logs)?

 

Regards

Christian

Contributor
Posts: 64
Registered: ‎11-30-2015

Re: Mobile App: Internal Server Error

Hi Christian,

 

that’s the file I have attached above..

 

Regards, Hella

Contributor
Posts: 64
Registered: ‎11-30-2015

Re: Mobile App: Internal Server Error

Hey,

I have still not been able to successfully create a mobile App. Meanwhile I get a different log '42P01: Relation 'Location' does not exist' (attached).

 

Do you might have an idea what I am doing wrong?

 

Regards,

Hella

Staff
Posts: 998
Registered: ‎10-19-2015

Re: Mobile App: Internal Server Error

Hi Hella,

 

Locations seems to be not in the local DB. Please check you do have it in your connectionstring (defined for the Mobile app), in the local cache (you can use the wipe local cache button to make sure you download everything from the server) and as entity in the shell.xaml file.

 

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Staff
Posts: 19
Registered: ‎10-29-2018

Re: Mobile App: Internal Server Error

Hi Hella,

 

can you try renaming your table to 'location' and see if it works?

 

Similar to Workflows, table names are not escaped and PostgreSQL driver automatically sends them lowercase.

 

Regards

Christian

Contributor
Posts: 64
Registered: ‎11-30-2015

Re: Mobile App: Internal Server Error

Hey Stefano,

 

It seems that it did not work on my localhost because i do not have an appropriate SSL certificate. 

Now that I use an installation of another server its working.

 

Thanks and regards,

Hella

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Development Ticket through our Development Ticket Portal.