lee mcdermott Posted April 4, 2017 Posted April 4, 2017 Hi, We are due to go live on Monday, so wanted to run the clean utility early to make sure all is well. However I get the following error also conf file attached. I tried initially to do just change requests, then problem. But it failed with the same error. So went for all requests but still got the same. Any ideas?
Lyonel Posted April 4, 2017 Posted April 4, 2017 @lee mcdermott I am not an expert at all with this ( @TrevorKillick usually is the master in my personal experience) but I was reviewing the source code of the utility (https://github.com/hornbill/goHornbillCleaner/blob/master/hornbillCleaner.go) and here is the piece of code failing: If my understanding is correct, something went wrong when executing the SQL statement to count the number of records. This is done via the API method "sqlQuery" under data: https://eurapi.hornbill.com/northumberlandcc/xmlmc/data/?op=sqlQuery Which makes me wonder: did you change the rights of the admin account? Last time I had a similar message was because I removed a role from the admin account by mistake. 1
TrevorKillick Posted April 4, 2017 Posted April 4, 2017 @lee mcdermott If you run it again and look at the EspServerService log file you should see the reason for the API call failure logged. Kind Regards Trevor Killick
Steve G Posted April 4, 2017 Posted April 4, 2017 Hi @lee mcdermott This is most likely due to the following system setting being set to off: security.database.allowSqlQueryOperation With this set to Off, the sqlQuery API is disabled by the platform. Switch this setting to On for the duration of the clean, before switching it back to Off again when the clean is complete. Hope this helps, Steve 2
lee mcdermott Posted April 4, 2017 Author Posted April 4, 2017 great. Thanks all for responding much appreciated. I have tried the setting the allow sql query to on and this has done the trick. thanks again. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now