Resolution

To resolve this error, follow the steps below:

  1. Use File Explorer to browse to the folder where the document is stored.

  2. Right-click the file and select Rename. Change the extension of the file from .docx to .zip, then select Enter.

     Note

    If you see a dialog box that asks “Are you sure you want to change it?”, select Yes.

  3. Double click the file (or right-click and select Open).

  4. Browse to the word/_rels folder.

  5. Open the file document.xml.rels file in Notepad or any text editor.

     Note

    In many cases, if you double-click an XML file, it will open in a web browser which will not allow you to edit the file. To open in Notepad, select Start and then type notepad. Start Notepad, select Open, and then browse to the folder listed in step 4. If you do not see the file, type . in the File name field and select Enter.

  6. Search the document.xml.rels file for rID8.

  7. In the example below, the target is incorrectly set to NULL:

    Console
    <Relationship Id="rId8" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="NULL"/>
    

    As a fix, replace NULL with the name of the image (which should be stored in the media folder):

    Console
    <Relationship Id="rId8" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="media/yourimagename.jpeg"/>
    
  8. Save and close the XML file.

  9. Use File Explorer to browse again to the file and change the extension from .zip to .docx.

  10. Open the file and check to see if the image appears.

Video sửa the image part with relationship id rid2 was not found