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
Gastón Salomone
Hi David, Since this happend in a timed task and its a memory problem, system crash and there are not any messages in hansa.log In hansa log. last lines are following: 2025-04-24 22:48:20 runn...
16:15 25 Apr 2025
Paul Timms
Thanks David! I'll give that a go and confirm if that works. Paul...
10:54 23 Apr 2025