Run Time Error 5 Invalid procedure call or argument (00000078)
The primary cause of this error is that the software cannot access necessary drives/folders on the local machine or server.
There is either a user/password/domain problem (security) or a necessary file or directory is not there at all, is not where it's supposed to be or can't be created.
The folders and files that must exist and be accessible by MaxRecall and the MaxRecall user are:
Windows\ortcloud
MaxRecall\global\mrhide
MaxRecall\### with the following sub-folders:
arc
export
filer
filer\ul
import
inbox
support
tmp
The e-mail process builds attachments in the support directory. If the file cannot be created for some reason then the email send will error out.
When we email a document, MaxRecall retrieves the doc pages and creates a temp file in the support directory with those pages. Starting in 3.2 the name of the temp file is the KeyField values of the document. Windows file naming conventions apply so the filename can not contain the following characters: \ / : * ? " | (https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions). If any of the document KeyFields contains any of those characters then you will get a runtime error 5 when trying to email the document.
Admin reports, like parser test results and management reports, are written temporarily in to the arc directory so you can get a runtime error 5 when running those programs if you don't have access to the arc directory.
It could also be the result of a MaxRecall permissions issue.
If this happens in Acquisition check to see if the user has access to the document type of the batch they are selecting. Sometimes multiple users with access to different doc types use the same Inbox so there can be batches in the Inbox that some users do not have access to. Check the batch record in the database; if there is a doc group ID in the record then make sure the batch doc type is actually part of that doc group.
If the error occurs when trying to run setup.exe check to make sure the username and user profile match - run the set command in Command Prompt, compare the USERNAME value to what's at the end of the USER PROFILE value. Older versions of setup.exe will fail when they do not match. Download and run the latest setup.exe to resolve this problem.
Related Articles
Run-time error 339 and Run-time error 7 00000088
Component "xxxxxxxx.ocx" or one of its dependencies not correctly registered: a file is missing or invalid. or Component "xxxxxxxx.dll" or one of its dependencies not correctly registered: a file is missing or invalid. Try logging on to the console ...
Run time error 6, overflow 00000048
An overflow error means that the code is trying to put a number into a variable (or property, or table column, etc) and the data type of the variable doesn't allow numbers that large. Check the data types of any variables you're working with and make ...
TAXI WRECKED
Taxi wrecked entry in lou.log files. This is not an error. This is an event. It is a symptom of another problem. It means zztaxi.exe stopped in an abnormal way. It is something that occured, most likely as a result of zzlouie.exe failing. It's ...
SQL database connection error -2147467259 and 4060 (SF 00000244)
Server rejected the connection; Access to selected database has been denied; Login failed. When starting any MaxRecall program and you receive MaxRecall's database not started error along with the standard connection failure error plus error 4060: ...
Lou Start Errors 00000177
If TPOHMS, zzhms.exe, or you are having trouble starting zzlouie.exe then check C:\maxrecall\Programs\ for a lou-start-err.txt file. If zzlouie.exe is having trouble starting then it should log an error code. Some common errors are listed here. If ...