Ownership-based access control does not permit this operation on this feature. : The service does not have "create" capability.

3217
3
Jump to solution
07-22-2015 12:02 PM
RonVincent
Occasional Contributor

I'm trying to create a new point feature in a Runtime geodatabase but when my code gets to this line:

var recNo = await featureTable.AddAsync(newFeature);

I get the error in the title of this discussion:

Ownership-based access control does not permit this operation on this feature. : The service does not have "create" capability.

Anyone else seen this and know how to resolve it? I'm running VS2013, Runtime 10.2.5.

Thanks!

0 Kudos
1 Solution

Accepted Solutions
AnttiKajanus1
Regular Contributor II

It sounds like the user doesn't have permission to create new features to that service or service doesn't allow updates/creates.

  • Check that FeatureService that is used has necessary capabilities enabled
  • Check that user has permission to do so
  • Check that user is authenticated correctly

If these doesn't help, could you provide small reproducer?

Cheers,

Antti

View solution in original post

0 Kudos
3 Replies
JensBuchta
Occasional Contributor

How did you create the Runtime Geodatabase?

If it was created by the export function in ArcMap, it's read-only.

You have to create the Geodatabase using the Tasks.Offline namespace in combination with ArcGIS Online / ArcGIS for Server.

0 Kudos
AnttiKajanus1
Regular Contributor II

It sounds like the user doesn't have permission to create new features to that service or service doesn't allow updates/creates.

  • Check that FeatureService that is used has necessary capabilities enabled
  • Check that user has permission to do so
  • Check that user is authenticated correctly

If these doesn't help, could you provide small reproducer?

Cheers,

Antti

0 Kudos
RonVincent
Occasional Contributor

I just found out that this data came from a Map Service, not a feature service which is the cause of the error.

0 Kudos