rrecoba

Error editing features...

Discussion created by rrecoba on May 4, 2010
Latest reply on May 4, 2010 by rrecoba
Hi, i have a problem trying to edit a feature.
I have  a custom form for editing features (like EditingUsingCustomForm sample that comes with developer kit)

This is the error i get:

Error HRESULT E_FAIL has been returned from a call to a COM component.
ErrorCode = -2147467259


In the sentence:

mEditor.StartEditing(((IDataset)featurelayer.FeatureClass).Workspace, mMap);

I´m working with a personal geodatabase, and the problem only happen when i load a mxd file. If i simply connect to the server, add the featurelayer, works perfect !

Any idea whats happening? what could be wrong with the mxd ?

Thanks

Outcomes