Thank you for your help, Bert.

Since I have already been working with Guardian Angels, I did not want to try multiple things, at the same time. And yesterday, they solved the problem.

The Guardian Angel uploaded the codes and meds database from his server. He was able to reproduce the problem on his server and said that these databases were corrupted because the first Guardian Angel, who changed the permission on Amazing Charts folder, [after SBS upgrade] forgot to change the permissions on meds and codes database folders. As a result, the main database lost connection with the meds and codes databases. And that is why, the definition check was failing.

So he fixed the problem by uploading these codes and meds databases from his server and then reinstalling Amazing Charts, and changing the permission on all the folders.

I do not understand databases and permissions much, but it seems the lesson is that you have to change permissions on the main Amazing Charts as well as all the subfolders.

As you know, the original problem was that after the SBS 2011 server software update, the clients could not access Amazing Charts database on the server. At that time, first guardian angel found out that the server update reset the permissions and he changed the permission of the Amazing Charts folder and I was able to access the database from the client computers again. After that, check database was failing.