Summary
Invalid table: [TABLE]; Could not be linked as tree.
Symptoms
When running an installation, Error 2705 occurs in the following format:
Invalid table: [TABLE]; Could not be linked as tree.
resolves to an MSI table name.
Cause
Some MSI tables have columns that reference other columns within the same table or possibly other tables. Error 2705 occurs if a column references a value in another column, but there is an invalid or missing value in the referenced column(s).
This error normally occurs because of an invalid directory table entry in which an entry has a Directory_Parent value that does not exist in the Directory column. Take the following directory table example:
| Directory | Directory_Parent | DefaultDir |
|---|---|---|
| INSTALLDIR | TARGETDIR | .:MyFolder1 |
| TARGETDIR | SourceDir | |
| MYDIR2 | MYDIR1 | .:MyFolder3 |
In this example, error 2705 occurs because the Directory MYDIR1 does not exist in the Directory column.
Resolution
To resolve this issue:
- Select the Direct Editor view.
- Find the MSI table that was displayed in the error message.
- Analyze the entries in the table's columns to see if they depend on one another as they did in the Directory table example under the Cause section.
- After finding the invalid entry, modify it accordingly.
The solution to the Directory table example could be:
| Directory | Directory_Parent | DefaultDir |
|---|---|---|
| INSTALLDIR | TARGETDIR | .:MyFolder1 |
| TARGETDIR | SourceDir | |
| MYDIR2 | TARGETDIR | .:MyFolder3 |
Notice that the Directory_Parent column of the MYDIR Directory has been changed to TARGETDIR. Changing the value to INSTALLDIR would also resolve the issue.
Additional Information
If the entry causing the error is not easily revealed, try running validation:
- Select Build > Validate > Full MSI Validation Suite.
- After running validation, scan through the validation errors and see if any ICE03 errors occur that mention "Not a Valid Foreign Key" in the error message.
- Fix the validation error. This will most likely resolve error 2705 as well.
For more information on the Directory table, see the Windows Installer Help Library topic Directory Table.
For more information on error messages, see the Windows Installer Help Library topic Windows Installer Error Messages.
For more information on ICE03, see InstallShield Knowledge Base article Q107569 ERRDOC: Validation Error ICE03.
Related Articles
Windows Installer Error 2705 3Number of Views Windows Installer Error 1310 3Number of Views Windows Installer Error 1923 13Number of Views Windows Installer Error 1920 24Number of Views Windows Installer Error 2732 6Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago