Hello Experts,
I'm new to ArcGIS Pro and ArcGIS Enterprise SDK. I'm creating an editing tool in ArcGIS Pro. I'm facing "Workspace or data source is read only" error while trying to start edit. Here is details about the issue.
I'm using ArcSDE and connected through connection properties. But when I try to start editing it returns the error.
var config = Properties.Settings.Default;
IPropertySet propertySet = new PropertySet();
propertySet.SetProperty("Database", config.SDE_Database);
propertySet.SetProperty("INSTANCE", "sde:sqlserver:" + config.SDE_Server);
propertySet.SetProperty("USER", config.SDE_UserName);
propertySet.SetProperty("PASSWORD", config.SDE_Password);
propertySet.SetProperty("VERSION", config.SDE_Version);
return propertySet;
var workspace = GetWorkspace();
return (IFeatureWorkspace)workspace;[
_workspaceEdit = (IWorkspaceEdit)featureWorkspace;
IMultiuserWorkspaceEdit muWorkspaceEdit = (IMultiuserWorkspaceEdit)featureWorkspace;
muWorkspaceEdit.StartMultiuserEditing(esriMultiuserEditSessionMode.esriMESMVersioned);
_workspaceEdit.StartEditOperation();