POST
|
Thanks Rebecca, will give a try and get back to you!!
... View more
01-07-2016
08:33 PM
|
0
|
0
|
759
|
POST
|
Thank you for your reply Rebecca, That sounds great! I will definitely give a try. But, do I have to create new version each time?
... View more
01-06-2016
10:42 PM
|
0
|
2
|
759
|
POST
|
Thanks Vince and Derek, Thanks for your replies.. I am using Enterprise SDE, and using SDE.QAQC version Datasource. Issue is, users can edit the data from any locations if there is no edit conflicts. However, when multiple users try creating features at same time, SDE allows only one user to save edits, and the others are thrown exceptions like .. 1. "Objects in this class cannot be updated outside an edit session" 2. "The version has been redefined to reference a new database state. " 3. "Exception from HRESULT:0x80041055" 4. "The Work Space cannot being edited. [SDE.QAQC]" etc., Now, I don't understand where the issue is? I have used IMultiuserWorkspaceEdit muConsumerWorkspaceEdit = (IMultiuserWorkspaceEdit)pConFtrCls.FeatureDataset.Workspace; IWorkspace pConWrkspce = pConFtrCls.FeatureDataset.Workspace; IWorkspaceEdit pConWorkspaceEdit = pConWrkspce as IWorkspaceEdit; .... if (!muConsumerWorkspaceEdit.SupportsMultiuserEditSessionMode(esriMultiuserEditSessionMode.esriMESMVersioned)) { throw new ArgumentException("The workspace does not support versioned editing."); } muConsumerWorkspaceEdit.StartMultiuserEditing(esriMultiuserEditSessionMode.esriMESMVersioned); if (pConWorkspaceEdit.IsBeingEdited()) { pConWorkspaceEdit.StopEditing(true); } pConWorkspaceEdit.StartEditing(false); pConWorkspaceEdit.StartEditOperation(); ESRI.ArcGIS.Geodatabase.IFeature pConsumerFtr = pConFtrCls.CreateFeature(); //Then I am filling the shape and all other attributes.. //Then storing the feature pConsumerFtr.Store(); pConWorkspaceEdit.StopEditOperation(); ///////////////// Please help.. I am not understanding where I went wrong. Seems everything fine. Still, multiuser editing is not happening.
... View more
01-06-2016
10:00 PM
|
0
|
6
|
759
|
POST
|
I have written code for multi user editing for our project. However, two users cannot edit the features at same time. Please help
... View more
01-05-2016
11:50 PM
|
0
|
9
|
3421
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|