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/a...00000w7000000/
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 ?