DFIC Errors 400 through 430 - Journal Attachment Errors

Last reviewed: 10/23/2009
Article ID: R11008

The information in this article applies to:

Summary

Data File Integrity Check (DFIC) error codes 400 through 430 indicate that problems have been found relating to attachments saved in the Journal file. The Data File Integrity Check will look for these errors only when the Check E-mail Attachments check box is selected. If these errors are detected when the DFIC is run with the Read Only check box cleared, PracticeMaster will correct many of these errors automatically.

More Information

When an e-mail message containing one or more attachments is saved as a journal record, the attachments are saved in CMARC*.* files, which are located in the current working directory. The journal record and the attachments contain links to each other, making it possible to locate and access the attachments via the e-mail journal record.

When the Check E-mail Attachments check box is selected, the DFIC checks the links between the journal records and the attachments to make sure they are valid. Error codes ranging from 400 to 430 are reported if problems with the links are detected. If these errors are detected when the DFIC is run with the Read Only check box cleared, PracticeMaster will correct many of these errors automatically and they will not appear the next time the DFIC is run.

Error Codes

401 - Error occurred while loading the Object Store

This error typically occurs if there is a low memory condition, in which case PracticeMaster or other programs may crash. If you receive this error, reboot your computer and run the DFIC again. If the error persists, contact your network administrator or computer technician.

402 - Specified data file not found

The DFIC performs multiple "passes" of the data, with each pass checking for certain types of errors. The first pass determines which attachment files are present. If one of those files is no longer present in a later pass, error code 402 will be reported. If you receive this error, you must restore your PracticeMaster data from a backup.

403 - Data file size invalid

This error is reported if the function that checks the size of the CMARC*.DAT file returns an invalid file size. If the DFIC is run with the Read Only check box cleared, this error is fixed automatically and will not occur again. If the DFIC is run with the Read Only check box selected, the error will persist.

404 - Data file record count invalid

This error is reported if the function that checks the number of records in a CMARC*.DAT file returns an invalid number. If the DFIC is run with the Read Only check box cleared, this error is fixed automatically and will not occur again. If the DFIC is run with the Read Only check box selected, the error will persist.

405 - Data file record invalid

This error indicates that there is a problem with an attachment in the CMARC*.* files. This may be caused by improperly restoring some CMARC*.* files without restoring them all. If this error is present, the DFIC may crash with a fatal error before completion. If you receive this error, reindex the E-mail Attachments file (located under Miscellaneous Support Files in the Reindex Files program). It is not necessary to compact the file when reindexing. If the reindex completes without a fatal error message, run the DFIC a second time. If the reindex crashes with a fatal error, or if the error 405 persists in the second DFIC, you must restore your data from a backup.

406 - Archive record not found

This error is reported when the DFIC finds an attachment in the CMARC*.* files that is linked to a journal record that does not exist (i.e., an "orphaned" attachment). If the DFIC is run with the Read Only check box selected, an error 406 will be reported but cannot be automatically corrected. If the DFIC is run with the Read Only check box cleared, an error 430 will be reported for each error 406 indicating that a journal record was created, which fixed the error.

407 - Archive record corrupt

This error is reported when a journal record contains a field that refers to an attachment in the CMARC*.* files, but the field containing the reference is corrupt. If the DFIC is run with the Read Only check box cleared, this error is fixed by rebuilding the archive field and the error will not occur again. If the DFIC is run with the Read Only check box selected, the error will persist.

408 - Item ID not found in archive record

This error is reported when a journal record contains a field that refers to an attachment in the CMARC*.* files, but the field containing the reference does not include the item ID of the attachment. If the DFIC is run with the Read Only check box cleared, this error is automatically fixed by adding the item ID back to the archive field and the error will not occur again. If the DFIC is run with the Read Only check box selected, the error will persist.

409 - Invalid item ID

This error is reported when the item ID stored for an attachment is invalid (e.g., if the item ID is negative or contains a decimal, etc.). This most likely indicates that a journal record's link to an attachment is corrupt. When the DFIC is run with the Read Only check box cleared, the link is removed from the journal record and the error will not occur again. If the DFIC is run with the Read Only check box selected, the error will persist.

410 - Unable to update item in archive record

This error is reported when another error required the DFIC to update a record with the item ID of an existing attachment, and an error occurred. If you receive this error, run the DFIC a second time. If the error persists, you must restore your PracticeMaster data from a backup.

411 - Unable to create archive

