Select to view content in your preferred language

Offline packaging fail

266
6
4 weeks ago
Y_Chau
by
Frequent Contributor

Offline packaging fails for a dataset I want edit in Field Maps. Using Enterprise 11.4, only archiving is enabled on the dataset, no versioning. Server log produces this warning for 4 layers in the feature service -

Warning: RelationshipClass: INTDB.DBO.<layer> ATTACHREL: inputCount: <no. of records>. Keyset-based join Query for SRC. GetObjectsRelatedToObjectids failed

Please advise how to fix this.

Sincerely 

6 Replies
HannesVogel
Frequent Contributor

did you enable GlobalIDs before activating attachments?

0 Kudos
Y_Chau
by
Frequent Contributor

Yes, and the relationship to attachment tables is based on GlobalIDs.

0 Kudos
DanielFox1
Esri Contributor

@Y_Chau 

What size are the attachments? Are you able to package the area without attachments?

If you don't need attachments here is the documentation on how to remove them 

https://pro.arcgis.com/en/pro-app/tool-reference/data-management/remove-attachments.htm

0 Kudos
Y_Chau
by
Frequent Contributor

Hi @DanielFox1 

I want to collect attached photos but there are no attachments still. About 15k records only. When I disable attachments and try to package, it fails. Surprisingly no error in logs even after increasing the logging level to debug.

Sincerely

0 Kudos
DanielFox1
Esri Contributor
0 Kudos
Y_Chau
by
Frequent Contributor

Yes, it checks all the bullets. I have done it many times. It was actually working fine in 11.3. Then we upgraded and also made some schema changes. We rolled back the schema changes and still can't get rid of this problem.

Even if I remove attachments I can't take it offline. Now it doesn't even leve any warning in server logs.

0 Kudos