Deleting Feature Data Problems

Adam Herbert adam at aemsaustralia.com.au
Tue Sep 19 01:36:02 EDT 2006


Hi,

 

I am not sure if this is a bug or my error but when I try to use:

 

Dim deleteFilter As String = "PRIMARYINDEX = " & objectId

actionCommands.Add(New MgDeleteFeatures("actions", deleteFilter))

' Execute the "delete" commands

featureService.UpdateFeatures(resourceIdentifier, actionCommands, False)

 

My MgServer service dies and I have to restart it. Also the feature is
not deleted from the feature source. 

 

I am successfully using MgInsertFeatures against this feature source so
I don't think it is a permissions issue. Anyway any ideas would be
greatly appreciated.

 

Regards,

Adam Herbert
IT Manager
AEM Solutions Pty Ltd
PO Box 514, Toowoomba Q. 4350
Phone: 07 4613 0455
Cell: 0437 599 907
Website: www.aemsaustralia.com.au <http://www.aemsaustralia.com.au> 

Important Disclaimer and Warning

AEMS does not represent or warrant that any attached files are free from
computer viruses or other defects. The attached files are provided, and
may only be used, on the basis that the user assumes all responsibility
for any loss, damage or consequences resulting directly or indirectly
from use of the attached files. The liability of AEMS in any event is
limited to either the re-supply of the attached files or the cost of
having the attached files re-supplied.

NOTE: The views expressed by the individual in this message do not
necessarily reflect those of the organisation.

AEMS is committed to protecting the privacy of individuals, and is bound
by the principles of the Commonwealth Privacy Act (1988).

The information contained in this message is confidential and may be
legally privileged. The message is intended solely for the addressee(s).
If you are not the intended recipient, you are hereby notified that any
use, dissemination, or reproduction is strictly prohibited and may be
unlawful. If you are not the intended recipient, please contact the
sender by return e-mail and destroy all copies of the original message.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide_users/attachments/20060919/f87781af/attachment.html


More information about the Mapguide_users mailing list