arnaud31

IDatasetContainer2.CreateDataset fails with ArcObjects 10.1

Discussion created by arnaud31 on Jul 30, 2013
Latest reply on Sep 4, 2013 by arnaud31
Hello,

I have a small application used to check and generate network, created with the help of the following tutorial:
http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/How_to_create_a_network_dataset/0001000000w7000000/

It worked just fine with ArcGIS 10, but since I had to upgrade to 10.1, the application fails on this line:
INetworkDataset networkDataset = (INetworkDataset)datasetContainer2.CreateDataset(deDataset);


The error code is "System.Runtime.InteropServices.COMException was unhandled Message=Exception from HRESULT:
0x80042262", which really isn't helpful. Is there something new I could have missed, or some help on what could cause such an error ?

Outcomes