Hi Leo Donahue,
I am using the FileGDB.The following is the code which is failing for me with the case in getting the state of the NetworkDataset as such which gives the information of it.Like whether it is built(or)unbuilt(or)unknown.
INetworkDataset nds = naContext.getNALocator.getNetworkDataset();
int state = nds.getState();
However I will try with code post like instead of getting the state of the NetworkDataset through naLocator reference I will make like to get the state of it from directly getting the NetworkDataset through the naContext.
Thanks in Advance
Pavan,
Can you show us how you are creating your NAContext?
Are you setting the LocatorByRef to a INALocator?
And you have added a LocatorAgent?
How did you bind the NetWorkDataset to your INALocatorAgent?
correction: it goes all the way back to how you instantiated your NetworkDataset. Did you use NetworkDatasetFDExtension and IDatasetContainer ?
This is probably where it starts since your error indicates an unknown source.
The following is the Exception I am getting.
AutomationException: 0x80004001 - Not implemented
at com.esri.arcgis.interop.Dispatch.vtblInvoke(Unknown Source)
at com.esri.arcgis.geodatabase.INetworkDatasetProxy.getState(Unknown Source).
Pavan's original post:
Oh. I thought that was because of missing debug symbols: