We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Error with generated PST

Hi,

We are using using the Aspose library to generate PST file. However, running ScanPST.exe against the generated PST results in a failure with the following error “Internal errors were found in this file. They must be repaired for this file to work correctly.”.

Here is the log:

**Attempting to walk all folders

        !!Object (nid=8105) has sub-object (tag=3701000D) with invalid size (computed=13098, actual=15884)

        !!Attachment (nid=8105) missing or invalid PR_ATTACH_SIZE

      !!Attachment table for 200584, row doesn't match sub-object:
        irow = 1, RowID = 8105

    !!BTH node (nid=2003C4, hid=40), keys not ascending (dwkey=C6941009, dwkeyPrev=C6991009)
  !!Contents Table for 8082, sub-object has invalid parent NID:
    irow = 29, RowID = 2003C4, ParNID = 0

      !!Message (nid=2003C4):
        Invalid parent (nid=0)
        Missing PR_MESSAGE_CLASS
        Missing PR_MESSAGE_FLAGS
        Missing PR_SEARCH_KEY
        Missing PR_CREATION_TIME
        Missing PR_LAST_MODIFICATION_TIME

  !!Contents Table for 8082, row doesn't match sub-object:
    irow = 29, RowID = 2003C4

**Attempting to locate any orphaned folders/messages

**Performing final HMP validation

**Attempting to check top-level objects for consistency

  ??Deleting SDO

**Updating folder hierarchy

Does anyone have any idea why this is happening?

Thanks in advance!

@devbittitan

Please provide sample project including code for generating and reading PST file. So that we could investigate the issue.