AnsweredAssumed Answered

Error with ArcEngine 10.3 Mapping

Question asked by askltd on Jan 12, 2015
Latest reply on Sep 22, 2015 by FGibson-esristaff

I have just move over to Arc Engine 10.3 from 10.2 and re-compiled the software, but I am now getting an error being thrown up when trying to create A GDB File.

I am using the following code, it create the blank File GDB Database but when it comes to the workspaceFactory.Open instruction it throws up a COM Exception error of 0x80040228



IWorkspaceName workspaceName;


            propertySet = new PropertySetClass();

            workspaceFactory = new FileGDBWorkspaceFactory();



            DirectoryInfo di = new DirectoryInfo(directory + @"\" + fileName + ".gdb");

            if (di.Exists)






                workspaceName = workspaceFactory.Create(amsDir, fileName + ".gdb", null, 0);




            propertySet.SetProperty("DATABASE", amsDir + @"\" + fileName + ".gdb");

            workspace = workspaceFactory.Open(propertySet, 0);


            IWorkspaceEdit workspaceEdit = (IWorkspaceEdit)workspace;




Under the license I am using the same as the 10.2 version ( ArcEngine & ArcEngine Enterprise GeoDatabase )

The ArcGIS administrator is showing that I have the EDN Subscription covering 10.3


I need a solution ASAP.


Paul Cole