A client was experiencing the following symptoms in version 10.4 using Sybase: The user would attempt to open a new batch by clicking the New button and nothing would happen. If the user would try to click on an existing open Batch then the following error message would occur:
(Click on the image to get a better view of it.)
The solution to this problem was to replace the IMISAR.lbr file on this user's computer.
What's funny about the corrupted .lbr file problem is that you never can really tell how it might behave. The same file might get corrupted and display completely different strange behavior. So here's my checklist of conditions that should make you suspect that a corrupted file is the cause of the problem you are seeing:
- The problem is limited to a single workstation.
- The problem is not iMIS user-specific. That is, no matter what log in you use on that same computer--including MANAGER!SA or (MANAGER!DBA), the problem occurs.
- The problem is limited to a single module. In this case, I didn't know at first if there was some sort of issue with the ODBC configuration on this computer but since the user can insert into Name or for an Event registration, then it's not likely to be the ODBC configuration.
- It's kind of funky -- strange behavior you've not seen or heard of before. It's no known bug. And the user's computer has been working fine in the past.
And in case you are wondering how a file gets corrupted in the first place, it will happen sometimes if your computer crashes. A power failure or any other reason you reboot while you were in iMIS are typical scenarios.
This problem doesn't come up all that often, at least amongst my clients. I think I run into it maybe once or twice a year. Just get a new, fresh copy of the .lbr and if it resolves the problem, then you know corruption was the issue. If you can't easily find a new, unused version of the file, you can also grab one off a computer that is not experiencing the problem. But I prefer to grab a brand new copy if at all possible.