Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

IDatasetContainer2.CreateDataset fails with ArcObjects 10.1

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

It worked just fine with ArcGIS 10, but since I had to upgrade to 10.1, the application fails on this line:
Code:

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 ?

Viewing all articles
Browse latest Browse all 1374

Trending Articles