editor.StartEditing(workspace) crashes ArcMap

Discussion created by sholyoak on May 22, 2012
Latest reply on May 29, 2012 by sholyoak
I have a desktop addin I've built to copy features from one feature class to another.  I've built other addins before that I get my SDE workspace and start editing it.  I have no problems with those.  For whatever reason, though, this add in crashes arcmap when I call

The workspace is a valid workspace, the user has edit privileges, and like I said, I'm using the same code in other add ins and it's working.  Is there some setting somewhere that I set wrong that is causing this?  I'm about ready to start over and recreate the add in.  Any help will be appreciated.  Thanks.