Import procedure freezes server on RecordNew
Aldevinas Katkus
5-24-21
Operating system: Windows
I have this code in file import procedure which runs via Technics>>settings>>timed operations>>HAL routine each 180 secs.

record NotepadVc Noter;
...
LogText(0,"1");
OpenFile(filename);
LogText(0,"2");
RecordNew(Noter);
LogText(0,"3");
RecordNew(IVr);
LogText(0,"4");
LogText(0,"file opened testf=" & testf);


An excerpt from the log log:
2021-05-24 15:22:38 1
2021-05-24 15:22:38 2
[no more lines here until I force close the server]


Q: Why it does not like RecordNew(Noter) and freezes here

I have tried to run in single user and server modes. No difference.
version 8.5 2021-04-18 (build 85360453).
Aldevinas Katkus
5-25-21
Problem solved.
It was a side effect of duplicate global procedures with different number of arguments.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Aldevinas Katkus
I confirm v. 2024-03-16 has issues. v. 2024-12-03 also had the same issue, but "less expressed"....
11:13 2 May 2024
Hi, No changes should have been made that would increase client's HDB file. Please try to delete HANSA.HDB from client folder and reconnect to server and check if it will grow to 30MB again. ...
10:14 30 Apr 2024