I cannot edit an ArcSDE database from multiple computers on a LAN network using a custom ArcGIS Engine application, I have tried both versioned and non-versioned feature classes, but they cannot be edited from more than one computer.
Inside the custom ArcGIS Engine application, for every single operation (Create, Remove), I open and close an edit session.
Any advice or experiences are welcome as why I may be unable to edit an ArcSDE database from multiple computers on a LAN network using a custom ArcGIS Engine application?
I tried to edit the same feature classe from 2 computers in the same time , but when i closed the edit session in the second computer, it gimme this error Your edits could not be saved because the target version has been updated since you started editing. These edits have been merged into your edit session. Review the changes and save again.
i'm editing feature classes like in this example :
IWorkspaceEdit workspaceEdit = (IWorkspaceEdit)DB_Access.get_obj().ws;
workspaceEdit.StartEditing(true);
workspaceEdit.StartEditOperation();
IFeatureClass fc = DB_Access.get_obj().ws.OpenFeatureClass("points");
IFeature f = fc.CreateFeature();
f.set_Value(fc.Fields.FindField("name"), "name_of_point");
f.Shape = geometry;
f.Store();
workspaceEdit.StopEditOperation();
workspaceEdit.StopEditing(true);
ITable.Update
,ITableWrite.DeleteRows
)? How are you starting and stopping the edit session (IWorkspaceEdit
,IMultiuserWorkspaceEdit
)? What do you mean you cannot save the edits? Do you get an exception? Or are you checking something likeIWorkspaceEdit.HasEdits
?