Solved! Go to Solution.
IWorkspaceFactory pWorkspaceFactory = new FileGDBWorkspaceFactory();
IWorkspaceFactory pWorkspaceFactory = new FileGDBWorkspaceFactory();
IWorkspaceFactory pWorkspaceFactory = new FileGDBWorkspaceFactory();
You should never use New to instantiate an instance of a singleton object. Use the Activator class instead. See the following help topic for more info.
http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/#/Interacting_with_singleton_objec...