Hi,
I just want to restart a Navision Client automatically. For that I wrote a simple batch file which terminates the client process (finsql.exe) using a tool similar to taskkill.exe.
Does this have negative effects to the SQL-Server when the client terminates by killing the process?
I suppose the data will be lost which has been processed by the client at the moment when the client terminates … but does this produce any inconsistence/corruptions at the server side SQL-Database?
Thanks for your help!
0
Comments
The problem can happen if there are COMMIT's in parts of a program that should be processed completely or NOT at all.
E.g. : you change dimension 1 in a table and then you do a COMMIT and then you change it in the dimension table. This should happen in 1 go.
If just after the COMMIT, there is a crash, the dimension 1 in your table will have changed but NOT in the dimension table.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Put the filter of Ideal time in Session table of few seconds, then run ur code 4 termination.Then there will be no effect on SQL DB.
Navision Technical Consultant
RIS Plus, LLC
MVP - Business Apps
I means that when session's Ideal time is more than some minutes than at that time no C/AL is running,means Line is clear thats y I gave that answer.
Navision Technical Consultant
RIS Plus, LLC
MVP - Business Apps
U are saying "The idle time will reflect that you are idle, but there's a lot of C/AL activity" please explain me which type of C/AL activity run if there IDEAL time is more than 2 minutes.
Navision Technical Consultant
RIS Plus, LLC
MVP - Business Apps