Solved! Go to Solution.
NIM073706: Running the Add Attachments geoprocessing tool returns the green warning message, "Cannot add file 'C:\student\seattletrips.jpg' to feature with OID = 1" when adding attachments to a target dataset that is registered as versioned.
Version found: 10.1
The documented workarounds for the bug are -
Workaround1: Run the tool on a file geodatabase then copy/paste back into sde.
Workaround2: Make a copy of the feature class in sde and run the tool on the copy without registering it as versioned.
Please keep in mind there are negative implications to unregistering a feature class as versioned. To minimize these, I would recommend taking a full, verified backup and compressing to a state 0 before unregistering the feature class as versioned and adding attachments.
Below is a link to the resource center documentation which discusses unregistering the data as versioned. It mentions steps needed to carry out to prevent data loss when you unregister data as versioned.
NIM073706: Running the Add Attachments geoprocessing tool returns the green warning message, "Cannot add file 'C:\student\seattletrips.jpg' to feature with OID = 1" when adding attachments to a target dataset that is registered as versioned.
Version found: 10.1
The documented workarounds for the bug are -
Workaround1: Run the tool on a file geodatabase then copy/paste back into sde.
Workaround2: Make a copy of the feature class in sde and run the tool on the copy without registering it as versioned.
Please keep in mind there are negative implications to unregistering a feature class as versioned. To minimize these, I would recommend taking a full, verified backup and compressing to a state 0 before unregistering the feature class as versioned and adding attachments.
Below is a link to the resource center documentation which discusses unregistering the data as versioned. It mentions steps needed to carry out to prevent data loss when you unregister data as versioned.