This error is reported when another error caused the DFIC to attempt to recreate the field containing a link to an attachment, and that creation failed. If you receive this error, run the DFIC a second time. If the error persists, you must restore your PracticeMaster data from a backup.

412 - Archive field has an invalid type

This error is reported when the Journal file field referenced by an attachment has the wrong field type. The attachment is then treated as an orphan. This error code is only reported if the DFIC is run with the Read Only check box selected. If the DFIC is run with the Read Only check box cleared, an error 430 is reported instead, indicating that a journal record was created, which fixed the error.

413 - Object Store index not found

This error indicates that an index that should have been in the index file (CMARC0.IDX) was not found. If the DFIC is run with the Read Only check box cleared, the appropriate index is added and this error will not be reported again. If the DFIC is run with the Read Only check box selected, the error will persist.

414 - Invalid Object Store index

This error indicates that an index in the index file (CMARC0.IDX) does not have the correct index value. If the DFIC is run with the Read Only check box cleared, this error is automatically corrected and will not be reported again. If the DFIC is run with the Read Only check box selected, the error will persist.

415 - Unable to retrieve item from archive

This error may result from a memory problem. If you receive this error, use the following procedure to troubleshoot:

  1. Reboot the workstation.
  2. Run a second DFIC, making sure the Read Only check box is cleared.
  3. If the error 415 persists, you must restore your PracticeMaster data from a backup.

416 - Unable to retrieve item's contents from Object Store

This error code indicates that an error was encountered while trying to retrieve an attachment's contents. This error usually means that an item cannot be found in the CMARC*.* files. If the DFIC was run with the Read Only check box selected, PracticeMaster will not correct the error. Start a new DFIC with the Read Only check box cleared.

When the DFIC is run with the Read Only check box cleared, the link is removed from the journal record. Run the DFIC a second time with the Read Only check box cleared to ensure that the error 416 is no longer reported. If the error persists, please call our Technical Support Department.

417 - Invalid field name

This error is reported when the field name stored in an attachment is not the name of an existing field in the linked journal record. The attachment is treated as an orphan. This error code is only reported if the DFIC is run with the Read Only check box selected. If the DFIC is run with the Read Only check box cleared, an error code 430 is reported instead, indicating that a journal record was created, which fixed the error.

418 - Unable to update Object Store index

This error code is reported when another error causes the DFIC to update an index value in the CMARC0.IDX file, and an error occurs while trying to update the index value. If you receive this error, run the DFIC a second time, making sure the Read Only check box is cleared. If the error 418 is not reported, it has been corrected. If the error persists, you must restore your PracticeMaster data from a backup.

419 - Object Store data record has 0 size

This error indicates that an attachment record in the CMARC*.* files has a size of 0 bytes. Normally, if an e-mail attachment with a size of 0 bytes is received, it is not saved as a record in the CMARC*.* files. Therefore, the presence of a 0 byte record indicates possible corruption. If the DFIC is run with the Read Only check box cleared, PracticeMaster attempts to correct this error automatically by deleting the attachment. If the DFIC is run with the Read Only check box selected, PracticeMaster will not fix the error, so you must run a second DFIC with the Read Only check box cleared.

If the error persists when running a DFIC with the Read Only check box cleared for the second time, you must restore your PracticeMaster data from a backup.

430 - Journal record created for orphaned attachments

This is not an error. It is simply a message indicating that orphaned attachments (i.e., attachments for which there is no corresponding journal record) were recovered by creating a new journal record containing links to the items. This error code provides the ability to drill down to the new record. The new journal record will also include a description of the items in its Comments field, with the following information:

Attachments recovered from system: PracticeMaster, Area of Practice Name: <AOP name>, 
Area of Practice File Name: <AOP file name>, Sequence Number: <sequence number>, 
Field Name: <field name>

Note: If the e-mail attachment index is enabled, that index must be updated after a DFIC error 430 is encountered in order for any recovered attachments to be searchable.

References


© 1999-2010 Software Technology, Inc.   All rights reserved. Terms of Use
The maker of Tabs3 and PracticeMaster
Tabs3, PracticeMaster, and the “pinwheel” symbol (The "Pinwheel" symbol is a Registered Trademark of Software Technology, Inc.) are registered trademarks of Software Technology, Inc.
e-Mail Suggestions for the Knowledge Base to: kb@Tabs3.com
Technical Support via e-mail is not available.
Knowledge Base:   http://support.Tabs3.com
Web Site:   http://www.Tabs3.com