Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Common problems

External object types cannot contain objects that refer to another vault

Last updated on 24 June 2024

Admin
M-Files Admin

Overview

When performing a connection to an external database or a replication to another vault, you may run into the following error or similar.

MPropertyPage2.cpp, 102, External object types cannot contain objects that refer to another vault. (0x800408CC)
MPropertySheet2.cpp, 143, External object types cannot contain objects that refer to another vault. (0x800408CC)
PropertySheetObjectType.cpp, 249, External object types cannot contain objects that refer to another vault. (0x800408CC)
Item_ObjectType.cpp, 766, External object types cannot contain objects that refer to another vault. (0x800408CC)
RPCObjectTypesAdminHelper.cpp, 54, External object types cannot contain objects that refer to another vault. (0x800408CC)
RPCMethodCallWithRetry.h, 149, External object types cannot contain objects that refer to another vault. (0x800408CC)
RPCMethodCallWithRetry.h, 149, External object types cannot contain objects that refer to another vault. (0x800408CC)
RPCObjectTypesAdmin.cpp, 2071, External object types cannot contain objects that refer to another vault. (0x800408CC)
RPCObjectTypesAdmin.cpp, 725, External object types cannot contain objects that refer to another vault. (0x800408CC)
RPCObjectTypesHelper.cpp, 9979, External object types cannot contain objects that refer to another vault. (0x800408CC)
(M-Files <version> <timestamp>)

Solution

The error is generated because one, or both, of the vaults have what are called stub objects in the vault and an external database (SQL) is being used. If External Objects (objects coming from an external DB) are being used, they cannot point to another vault. The stub objects and external databases don't work well together. Normally, two or more vaults should be able to use an external connection pointing to the same space.

Stub objects can be found by searching the vault through Advanced Search -> Additional Conditions -> Object Flags = Shortcuts.

The resolution to this issue can be one of several options so please consider all options before moving forward.

  1. The stub objects could be imported to the vault with stub objects to turn them into full objects.
  2. Remove all the stub objects from the vault with stub objects. They will need to be destroyed, not just deleted.
  3. Update the metadata structure or the information being pulled from the external DB to not depend on or use the stub objects.

Relationships Between Objects in Separate Vaults

Still need help?

On this page