Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a WPF FeatureLayer backed by an ArcSDE feature class that I hope to use for editing. After the layer is done initializing its readOnly property is true, I think that this points to some problem with the ArcSDE setup but I can't figure out what it could be.

I've verified that the connection is working, inspecting the FeatureLayer shows that it has downloaded the remote table name. The post installation setup for ArcSDE had no trouble, same with creating some empty feature classes, adding them to an mxd file and using it to host a feature service. Is there any other setup I may have missed?

Thanks!

share|improve this question
    
Is it registered with the GeoDatabase (Use ArcCatalog to verify this) –  Ragi Yaser Burhum Jun 23 '11 at 3:03
    
Just a hunch, is the feature layer in question versioned? –  ujjwalesri Jun 23 '11 at 4:28
    
you can edit non-versioned tables using non-versioned editing. –  Ragi Yaser Burhum Jun 23 '11 at 6:52
    
@ujjwalesri : It's definitely not a versioned layer. –  TestSubject Jun 23 '11 at 21:33
    
@Ragi Yaser Burhum : The feature classes appear under the database connection item in ArcCatalog, is this what you mean? My impression was that with SDE, Arc's 'geodatabase' jargon just refers to the RDB holding all your data. Thanks. –  TestSubject Jun 23 '11 at 21:41

1 Answer 1

up vote 2 down vote accepted

Alright, so I discovered what this issue was. Feature services and map services have different URLs to access them on the server, and I was using a map service URL from an earlier version of the project to initialize my feature layer. Oops.

http://mysite.mydomain.com/ArcGIS/rest/services/mymap/MapServer/0
http://mysite.mydomain.com/ArcGIS/rest/services/mymap/FeatureServer/0

It was ESRI's interactive SDK examples for feature layer editing that clued me in (though it took a few looks to notice the tiny change in the URL!). The various services and URls are documented on ESRI's site too.

share|improve this answer
    
+1 Good answer. If you like it too, go ahead an mark it as "accepted". –  Kirk Kuykendall Jun 27 '11 at 20:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.