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)
{
}
else
{
workspaceName = workspaceFactory.Create(amsDir, fileName + ".gdb", null, 0);
}
propertySet.SetProperty("DATABASE", amsDir + @\ + fileName + ".gdb");
workspace = workspaceFactory.Open(propertySet, 0);
IWorkspaceEdit workspaceEdit = (IWorkspaceEdit)workspace;
workspaceEdit.StartEditing(true);
workspaceEdit.StartEditOperation();
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