Hello, I started a thread on the forum yesterday similar to what you are describing. Did you get any error messages (I get an MgResourceBusyException) ? After I try to delete or update a feature I also not succeed anymore to insert features. Only after a restart of mgserver I can insert features again. My code was working fine with MGOS 1.2.
J Manafi wrote: > > I am having a very similar problem. We are digitizing layers and storing > temporary feature sources in the session repository, and I, too, cannot > delete or update our temp. layers, but I can insert new features. I > checked the readonly flag, but it was already set to FALSE, and my > attempts at updating features are very similar programatically to the > posts I have already come across. We are able to do a mass deletion, > however, and delete all temporary layers from the map, but I have been > unsuccessful in trying to delete a singular feature from specific layers. > Has anyone been able to make any progress on this topic?<br> > > mitcha wrote: >> >> hello everybody, >> >> i need help!!! i try tu update and delete a feature source (sdf file), >> but it doesn't work! instead inserting new data into feature source work >> very well! i searched for solutions in this forum and i found some >> similar problems. >> >> So I first tried to set the readonly flag of the schema to false with the >> mapagent. now the xml presentation looks like this: >> >> <FeatureSource xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd"> >> <Provider>OSGeo.SDF</Provider> >> <Parameter> >> <Name>File</Name> >> <Value>%MG_DATA_FILE_PATH%userPoints2.sdf</Value> >> </Parameter> >> <Parameter> >> <Name>ReadOnly</Name> >> <Value>FALSE</Value> >> </Parameter> >> </FeatureSource> >> >> But it doesn't work!!! >> >> furthermore i tried to set the identity property to readonly="false" with >> the help of Fdo2Fdo. But it doesn't work, too. i always get an error >> message. Could this be my fault? can i change this value of the identity >> property? >> . . . >> > > -- View this message in context: http://www.nabble.com/can%27t-update-and-delete-from-feature-source-but-insert-works-tp12233926s16610p16485878.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
