I am attempting to use ArcObjects to add a feature class to an existing replica as outlined in the code sample provided via http://resources.esri.com/help/9.3/ArcGISDesktop/dotnet/da79f58c-971a-454e-bc52-974c2c47e26a.htm#Overview. After compiling the code, ArcMap launches and I am able to add the button however, the following error is thrown: System.Runtime.InteropServices.COMException: 'Exception from HRESULT: 0x80042601'. The ArcObjects error code would convert to -2147211775 though when searching, this returns no results.
Have you confirmed that both workspace and replicaname are both valid and point to locations that exist, there appears to be not testing and error trapping in your code?
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.