Sales Analysis questions

new install v2.24 on server. upgrading from V2017. problems with Sales Analysis.

1. when click on most buttons, we get this error:

2.  When click on Retrieve Details, this screen appears for a few seconds, then disappears.

Please help.