I’ve been getting this error while starter DataServer :
2020-09-14 17:35:42.6938|FATAL|Microsoft.AspNetCore.Hosting.Diagnostics|Application startup exception
2020-09-14 17:35:43.7805|FATAL|Flexmonster.DataServer.Program|Data prepopulating failed
Unhandled exception. System.InvalidOperationException: Cannot read keys when either application does not have a console or when console input has been redirected. Try Console.Read.
at System.ConsolePal.ReadKey(Boolean intercept)
at Flexmonster.DataServer.Program.Main(String args)
If I execute the query manually, I get results in less than a second, what is the issue ?
Thank you for posting your question.
So far, we haven’t managed to reproduce the described behavior and it is still not entirely clear to us what might be the issue here.
Do you think you could provide us with your Data Server configurations (the
flexmonster-config.json file), log files (can be found in the
/logs folder) & a dummy data set with which the issue is reproducible?
This will allow us to take a deeper look at the issue in question and provide you with a solution faster.
Thank you in advance & looking forward to your response.
How are you?
We were wondering if you’ve received our response – is your question regarding Flexmonster Data Server error still relevant?
Please let us know what you think.