Recently we upgraded to version 10. I was following the example at http://edndoc.esri.com/arcobjects/9.2/NET/06443414-d0a7-455d-a199-dfd49aca7d98.htm to create a shapefile-based Network Dataset. Everything ran fine until we did the upgrade. Once it got to the line "INetworkDataset networkDataset = (INetworkDataset)datasetContainer2.CreateDataset(deDataset);" then I got an error message "COMException was unhandled". Did anything change between versions 9.3 and 10 that would cause this code to not work anymore?
My zip file would not upload because it was too large. If you need to see the code, I can e-mail it to you.